"printable" characters aren't absorbed by keymap, leaving them as inputted characters in the editor

If you use a key combination for the "keystrokes" property in a keymap which would result in visible/printable characters, the keymap execute action is triggered, but also the character resulting from the key combination is inserted in the editor.

E.g. use <none>+<VK_N> for a number like concept the letter "n" is inserted, marking an input error in the input "field".

Is there a way to "absorb" the keystroke(s) use to trigger the keymap execute action?

 

0
1 comment

Hey!

Could you elaborate a bit what your input "field" looks like.

In my DSL I defined a keymap on a string property. It doesn't insert the 'E' character in my case.

Regards

0

Please sign in to leave a comment.