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

src/Builder4/GtkView.bjs
src/Builder4/GtkView.vala

index 0dbc0b0..63e922d 100644 (file)
             "    sbuf.get_bounds (out start, out end);",
             "    sbuf.remove_source_marks (start, end, \"grey\");",
             "    ",
-            "    ",
+            "        this.node_selected = sel;",
             "     if (sel == null) {",
             "        // no highlighting..",
             "        return;",
index 589f3e5..d9d5b35 100644 (file)
@@ -772,7 +772,7 @@ public class Xcls_GtkView : Object
             sbuf.get_bounds (out start, out end);
             sbuf.remove_source_marks (start, end, "grey");
             
-            
+                this.node_selected = sel;
              if (sel == null) {
                 // no highlighting..
                 return;