ConstCommits a selecting state, creating a final selected range.
Creates a "none" selection state (no selection).
Creates a "selected" state directly from a known ByteRange. Used when clicking in the sidebar to select a range directly.
Begins a new selection from an anchor point.
Updates the current position of an in-progress selection.
Utility namespace for managing selection state transitions.