Class: EditBoxManager

Core. EditBoxManager

A manager class that controls freetext annotation contents editing.

new EditBoxManager()

Extends

  • EventHandler

Type Definitions


Range

Type:
  • Object
Properties:
Name Type Description
index number the index of cursor
length number the number of characters that are selected

Events


editorBlur

Triggered after an editor blurred
Parameters:
Name Type Description
editor Core.Annotations.FreeTextAnnotation.RichTextEditor an instance of Editor
annotation Core.Annotations.FreeTextAnnotation a freetext annotation

editorFocus

Triggered after an editor is focused
Parameters:
Name Type Description
editor Core.Annotations.FreeTextAnnotation.RichTextEditor an instance of Editor
annotation Core.Annotations.FreeTextAnnotation a freetext annotation

editorSelectionChanged

Triggered after selection in the editor changed
Parameters:
Name Type Description
range Core.EditBoxManager.Range current selected range
oldRange Core.EditBoxManager.Range previous selected range

editorTextChanged

Triggered after some text in the editor changed