});
this.el.key_press_event.connect( () => {
this.onCursorChanged();
- return false;
+ return false;
});
}
sbuf.remove_source_marks (start, end, null); // remove all marks..
GLib.Timeout.add(500, () => {
-
- print("RESORTING cursor to = %d\n", cpos);
+
+ print("RESORTING cursor to = %d\n", cpos);
Gtk.TextIter cpos_iter;
buf.get_iter_at_offset(out cpos_iter, cpos);
buf.place_cursor(cpos_iter);
this.el.get_vadjustment().set_value(vadj_pos);;
+
+
this.onCursorChanged();
+
+
_this.buffer.checkSyntax();
return false;
});
- return this.highlightErrors(p.validateJavascript(
+ return p.javascriptHasErrors(
+ _this.main_window.windowstate,
str,
"", // _this.key,
"file", //_this.ptype,
_this.file,
null
- ));
+ );
}
}