-
Notifications
You must be signed in to change notification settings - Fork 152
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
Support word/line deletion #169
Comments
Thanks for opening. This should definitely be added. |
I wonder if the standard behaviour is documented anywhere, or if there are other projects which do this we can crib from. It's not a simple as "delete up to the closest whitespace character" unfortunately. Certain non-whitespace characters (eg Quick experiment results, where
Possibly "just" a case of coming up with a whitelist of characters to treat as separators or not. |
Interesting. I also found this apple doc that shows some other common movement commands. |
Cool, that's hopefully fairly straightforward then. I'll take a stab at it tomorrow as it's probably a good task to get my head around section editing etc… |
The same goes for |
the word and line cursor movements are implemented as of v0.10.0. Supporting option-delete is in progress... |
…169 * Add `Position#moveWord` * Refactor EventManager's modifier key down/up tracking to include alt and ctrl * Add Position#isHeadOfPost and Position#isTailOfPost
…169 * Add `Position#moveWord` * Refactor EventManager's modifier key down/up tracking to include alt and ctrl * Add Position#isHeadOfPost and Position#isTailOfPost
…169 * Add `Position#moveWord` * Refactor EventManager's modifier key down/up tracking to include alt and ctrl * Add Position#isHeadOfPost and Position#isTailOfPost
Add support for word deletion on Mac (opt+del) and PC (ctrl+del) ref #169
option
+backspace
on OSX should delete the word to the left, this isctrl
+backspace
on Windows & Linux IIRC.Likewise
cmd
+backspace
on OSX should delete to the start of the line, I'm not sure what the Windows/Linux shortcut for this is…The text was updated successfully, but these errors were encountered: