src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.ts/DocumentSymbolsOutlineCreator/matches
class DocumentSymbolsOutlineCreator:	matches(candidate: IEditorPane): candidate is IEditorPane {
		const ctrl = candidate.getControl();
		return isCodeEditor(ctrl) || isDiffEditor(ctrl);
	}