X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText.h;h=9736981941b2b7d99c337ef195d85f512b344dcc;hb=a42f7ea7cd0e4d5d9594f363bce628451515d24b;hp=64cbb834c21bbf1ffc032920a1c6d65fbb349263;hpb=e2f3dd5f6a2b736ed457c1b13361b2892aa54338;p=lyx.git diff --git a/src/Text.h b/src/Text.h index 64cbb834c2..9736981941 100644 --- a/src/Text.h +++ b/src/Text.h @@ -171,6 +171,8 @@ public: void getWord(CursorSlice & from, CursorSlice & to, word_location const) const; /// just selects the word the cursor is in void selectWord(Cursor & cur, word_location loc); + /// expands the selection to the word the cursor is in + void expandWordSel(Cursor & cur); /// select all text void selectAll(Cursor & cur);