src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Sat, 23 Mar 2024 07:42:50 +0000 (15:42 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 23 Mar 2024 07:42:50 +0000 (15:42 +0800)
src/Builder4/Editor.vala

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

index 85895cc..f740fab 100644 (file)
                  "listeners" : {
                   "items_changed" : [
                    "(position, removed, added) => {",
-                   "",
+                   "\tGLib.debug(\"tree item changed\");",
+                   "\tvar ds = (Lsp.DocumentSymbol) this.el.get_item(position);",
+                   "\tvar row = this.el.get_row(position);",
+                   "\t",
                    "",
                    "}",
                    ""
index 0c0ee6a..8f2e92c 100644 (file)
@@ -2242,7 +2242,10 @@ public class Editor : Object
 
                        //listeners
                        this.el.items_changed.connect( (position, removed, added) => {
-                       
+                               GLib.debug("tree item changed");
+                               var ds = (Lsp.DocumentSymbol) this.el.get_item(position);
+                               var row = this.el.get_row(position);
+                               
                        
                        });
                }