end property
int
get
end
End of the inspected range; the whole story without a selection.
Implementation
int get end => switch (selection) {
final selection? => math.max(selection.anchorOffset, selection.focusOffset),
null => story.plainText.length,
};