X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2FBuilder4%2FWindowRooView.vala;h=5996176cf0736c8ba40e0f36d5778fecf5372f85;hb=497a66cfff975b566b929d3496d160ac6321fe02;hp=fdd2915be69deea043c9e004c56954800bb8b906;hpb=2ae25a5fe751a6f8ae098025ec15bb83e3b2e371;p=app.Builder.js diff --git a/src/Builder4/WindowRooView.vala b/src/Builder4/WindowRooView.vala index fdd2915be..5996176cf 100644 --- a/src/Builder4/WindowRooView.vala +++ b/src/Builder4/WindowRooView.vala @@ -1135,6 +1135,9 @@ public class Xcls_WindowRooView : Object this.node_selected = sel; this.updateGreySelection(scroll); + + + } public string toString () { Gtk.TextIter s; @@ -1190,14 +1193,18 @@ public class Xcls_WindowRooView : Object 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; }); @@ -1465,7 +1472,6 @@ public class Xcls_WindowRooView : Object "", // _this.key, "file", //_this.ptype, _this.file, - null, null );