src/Builder4/WindowRooView.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 6 Jun 2016 08:04:30 +0000 (16:04 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 6 Jun 2016 08:04:30 +0000 (16:04 +0800)
src/Builder4/WindowRooView.vala

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

index c7b4c67..fd4b058 100644 (file)
          "items" : [
           {
            "listeners" : {
-            "changed" : " () => {\n    // check syntax??\n    // ??needed..??\n   // _this.save_button.el.sensitive = true;\n    ///?? has changed occured during loading?\n    print(\"- PREVIEW EDITOR CHANGED--\");\n    \n    \n    //this.checkSyntax();\n   \n    _this.dirty = true;\n\n\n    return ;\n}\n\n \n"
+            "changed" : " () => {\n    // check syntax??\n    // ??needed..??\n   // _this.save_button.el.sensitive = true;\n    ///?? has changed occured during loading?\n    print(\"- PREVIEW EDITOR CHANGED--\");\n    \n    \n    //this.checkSyntax();\n   \n    this.dirty = true;\n\n\n    return ;\n}\n\n \n"
            },
            "bool check_queued" : false,
            "id" : "buffer",
            "* pack" : "set_buffer",
            "xtype" : "SourceBuffer",
            "bool check_running" : false,
-           "$ xns" : "Gtk"
+           "$ xns" : "Gtk",
+           "bool XXX" : true
           }
          ]
         }
index 4d61ddf..006a682 100644 (file)
@@ -1347,6 +1347,7 @@ public class Xcls_WindowRooView : Object
         public bool check_queued;
         public int error_line;
         public bool check_running;
+        public bool XXX;
 
         // ctor
         public Xcls_buffer(Xcls_WindowRooView _owner )
@@ -1359,6 +1360,7 @@ public class Xcls_WindowRooView : Object
             this.check_queued = false;
             this.error_line = -1;
             this.check_running = false;
+            this.XXX = true;
 
             // set gobject values
 
@@ -1373,7 +1375,7 @@ public class Xcls_WindowRooView : Object
                 
                 //this.checkSyntax();
                
-                _this.dirty = true;
+                this.dirty = true;
             
             
                 return ;