Enables undo / redo of selection changes

Internal

Other

  • Record history action after executing function. The history action will restore the previous selection.

    Parameters

    • name: any
    • fn: () => void

    Returns void