#include "lyxfind.h"
#include "buffer.h"
+#include "cursor_slice.h"
#include "BufferView.h"
#include "debug.h"
#include "iterators.h"
using lyx::support::uppercase;
using lyx::support::split;
-using bv_funcs::put_selection_at;
-
using std::ostringstream;
using std::string;
}
}
pos_type length = end - pos;
- put_selection_at(bv, cur, length, true);
+ bv->putSelectionAt(cur, length, true);
return true;
}
: findBackwards(cur, beg, match);
if (found)
- put_selection_at(bv, cur, searchstr.length(), !fw);
+ bv->putSelectionAt(cur, searchstr.length(), !fw);
return found;
}
PosIterator beg = buf.pos_iterator_begin();
bv->text()->init(bv);
- put_selection_at(bv, beg, 0, false);
+ bv->putSelectionAt(beg, 0, false);
if (num)
buf.markDirty();
return num;