using lyx::support::uppercase;
using lyx::support::split;
-using lyx::par_type;
+using lyx::pit_type;
using lyx::pos_type;
using std::advance;
}
pos_type length = end - pos;
bv->putSelectionAt(cur, length, false);
+ // if we used a lfun like in find/replace, dispatch would do
+ // that for us
+ bv->update();
+ if (bv->fitCursor())
+ bv->update();
return true;
}