Trap keys in EditorTextField


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

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


Please sign in to leave a comment.