Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
Typing event
Permanently deleted user
Created
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()"
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.
Given Editor instance, you can obtain caret position from its caret model, e.g.
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.
Register TypedHandlerDelegate to get notifications before/after using typing in editor.