Left for backward compatibility
Left for backward compatibility
Left for backward compatibility
Left for backward compatibility
Sets the selection to the provided range.
The range of text to select
Optional
reverse: booleanIndicates if the range should go backwards (true
) or not
Saves the current cursor position and calls func
that can change the cursor
postion. The result is the range of the starting and eventual cursor position.
Will reset the cursor position.
The callback that should change the cursor position
Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.
The number of rows to move by
The number of characters to move by
EditSession.documentToScreenPosition
Moves the cursor to the row and column provided. [If preventUpdateDesiredColumn
is true
, then the cursor stays in the same column position as its original point.]{: #preventUpdateBoolDesc}
The row to move to
The column to move to
Optional
keepDesiredColumn: boolean[If true
, the cursor move does not respect the previous column]{: #preventUpdateBool}
Generated using TypeDoc
Creates a new
Selection
object.