-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[CLOSED] Command-Shift-Arrow Selects Entire Line in Word Wrap Mode #3697
Comments
Same issue with Home & End -- CodeMirror goes to start of entire line, other editors go to start of wrapped line segment... |
File a CodeMirror issue codemirror/codemirror5#1544. |
Remove "tracking" label since Marijn said that it is by design. But we can fix it by binding Home/End (Cmd-Left/Right) to "goLineLeft"/"goLineRight" (instead of the default "goLineStart"/"goLineEnd") on our end. |
Thanks |
Yes, it is definitely a starter bug. Just have to make sure that all the different keys (on Windows and Mac) are remapped for CodeMirror keymap. |
We should do some careful testing a/o code inspection though, to make sure switching commands doesn't change any other aspects of the Home/End behavior (for example, smart home?). |
Reviewed. Low priority, to |
|
My comment about smart home above turned out to indeed be a problem. I've pinged Marijn to see if he has any suggestions for a clean way of getting both behaviors together... (Otherwise we'd have to duplicate ~10-20 lines of CM code into Editor). |
Confirmed fixed on Win and Mac. |
Wednesday May 22, 2013 at 08:44 GMT
Originally opened as adobe/brackets#3963
With a long line of text that causes word wrap to push the text to the next line when you use the Command-Shift-Left Arrow shortcut it selects the entire word-wrapped line. In Sublime Text and Text Edit that command only selects the text to the first column of that word wrapped line.
Result in Brackets when pushing Command-Shift-Left Arrow:
Result in Sublime Text when pushing Command-Shift-Left Arrow:
The text was updated successfully, but these errors were encountered: