src/vs/editor/contrib/cursorUndo/browser/cursorUndo.ts/CursorUndoRedoController/_applyState
class CursorUndoRedoController:	private _applyState(stackElement: StackElement): void {
		this._isCursorUndoRedo = true;
		this._editor.setSelections(stackElement.cursorState.selections);
		this._editor.setScrollPosition({
			scrollTop: stackElement.scrollTop,
			scrollLeft: stackElement.scrollLeft
		});
		this._isCursorUndoRedo = false;
	}