public int pos_root_y;
public string ptype;
public string key;
+ public Gtk.SourceSearchContext searchcontext;
public JsRender.JsRender file;
public bool pos;
public bool dirty;
var s = new Gtk.SourceSearchSettings();
- var sctx = new Gtk.SourceSearchContext(this.buffer,s);
+ var sctx = new Gtk.SourceSearchContext(this.buffer.el,s);
sctx.set_highlight(true);
s.set_search_text(txt);
-
+ while (sctx.get_occurence_position(st, en)> -1) {
var ret = new Gee.ArrayList<int>();