src/Builder4/WindowRooView.bjs
[app.Builder.js] / src / Builder4 / WindowRooView.vala
index f2d1908..eed49c0 100644 (file)
@@ -1033,7 +1033,7 @@ public class Xcls_WindowRooView : Object
             });
             this.el.key_press_event.connect( () => {
                this.onCursorChanged();
-               return false;
+               return false; 
             });
         }
 
@@ -1459,13 +1459,14 @@ public class Xcls_WindowRooView : Object
                
                 
         
-               return this.highlightErrors(p.validateJavascript(
+               return p.validateJavascript(
+                       _this.main_window.windowstate,
                 str, 
                  "", // _this.key, 
                 "file", //_this.ptype,
                 _this.file,
                 null
-            ));    
+            );    
              
         }
     }