IDE: codeexplorer: hide constants

git-svn-id: trunk@30428 -
This commit is contained in:
mattias 2011-04-22 15:50:17 +00:00
parent 72ce7a70f6
commit 3927cd86b3

View File

@ -845,14 +845,13 @@ begin
ShowChilds:=false;
end;
// don't show End.
if CodeNode.Desc=ctnEndPoint then
// don't show special nodes
if CodeNode.Desc in [ctnEndPoint,ctnConstant,ctnIdentifier] then
ShowNode:=false;
// don't show class visibility section nodes
if (CodeNode.Desc in AllClassSections) then begin
if (CodeNode.Desc in AllClassSections) then
ShowNode:=false;
end;
if Mode=cemCategory then begin
// don't show method bodies