{
if (!available()) return;
+ LyXCursor cur = text->selection.cursor;
hideCursor();
beforeChange(text);
+ text->selection.cursor = cur;
text->selectSelectedWord(this);
toggleSelection(false);
update(text, BufferView::SELECT|BufferView::FITCUR);
+2001-08-10 Juergen Vigna <jug@sad.it>
+
+ * BufferView2.C (selectLastWord): save the selection cursor as this
+ now is cleared in the function LyXText::clearSelection!
+
2001-08-08 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
// This function is only used by the spellchecker for NextWord().
// It doesn't handle LYX_ACCENTs and probably never will.
string const LyXText::selectNextWord(BufferView * bview,
- float & value) const
+ float & value) const
{
if (the_locking_inset) {
string str = the_locking_inset->selectNextWord(bview, value);