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 ?

0

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

0

请先登录再写评论。