"\t\t_this.navliststore.el.append(sym);",
"\t}",
"\tGLib.Idle.add(() => {",
- "\t\tGLib.debug(\"idle update scroll\");",
+ "",
"\t\tGtk.TextIter iter;",
"\t\t_this.buffer.el.get_iter_at_offset (",
"\t\t\t\tout iter, _this.buffer.el.cursor_position);",
+ "\t\t",
+ "\t\tGLib.debug(\"idle update scroll %d, %d\".iter.get_line(),",
+ "\t\t\t\titer.get_line_offset());",
"\t\tthis.updateSelectedLine(",
"\t\t\t\t(uint)iter.get_line(),",
"\t\t\t\t(uint)iter.get_line_offset()",
_this.navliststore.el.append(sym);
}
GLib.Idle.add(() => {
- GLib.debug("idle update scroll");
+
Gtk.TextIter iter;
_this.buffer.el.get_iter_at_offset (
out iter, _this.buffer.el.cursor_position);
+
+ GLib.debug("idle update scroll %d, %d".iter.get_line(),
+ iter.get_line_offset());
this.updateSelectedLine(
(uint)iter.get_line(),
(uint)iter.get_line_offset()