Internally, the selection is run-length-encoded. It is therefore a "sparse" matrix
with undefined bounds. A single data property called selection is an array that
contains all the "ranges" of selected cells albeit in no particular order.
This property should not normally need to be accessed directly.
This object models selection of "cells" within an abstract single-dimensional matrix.
Remarks
Disjoint selections can be built with calls to the following methods: add(exclusiveStart, stop) - Add a range to the matrix.
clear() the matrix
Internally, the selection is run-length-encoded. It is therefore a "sparse" matrix with undefined bounds. A single data property called
selection
is an array that contains all the "ranges" of selected cells albeit in no particular order. This property should not normally need to be accessed directly.