Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: extend word selection by words #18

Open
eMBee opened this issue Nov 22, 2018 · 3 comments
Open

enhancement: extend word selection by words #18

eMBee opened this issue Nov 22, 2018 · 3 comments

Comments

@eMBee
Copy link

eMBee commented Nov 22, 2018

when double clicking to select a word, the selection can be extended by moving the mouse. it would be neat if in that case the extended selection includes the whole word at the position where the mouse has been moved to.

that would make it much easier to select sentences or phrases because i can double-click the first word and quickly move to the last word, not needing to fine tune to actually position at the end of the word.

@lxsang
Copy link
Owner

lxsang commented Nov 22, 2018

I don't really understand the extended selection behavior that you described.
For now, one can double-click a word to select it, click again that world will select the entire line. Triple-click a word also select the line.
One behavior that I found in native terminal applications is that you double-click to select the first word, hold SHIFT, then click on the last word, the selection will be extended accordingly. For now, PTerm does not support this behavior just yet This behaviour should also work in PTerm

@lxsang
Copy link
Owner

lxsang commented Nov 22, 2018

I can confirm that double click on a word, then holding SHIFT and click to another word, will extend the selection on PTerm

@eMBee
Copy link
Author

eMBee commented Nov 22, 2018

it will extend the selection even without shift.
but character by character.
what i mean is to select word by word.

in firefox the selection works like this. double-click on a word, then move the cursor, it adds the next whole word to the selection, and continues adding word by word, not character by character.

so if i double click on the word "extend" then move over to the word "selection", positioning the cursor near the "l", oh pterm the selection will be "extend the sel"
in firefox the complete selection will be "extend the selection"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants