EditorEvents

public interface EditorEvents

Methods

onEditorPositionChange

void onEditorPositionChange(int oldPosition, int newPosition)

When caret position are changed

Paramètres:
  • oldPosition – Old value
  • newPosition – New value

onEditorTextChange

void onEditorTextChange(String oldText, String newText)

When text in textarea are changed

Paramètres:
  • oldText – Old value
  • newText – New Value