Trap keys in EditorTextField

Answered

I have a EditorTextField component. I would like to trap when the user presses a key to implement my own shortcuts.
I tried using "addKeyListener" but it doesn't seems to work

Any clues ?

1 comment
Comment actions Permalink

You can create an action and register component-specific shortcuts for it - see AnAction.registerCustomShortcutSet().

0

Please sign in to leave a comment.