CellSelection
Half-open terminal cell selection in visible render-cache coordinates.
anchorColumn and anchorRow identify the fixed selection edge. caretColumn and caretRow identify the moving edge and may be before the anchor for backward selections. Columns are caret positions between cells, so selecting cells 2 through 4 on one row is represented as columns 2..5. Linear selections use logical columns in stored text order. Block selections use visual columns and the same horizontal interval on every selected row; copying a block maps its cells back to logical order independently per row. A linear selection crossing a hard row boundary includes its newline even when an endpoint selects no cells on that row. Soft wraps contribute no newline.
Constructors
Properties
zero-based anchor caret column.
zero-based moving caret column.
First logical caret column on startRow, or the left visual edge of a block.