-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Bug] Unable to Remove Characters, Copy and Paste Characters in Bookmark Comments #2055
Comments
Hey, thanks for the report! |
Bookmarks use the text editor? had no idea. what else uses it? |
They do yeah. The only other thing is the demangler I believe but that is read only |
I thought the only place that wasn't write-only was the pattern editor. The demangler, the console and the http requests are all write-only so they don't need shortcuts.I'll add them to the bookmarks but I wonder why is the text editor being used there at all. |
Added the registrations for the editor shortcuts and reorganized the registration calls into events and handlers. Needed a way to select which of the possibly multiple editors sees the effects of the keyboard so a pointer to the current text editor in use was added to the view bookmarks class. The pointer may be empty so the shortcuts need to check it before using it. To detect which of the editors needs to see the effects of the shortcuts a function ws added to text editor that tells if window has focus. To avoid errors when editors become read only, asserts were exchanged with do-nothing early returns on the text editor. To avoid using the default language coloring (HLSL), the colorize enabling variable was set to false. A suggestion by cppcheck simplified the logic of a conditional on view bookmarks. On view pattern editor some icons were added to console menu entries.
Operating System
Windows
What's the issue you encountered?
Whenever I make a comment on a bookmark, I am unable to delete characters from my comment (via backspace), nor can I copy/paste text into the comment.
How can the issue be reproduced?
Seems to be applicable for any bookmark I create across the file I am working on. To recreate, make a new bookmark, type some text, and try to use the backspace key.
ImHex Version
1.36.2
ImHex Build Type
Installation type
MSI
Additional context?
No response
The text was updated successfully, but these errors were encountered: