Typing event

I just want typing position, the method of caret position while user typed in the editor. And default behavior will remain as usual. such as typing "sout" will provide "System.out.println()"

0
3 comments

Given Editor instance, you can obtain caret position from its caret model, e.g.

editor.getCaretModel().getOffset()
0
Avatar
Permanently deleted user

By

editor.getCaretModel().getOffset()


I get the caret position only. However, I want the typing event also.
I need to give a notification while the user is typing in a specific range of code base.
So I need typing event with caret position, not the caret position only.

0

Register TypedHandlerDelegate to get notifications before/after using typing in editor.

0

Please sign in to leave a comment.