src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 14:40:25 +0000 (22:40 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 14:40:25 +0000 (22:40 +0800)
src/Builder4/Editor.vala

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

index 1a72546..198d869 100644 (file)
                "\tvar gut = _this.view.el.get_gutter(Gtk.TextWindowType.LEFT);",
                "\t",
                "\t _this.view.el.window_to_buffer_coords (Gtk.TextWindowType.TEXT,",
-               "\t\t (int)x - gut.get_width(),  (int)y,",
-               "\t  out  buffer_x, out  buffer_y);",
+               "\t\t(int)x - gut.get_width(),  (int)y,",
+               "  \t\tout  buffer_x, out  buffer_y);",
                "\t_this.view.el.get_iter_at_location (out  iter,  ",
                "\t\t\tbuffer_x,  buffer_y);;",
                "\t",
index 7ec122c..feb5997 100644 (file)
@@ -1320,8 +1320,8 @@ public class Editor : Object
                                var gut = _this.view.el.get_gutter(Gtk.TextWindowType.LEFT);
                                
                                 _this.view.el.window_to_buffer_coords (Gtk.TextWindowType.TEXT,
-                                        (int)x - gut.get_width(),  (int)y,
-                                 out  buffer_x, out  buffer_y);
+                                       (int)x - gut.get_width(),  (int)y,
+                                       out  buffer_x, out  buffer_y);
                                _this.view.el.get_iter_at_location (out  iter,  
                                                buffer_x,  buffer_y);;