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
unify visual line handling #5803
Conversation
my sense is that There's an |
IIUC Cmd only exist on macs so this should not have effect on non-macs.
I can try, but as I understand it |
codemirror demo: http://codemirror.net/demo/indentwrap.html |
From the dev meeting this should be tested on a non-osx machine and we might want to bring the default upstream in codemirror. |
This demo is Codemirror 4.1, I do not know if it is the same in Codemirror 3... I suppose it is, just saying if you see some inconsistencies... |
Dev meeting: Just check on Windows, then merge. |
Seems to behave sensibly on Windows. Merging. |
Extra change on top of @ivanov pr #5768 to have more consistent handling of visual lines. In a long wrapped line End/Cmd-Right will go to the end of the visual line which seem more logical. Cmd-Left beginning of line. I did note rebind Ctrl-Left because there is already custom logic in code mirror for "smart" beginning of line.
unify visual line handling
Extra change on top of @ivanov pr #5768 to have more consistent handling of visual lines.
In a long wrapped line End/Cmd-Right will go to the end of the visual line which seem more logical.
Cmd-Left beginning of line. I did note rebind Ctrl-Left because there is already custom logic in code mirror for "smart" beginning of line.