I have this code inside compositionComplete()
this.docEditor = aceEditorBindingHandler.getEditorBySelection($(docEditorSelector);
// this.docEditor is of type AceAjax.Editor
if (this.docEditor) {
this.docEditor.getSession().on("tokenizerUpdate", () => {
// do stuff
});
}
but it is never hit.
If I change the event to be on 'change
' then code is hit when the content changes.
But that is not what I need.
Any idea ? anybody ?