Dispatched by a TextEditor when its text changes.

Static variables

@:value("local")staticfinalread onlyORIGIN_LOCAL:String = "local"

The text change was initiated locally.

@:value("remote")staticfinalread onlyORIGIN_REMOTE:String = "remote"

The text change was initiated remotely.

@:value("undo")staticfinalread onlyORIGIN_UNDO:String = "undo"

The text change was initiated by an undo action.

@:value("textChange")staticfinalread onlyTEXT_CHANGE:EventType<TextEditorChangeEvent> = "textChange"

Dispatched when the text changes.

Constructor

new(type:String, changes:Array<TextEditorChange>, ?origin:String)

Creates a new TextEditorChangeEvent object.

Variables

changes:Array<TextEditorChange>

The set of changes to apply.

origin:String

The origin of the changes.

Methods