src/Builder4/WindowRooView.bjs
authorAlan <alan@roojs.com>
Thu, 18 Aug 2022 10:45:16 +0000 (18:45 +0800)
committerAlan <alan@roojs.com>
Thu, 18 Aug 2022 10:45:16 +0000 (18:45 +0800)
src/Builder4/WindowRooView.vala

src/Builder4/WindowRooView.bjs
src/Builder4/WindowRooView.vala

index 182b83a..c0ad40f 100644 (file)
     "\tthis.buffer.el.place_cursor(st);",
     "\tthis.sourceview.el.scroll_to_iter(st,  0.1f, true, 0.0f, 0.5f);",
     "\tvar ln = st.get_line();",
-    "\t",
+    "\tthis.highlightNodeAtLine(ln);",
     "\t",
     " ",
     "}",
index 9bedfbd..4ff5e1f 100644 (file)
@@ -258,7 +258,7 @@ public class Xcls_WindowRooView : Object
        this.buffer.el.place_cursor(st);
        this.sourceview.el.scroll_to_iter(st,  0.1f, true, 0.0f, 0.5f);
        var ln = st.get_line();
-       
+       this.highlightNodeAtLine(ln);
        
      
     }