src/vs/base/common/history.ts/HistoryNavigator/_currentPosition
class HistoryNavigator:	private _currentPosition(): number {
		const currentElement = this._navigator.current();
		if (!currentElement) {
			return -1;
		}

		return this._elements.indexOf(currentElement);
	}