The session to use
Optional_eventLeft for backward compatibility
OptionalindexLeft for backward compatibility
Optionalcapturing: booleanSaves 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 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
OptionalkeepDesiredColumn: booleanOptionalcapturing: booleanGets list of ranges composing rectangular block on the screen
The cursor to use
The anchor to use
OptionalincludeEmptyLines: booleanIf true, this includes ranges inside the block which are empty due to clipping
Returns true if moving the character next to the cursor in the specified direction is a soft tab.
the current cursor position
the tab size
1 for right, -1 for left
Creates a new
Selectionobject.