IDE: Fixes for codeexplorer "category" mode. Issue #19988, patch from Anton

git-svn-id: trunk@31997 -
This commit is contained in:
juha 2011-08-16 19:52:26 +00:00
parent f89932be90
commit eac2d643be

View File

@ -918,6 +918,13 @@ begin
ShowChilds:=false;
end;
// don't show single hint modifiers
if (CodeNode.Desc = ctnHintModifier) and (ParentViewNode = nil) then
begin
ShowNode:=false;
ShowChilds:=false;
end;
// category mode: put nodes in categories
Category:=cecNone;
if ShowNode
@ -948,7 +955,8 @@ begin
fCategoryNodes[Category].ImageIndex:=NodeImageIndex;
fCategoryNodes[Category].SelectedIndex:=NodeImageIndex;
end;
ParentViewNode:=fCategoryNodes[Category];
if not Assigned(ParentViewNode) then
ParentViewNode:=fCategoryNodes[Category];
InFrontViewNode:=nil;
end;
end else begin