Binary Raw - Docs
    Preparing search index...

    Type Alias SelectionState

    SelectionState:
        | { type: "none" }
        | { anchor: AbsoluteOffset; current: AbsoluteOffset; type: "selecting" }
        | { range: ByteRange; type: "selected" }

    Represents the current state of a selection in the binary viewer.

    • "none": No active selection.
    • "selecting": User is actively selecting; anchor is fixed, current moves.
    • "selected": A range has been committed.