From: Lorenz Wildberg Date: Tue, 27 Sep 2022 18:05:59 +0000 (+0200) Subject: vala: Replace '.' with ':' in SourceReference.to_string() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a692cea5430b4dae1c80d19eef6ba55025c8946e;p=thirdparty%2Fvala.git vala: Replace '.' with ':' in SourceReference.to_string() This makes it possible to click on the file path and let the location being opened in the editor. --- diff --git a/vala/valasourcereference.vala b/vala/valasourcereference.vala index d0680f705..4fcd00e56 100644 --- a/vala/valasourcereference.vala +++ b/vala/valasourcereference.vala @@ -84,6 +84,6 @@ public class Vala.SourceReference { * @return human-readable string */ public string to_string () { - return ("%s:%d.%d-%d.%d".printf (file.get_relative_filename (), begin.line, begin.column, end.line, end.column)); + return ("%s:%d:%d-%d:%d".printf (file.get_relative_filename (), begin.line, begin.column, end.line, end.column)); } }