MLightCAD
    Preparing search index...

    Interface AcEdSelectionModifierState

    Minimal modifier-key snapshot needed to resolve selection behavior from a mouse or pointer event.

    The full DOM MouseEvent object is intentionally not required here so the resolver can stay lightweight, reusable, and easy to test in isolation.

    interface AcEdSelectionModifierState {
        ctrlKey: boolean;
        metaKey: boolean;
        shiftKey: boolean;
    }
    Index

    Properties

    ctrlKey: boolean

    Whether the Control key was pressed when the selection event occurred.

    When true and shiftKey is false, the selection resolves to 'add'.

    metaKey: boolean

    Whether the Meta/Command key was pressed when the selection event occurred.

    This provides macOS-friendly additive selection behavior equivalent to ctrlKey.

    shiftKey: boolean

    Whether the Shift key was pressed when the selection event occurred.

    In this viewer, Shift has the highest priority and maps to 'remove'.