Constructor
The selection API
Disables / enables selection undo / redo
Private
wrapPrivate
Record history action after executing function. The history action will restore the previous selection.
The history action name
The function to execute
Enables undo / redo of selection changes