src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.ts/AbstractEditorNavigationQuickAccessProvider/getModel
class AbstractEditorNavigationQuickAccessProvider:	protected getModel(editor: IEditor | IDiffEditor): ITextModel | undefined {
		return isDiffEditor(editor) ?
			editor.getModel()?.modified :
			editor.getModel() as ITextModel;
	}