From f7a8ae6d918b229cc0574e511e28b46e29eedf15 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 17 Nov 2009 10:00:31 +0000 Subject: [PATCH] IDE: codeexplorer: show names of generics git-svn-id: trunk@22642 - --- ide/codeexplorer.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ide/codeexplorer.pas b/ide/codeexplorer.pas index bc24472f9e..20ba9bc35a 100644 --- a/ide/codeexplorer.pas +++ b/ide/codeexplorer.pas @@ -529,6 +529,9 @@ begin ctnTypeDefinition,ctnVarDefinition,ctnConstDefinition,ctnUseUnit: Result:=ACodeTool.ExtractIdentifier(CodeNode.StartPos); + ctnGenericType: + Result:=ACodeTool.ExtractDefinitionName(CodeNode); + ctnClass,ctnObject,ctnObjCClass,ctnObjCCategory,ctnObjCProtocol, ctnInterface,ctnCPPClass: Result:='('+ACodeTool.ExtractClassInheritance(CodeNode,[])+')';