How to change what is being written in the editor?
Answered
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
Please sign in to leave a comment.
Consider adding TypedHandlerDelegate extension. In its 'beforeCharTyped' method you can override what's happening when user types a character.