range property
BufferRange?
get
range
Returns the range of the highlight. May be null if the anchors that define the highlight are not attached to the terminal.
Implementation
BufferRange? get range {
if (!p1.attached || !p2.attached) {
return null;
}
return BufferRangeLine(p1.offset, p2.offset);
}