sesaparcours
    Preparing search index...

    Type Alias InlineShortcutsOptions

    type InlineShortcutsOptions = {
        inlineShortcuts: InlineShortcutDefinitions;
        inlineShortcutTimeout: number;
    }
    Index

    Properties

    inlineShortcuts: InlineShortcutDefinitions

    The keys of this object literal indicate the sequence of characters that will trigger an inline shortcut.

    {@inheritDoc InlineShortcutDefinition}

    inlineShortcutTimeout: number

    Maximum time, in milliseconds, between consecutive characters for them to be considered part of the same shortcut sequence.

    A value of 0 is the same as infinity: any consecutive character will be candidate for an inline shortcut, regardless of the interval between this character and the previous one.

    A value of 750 will indicate that the maximum interval between two characters to be considered part of the same inline shortcut sequence is 3/4 of a second.

    This is useful to enter "+-" as a sequence of two characters, while also supporting the "±" shortcut with the same sequence.

    The first result can be entered by pausing slightly between the first and second character if this option is set to a value of 250 or so.

    Note that some operations, such as clicking to change the selection, or losing the focus on the mathfield, will automatically timeout the shortcuts.