-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Cmd+Shift+Left/Right selects from cursor to start/end of line (OS X) #3291
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
Conversation
... X). Instead of selecting the entire line.
I would assume @Lauszus was just being imprecise and actually meant "select
the entire line from the cursor", i.e. what this pull request does.
Selecting the entire line is definitely not the standard OS X behavior.
On Fri, Jun 5, 2015 at 3:34 AM, Federico Fissore notifications@github.com
wrote:
This conflicts with #3238 #3238
where cmd+shift+arrow was requested to select the entire line. Stolen a mac
from a colleague, I saw @damellis https://github.com/damellis behaviour
is what TextEdit does. @Lauszus https://github.com/Lauszus, can you
please comment?—
Reply to this email directly or view it on GitHub
#3291 (comment).
@damellis yes I was just imprecise. This PR is the correct behaviour!
Cmd+Shift+Left/Right selects from cursor to start/end of line (OS X)
Thanks!
On Mon, Jun 8, 2015 at 2:54 AM, Federico Fissore notifications@github.com
wrote:
—
Reply to this email directly or view it on GitHub
#3291 (comment).
Instead of selecting the entire line. This brings it closer to the standard / expected behavior on OS X (and matches what I see in Processing 3.0a9).
After applying this commit, the behavior is still slightly different than what you see in other OS X applications, but I think it's close enough. (The standard behavior is for the cursor to disappear once there's a selection, at which point Cmd+Shift+Left/Right/Up/Down always adds to the current selection, as opposed to moving the active end of the current selection, which can either add to or subtract from the selection. Weirdly, though, Shift+Left/Right/Up/Down Alt+Shift+Left/Right/Up/Down move the active end of the selection, rather than always adding to it.) If you wanted to get any closer to the standard behavior, you'd probably need to hide the cursor while text was selected, and I'm not sure if it's worth it.