src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 24 Mar 2024 02:59:14 +0000 (10:59 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 24 Mar 2024 02:59:14 +0000 (10:59 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index e64018f..439b7d2 100644 (file)
                "\t\tGtk.TextWindowType.TEXT, ",
                "\t\t(int)x, (int)y, out  buffer_x, out  buffer_y",
                "\t);",
-               "",
+               "\tGLib.converted(\"%d, %d to %d %d\", ",
+               "\t\t(int)x, (int)y,  buffer_x,  buffer_y",
+               "\t\t);",
+               "\t",
                "\t_this.view.el.get_iter_at_location (out  iter,  ",
                "\t\t\tbuffer_x,  buffer_y);",
                "\tif (_this.buffer.el.iter_has_context_class(iter, \"comment\") ||",
index 56d6179..dccaf24 100644 (file)
@@ -1321,7 +1321,10 @@ public class Editor : Object
                                        Gtk.TextWindowType.TEXT, 
                                        (int)x, (int)y, out  buffer_x, out  buffer_y
                                );
-                       
+                               GLib.converted("%d, %d to %d %d", 
+                                       (int)x, (int)y,  buffer_x,  buffer_y
+                                       );
+                               
                                _this.view.el.get_iter_at_location (out  iter,  
                                                buffer_x,  buffer_y);
                                if (_this.buffer.el.iter_has_context_class(iter, "comment") ||