I just discovered something. I knew you can double click on a word and drag to 
start selecting by whole words, and this works across many apps.

But on my Linux Mint 21.2 system, Geany seems to be unique in allowing the 
following:
* Click and drag on a word character, hovering over another word character
* Then release and immediately click again
Geany will extend the selection to include the whole of any partially selected 
words.

I expect the behaviour is part of Scintilla, anyone have more details, when it 
was added? I expect it isn't documented in Geany's manual.

This is useful when you start a normal selection and either:
* you can't be bothered to double click (I avoid it sometimes as you have to be 
more precise (and I think push harder) with your finger and ensure you get the 
timing right than a single click)
* after selecting most of the text you want, you want to switch to whole-word 
selection mode rather than keep dragging and be precise about where you release 
the mouse button.

So this gives another way to reduce the distance you have to move the mouse 
besides the initial double clicking method.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3693
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/repo-discussions/[email protected]>

Reply via email to