[geany/geany] fefc3a: Explain the behavior of search keybindings regarding word boundaries (#1478)

Vasiliy Faronov git-noreply at xxxxx
Mon May 1 22:42:59 UTC 2017


Branch:      refs/heads/master
Author:      Vasiliy Faronov <vfaronov at gmail.com>
Committer:   elextr <elextr at gmail.com>
Date:        Mon, 01 May 2017 22:42:59 UTC
Commit:      fefc3a51b95c9c15193bff50c377164c8f8edc68
             https://github.com/geany/geany/commit/fefc3a51b95c9c15193bff50c377164c8f8edc68

Log Message:
-----------
Explain the behavior of search keybindings regarding word boundaries (#1478)

Fixes #1467.


Modified Paths:
--------------
    doc/geany.txt

Modified: doc/geany.txt
23 lines changed, 15 insertions(+), 8 deletions(-)
===================================================================
@@ -3556,23 +3556,30 @@ Next message                                              Jumps to the line with
 Previous message                                          Jumps to the line with the previous message
                                                           in the Messages window.
 
-Find Usage                      Ctrl-Shift-E              Finds all occurrences of the current word (near
-                                                          the keyboard cursor) or selection in all open
+Find Usage                      Ctrl-Shift-E              Finds all occurrences of the current word
+                                                          or selection (see note below) in all open
                                                           documents and displays them in the messages
                                                           window.
 
-Find Document Usage             Ctrl-Shift-D              Finds all occurrences of the current word (near
-                                                          the keyboard cursor) or selection in the current
+Find Document Usage             Ctrl-Shift-D              Finds all occurrences of the current word
+                                                          or selection (see note below) in the current
                                                           document and displays them in the messages
                                                           window.
 
 Mark All                        Ctrl-Shift-M              Highlight all matches of the current
-                                                          word/selection in the current document
-                                                          with a colored box. If there's nothing to
-                                                          find, or the cursor is next to an existing match,
-                                                          the highlighted matches will be cleared.
+                                                          word/selection (see note below) in the current
+                                                          document with a colored box. If there's nothing
+                                                          to find, or the cursor is next to an existing
+                                                          match, the highlighted matches will be cleared.
 =============================== ========================= ==================================================
 
+.. note::
+    The keybindings marked "see note below" work like this: if no text is
+    selected, the word under cursor is used, and *it has to match fully*
+    (like when `Match only a whole word` is enabled in the Search dialog).
+    However if some text is selected, then it is matched regardless of
+    word boundaries.
+
 
 Go to keybindings
 `````````````````



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list