src/vs/workbench/services/history/browser/history.ts/HistoryService/handleActiveEditorChange
class HistoryService:	private handleActiveEditorChange(editor?: IEditorPane): void {
		this.handleEditorEventInHistory(editor);
		this.handleEditorEventInNavigationStack(editor);
	}