src/Builder4/Editor.bjs
[app.Builder.js] / src / Builder4 / Editor.vala
index 7f73367..ced4602 100644 (file)
@@ -550,7 +550,7 @@ public class Editor : Object
             
                 // assume it's gtk...
                    this.check_running = true;
-        
+         
                  if (!_this.window.windowstate.valasource.checkPlainFileSpawn(
                   _this.file,
                    str
@@ -575,6 +575,7 @@ public class Editor : Object
                 this.check_running = false;
                 print("calling validate javascript\n"); 
                 return this.highlightErrors(p.validateJavascript(
+                       _this.window.windowstate,
                     str, 
                      _this.key, 
                     _this.ptype,