src/Builder4/WindowRooView.bjs
[app.Builder.js] / src / Builder4 / WindowRooView.vala
index b63aaa7..c0e146f 100644 (file)
@@ -1370,17 +1370,17 @@ public class Xcls_WindowRooView : Object
             
             if (str.length < 1) {
                 print("checkSyntax - empty string?\n");
-                return true;
+                return false;
             }
             
            if (_this.file == null) {
-               return true;
+               return false;
            }
             var p = Palete.factory(_this.file.xtype);  // returns Roo | Gtk  | PlainFile 
             
          
             if (_this.file.language != "js") {
-                       return;
+                       return false; // no syntax.
                }