Specifies a range of text to remove, along with an optional string to replace it. If the start position and the end position are equal, no text is removed, and the new text is simply inserted at the new position.

Constructor

new(startLine:Int, startChar:Int, endLine:Int, endChar:Int, ?newText:String)

Creates a new TextEditorChange object.

Variables

@:flash.propertyread onlyendChar:Int

The end character index of the text to remove.

@:flash.propertyread onlyendLine:Int

The line character index of the text to remove.

@:flash.propertyread onlynewText:String

The new text to insert at the position represented by startLine and startChar.

@:flash.propertyread onlystartChar:Int

The start character index of the text to remove.

@:flash.propertyread onlystartLine:Int

The start line index of the text to remove.