commit 63f980bc040581d6ac0f25a8521978afae1ed316
Author: Scott Kostyshak <skost...@lyx.org>
Date:   Fri Jun 13 09:43:26 2014 -0400

    Backport 'select word on double click 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).
    
    Backported from bcbc162.

diff --git a/src/Text3.cpp b/src/Text3.cpp
index 41e47a5..5231391 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -1514,7 +1514,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;
diff --git a/status.21x b/status.21x
index 46333c2..7b7e6d2 100644
--- a/status.21x
+++ b/status.21x
@@ -63,6 +63,7 @@ What's new
 * USER INTERFACE
 
 - Do not forget last words of paragraphs in completion possibilities.
+- Select word on double click even when at boundary (#9159).
 
 
 * INTERNALS

Reply via email to