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

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

index fd4b058..377fac0 100644 (file)
             "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,
+           "bool dirty" : false,
            "id" : "buffer",
            "int error_line" : "-1",
            "|   string toString" : "  () {\n    \n    Gtk.TextIter s;\n    Gtk.TextIter e;\n    this.el.get_start_iter(out s);\n    this.el.get_end_iter(out e);\n    var ret = this.el.get_text(s,e,true);\n    //print(\"TO STRING? \" + ret);\n    return ret;\n}\n ",
            "* pack" : "set_buffer",
            "xtype" : "SourceBuffer",
            "bool check_running" : false,
-           "$ xns" : "Gtk",
-           "bool XXX" : true
+           "$ xns" : "Gtk"
           }
          ]
         }
index 006a682..42defa2 100644 (file)
@@ -1345,9 +1345,9 @@ public class Xcls_WindowRooView : Object
 
             // my vars (def)
         public bool check_queued;
+        public bool dirty;
         public int error_line;
         public bool check_running;
-        public bool XXX;
 
         // ctor
         public Xcls_buffer(Xcls_WindowRooView _owner )
@@ -1358,9 +1358,9 @@ public class Xcls_WindowRooView : Object
 
             // my vars (dec)
             this.check_queued = false;
+            this.dirty = false;
             this.error_line = -1;
             this.check_running = false;
-            this.XXX = true;
 
             // set gobject values