Returns the selection start position for undo or redo operations.
The selection start position, or null if no selection exists.
If true, returns the undo selection start; if false, returns the redo selection start.