mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Select word on double click even when at boundary
Now when double clicking on a boundary of a word, the word is selected. This also causes single-letter words to now be selected (fixes #9159).
This commit is contained in:
parent
01ba22efff
commit
bcbc162665
@ -1538,7 +1538,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
|
||||
case LFUN_MOUSE_DOUBLE:
|
||||
if (cmd.button() == mouse_button::button1) {
|
||||
selectWord(cur, WHOLE_WORD_STRICT);
|
||||
selectWord(cur, WHOLE_WORD);
|
||||
bv->cursor() = cur;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user