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

Add proper support for inserting/removing characters in hex editor #155

Open
sirdarckcat opened this issue Jan 2, 2021 · 2 comments
Open

Comments

@sirdarckcat
Copy link
Member

At the moment deleting the char ascii value will delete the character.

It would be nice if we added support for inserting and deleting characters (and undoing). Would require a survey of other hex editors to see if there's a common pattern users are familiar with.

@sirdarckcat
Copy link
Member Author

sirdarckcat commented Jan 5, 2021

Some tools use a key combination to switch between insert mode and overwrite mode. Others allow the user to click on the gap between chars to insert a new one.

The key combination is a bit hard to discover, but a tab stop on the caret between chars would probably work well.

@sirdarckcat
Copy link
Member Author

So the tab stop probably would have to be:

[hex] [insert hex] ... [char] [insert char]

If the insert hex/char is a button, then the user can only insert one character at a time, which might be frustrating. On the other hand, if it's an input, it might be confusing why it behaves differently from the other inputs.

One possible solution is to only allow insertion and deletion on the char view (as the third tab stop).

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

No branches or pull requests

1 participant