I have set up my application so that when I press Ctrl+Z, my UndoManager will undo the last entry. However, for some reason, Ctrl+H will also do this, and I have no idea why.
Asked
Active
Viewed 48 times
1 Answers
1
when I press Ctrl+Z, my UndoManager will undo the last entry. However, for some reason, Ctrl+H will also do this,
Ctrl+H is not invoking your UndoManager.
Ctrl+H, is a Key Binding to delete the previous character in a text component.
This is easy to test. Just type some text into the text component. Then set the caret to a different position in the text component. The character deleted will be the character at the current caret position, not the last character typed into the text component.
You can check out Key Bindings for a program that displays all the default Key Bindings for a given component.

camickr
- 321,443
- 19
- 166
- 288