src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 24 Mar 2024 03:05:43 +0000 (11:05 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 24 Mar 2024 03:05:43 +0000 (11:05 +0800)
src/Builder4/Editor.vala

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

index 208c140..11c45af 100644 (file)
                "(n_press, x, y) => {",
                "\tGtk.TextIter iter;",
                "",
-               "\tvar gut = _this.view.el.get_gutter(Gtk.TextWindowType.TEXT);",
+               "\tvar gut = _this.view.el.get_gutter(Gtk.TextWindowType.LEFT);",
                "\t",
                "\t ",
                "\t_this.view.el.get_iter_at_location (out  iter,  ",
index 1fa0e01..bff3735 100644 (file)
@@ -1317,7 +1317,7 @@ public class Editor : Object
                        this.el.pressed.connect( (n_press, x, y) => {
                                Gtk.TextIter iter;
                        
-                               var gut = _this.view.el.get_gutter(Gtk.TextWindowType.TEXT);
+                               var gut = _this.view.el.get_gutter(Gtk.TextWindowType.LEFT);
                                
                                 
                                _this.view.el.get_iter_at_location (out  iter,