}
}
- 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);
}
return false; // fake syntax error.
}
-
+ //Gee.HashMap<int,string> ret_x;
return p.javascriptHasErrors(
_this.main_window.windowstate,
str,
"", // _this.key,
"file", //_this.ptype,
- _this.file,
+ _this.file,
null
);