resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / WindowRooView.vala
index 8fd907a..ecddd4d 100644 (file)
@@ -1338,9 +1338,10 @@ public class Xcls_WindowRooView : Object
                 }
             
             }
-            if (scroll) {
+            if (scroll && (cursor_at_line > end_line || cursor_at_line < start_line)) {
                    Gtk.TextIter cpos_iter;
                        buf.get_iter_at_line(out cpos_iter, start_line);
+                       
                        buf.place_cursor(cpos_iter); 
                }
         
@@ -1469,16 +1470,15 @@ public class Xcls_WindowRooView : Object
                        return false; // fake syntax error.
                }
                
-            Gee.HashMap<int,string> ret_x;
+            //Gee.HashMap<int,string> ret_x;
         
                return p.javascriptHasErrors(
                        _this.main_window.windowstate,
                 str, 
                  "", // _this.key, 
                 "file", //_this.ptype,
-                _this.file,
-                null,
-                ret_x
+                _this.file, 
+                null
             );    
              
         }