Skip to content
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

Implement more sane caret behavior #270

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cristeigabriel
Copy link

This implements a more sane behavior for caret movements, particularly for the Ctrl+Left/Ctrl+Right commands. This is somewhat similar to Notepad's, but better.

If you're hovering over a character that can be part of an address, we will progress one way or the other with the caret, until there's a character that's not part of the aforementioned predicate. The exception are the start or end of the textbox.

This is useful to quickly go over arithmetic, remove '`' from addresses that you get from WinDbg, etc.

It would probably be good to also implement Ctrl+Shift variation for Left+Right, and Ctrl+Backspace. I'm willing to do it if that's wanted (I may anyway, eventually).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant