selections property
List<NotebookRange>
get
selections
All selections in this notebook editor.
The primary selection (or focused range) is selections[0]
. When the document has no cells, the primary selection is empty { start: 0, end: 0 }
;
Implementation
_i2.List<_i3.NotebookRange> get selections => (_i5.getProperty(
this,
'selections',
) as _i2.List)
.cast();
set
selections
(List<NotebookRange> value)
Implementation
set selections(_i2.List<_i3.NotebookRange> value) {
_i5.setProperty(
this,
'selections',
value,
);
}