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

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

index 16154bf..93898c1 100644 (file)
                  "listeners" : {
                   "items_changed" : [
                    "(position, removed, added) => {",
-                   "\tGLib.debug(\"tree item changed %d , %d , %d\", position, removed,  added);",
+                   "\tGLib.debug(\"tree item changed %d , %d , %d\",(int) position, removed,  added);",
                    "\t return;",
                    "\t//var sym = (Lsp.DocumentSymbol) this.el.get_item(position);",
                    "\tvar row = this.el.get_row(position);",
index 0de4507..839c9a1 100644 (file)
@@ -2231,7 +2231,7 @@ public class Editor : Object
 
                        //listeners
                        this.el.items_changed.connect( (position, removed, added) => {
-                               GLib.debug("tree item changed %d , %d , %d", position, removed,  added);
+                               GLib.debug("tree item changed %d , %d , %d",(int) position, removed,  added);
                                 return;
                                //var sym = (Lsp.DocumentSymbol) this.el.get_item(position);
                                var row = this.el.get_row(position);