How to change what is being written in the editor?
已回答
Hi all,
I'm fairly new to plugin development and I wonder if there is any way to change the editor to return a different value than the key pressed:
Ex: the key pressed was "a" but it actually writes in the editor the letter "b".
In summary, I want to overwrite what the user is typing in a few cases.
Best regards
请先登录再写评论。
Consider adding TypedHandlerDelegate extension. In its 'beforeCharTyped' method you can override what's happening when user types a character.