]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.C
last Friday's text*.C -> text_func shuffle
[lyx.git] / src / BufferView_pimpl.C
index 9088f5c681f236a03e43f726106beb93304d1569..e2892808d5d2cced7a3f62df0910de98dea93b9a 100644 (file)
@@ -1259,7 +1259,7 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev_in)
                        // FIXME
                        if (arg.size() > 100 || arg.empty()) {
                                // Get word or selection
-                               bv_->getLyXText()->selectWordWhenUnderCursor(LyXText::WHOLE_WORD);
+                               bv_->getLyXText()->selectWordWhenUnderCursor(lyx::WHOLE_WORD);
                                arg = bv_->getLyXText()->selectionAsString(buffer_, false);
                                // FIXME: where is getLyXText()->unselect(bv_) ?
                        }