You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Selecting text with option + shift + arrow behaves differently to other Mac apps #6485
Atom doesn't seem to follow Mac convention in certain cases. To reproduce:
Double click to highlight a word
Option + shift + left arrow
In other apps, both words are now selected.
In atom, the selection is cleared and the cursor is now at the start of the original word.
Similarly, if the 2. is replaced with command + shift + left arrow, in Atom the extended selection doesn't include the originally selected word as it would in other apps.
(This is clearly a minor issue; but it's frustrating if you're used to this pattern. Atom is fantastic overall!)
On further thought, I think the underlying issue is that when you add to a selection on other Mac editors, it's always assumed that the selection should get bigger not smaller. Atom assumes the cursor is at the start of the selection though, so if trying to select text before the original selection, the original selection disappears. Another manifestation:
Triple click a line (or hit ⌘ + l)
Shift + up arrow
In other apps, two lines are now selected - the original and the one above
In Atom, nothing is selected, and the cursor is at the start of the originally selected line
I'll add this to the quality initiative. Selection behavior should conform to expectations. We also have some subtle differences when double-click-dragging between words.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I second this issue. I use alt + shift + left arrow & right arrow all the time to extend the selection by word. I definitely think this should be fixed. Or maybe someone can explain how to enable this in the settings or create a plugin. Thanks!
Triple-clicking and "Select Line" also work "incorrectly" for a Mac app. For both, the selection should not include the newline char at the end of the line (cursor should be at the very end of the selected line).
(Would it be better to file a separate ticket, or lump Mac selection bugs together here?)
This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of Atom
Comment that the issue is still reproducible and include:
What version of Atom you reproduced the issue on
What OS and version you reproduced the issue on
What steps you followed to reproduce the issue
Issues that are labeled as triaged will not be automatically marked as stale.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
gregplaysguitar commentedon Apr 23, 2015
On further thought, I think the underlying issue is that when you add to a selection on other Mac editors, it's always assumed that the selection should get bigger not smaller. Atom assumes the cursor is at the start of the selection though, so if trying to select text before the original selection, the original selection disappears. Another manifestation:
izuzak commentedon Jul 30, 2015
Just wanted to mention that there's a similar discussion about this over at #6928 (comment) (issue which I just closed in favor of this one).
nathansobo commentedon Jul 30, 2015
I'll add this to the quality initiative. Selection behavior should conform to expectations. We also have some subtle differences when double-click-dragging between words.
stale commentedon Aug 29, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bronson commentedon Sep 12, 2017
That's too bad. This really does seem like something that should be fixed.
nathanielperales commentedon Oct 3, 2017
I second this issue. I use alt + shift + left arrow & right arrow all the time to extend the selection by word. I definitely think this should be fixed. Or maybe someone can explain how to enable this in the settings or create a plugin. Thanks!
chrisjshull commentedon Jan 27, 2018
Triple-clicking and "Select Line" also work "incorrectly" for a Mac app. For both, the selection should not include the newline char at the end of the line (cursor should be at the very end of the selected line).
(Would it be better to file a separate ticket, or lump Mac selection bugs together here?)
bronson commentedon Feb 14, 2018
triple-clicking sounds like a separate issue.
stale commentedon Feb 14, 2019
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:
Issues that are labeled as triaged will not be automatically marked as stale.
brettz9 commentedon Feb 28, 2019
This issue is really big for Mac users--being able to select whole words at a time (without the whole line) is very useful...
lock commentedon Aug 27, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!