Preparing search index...

    Enum controlling whether cursor movement also moves the anchor or keeps it in place, defining selection behavior.

    Index

    Enumeration Members

    Enumeration Members

    KeepAnchor: number

    Moves only the cursor while keeping the anchor fixed, extending or creating a selection.

    MoveAnchor: number

    Moves both the cursor and the anchor to the new position, collapsing any selection.