mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:39:18 +02:00
hide class node in codeexplorer
git-svn-id: trunk@8312 -
This commit is contained in:
parent
c6f54982a3
commit
c17ae7dae6
@ -436,6 +436,11 @@ begin
|
|||||||
ShowNode:=false;
|
ShowNode:=false;
|
||||||
ShowChilds:=false;
|
ShowChilds:=false;
|
||||||
end;
|
end;
|
||||||
|
// don't show class node (the type node is already shown)
|
||||||
|
if (CodeNode.Desc in [ctnClass,ctnClassInterface]) then begin
|
||||||
|
ShowNode:=false;
|
||||||
|
ShowChilds:=true;
|
||||||
|
end;
|
||||||
|
|
||||||
// don't show keyword nodes
|
// don't show keyword nodes
|
||||||
if CodeNode.Desc in [ctnIdentifier,ctnRangedArrayType,
|
if CodeNode.Desc in [ctnIdentifier,ctnRangedArrayType,
|
||||||
@ -513,6 +518,8 @@ begin
|
|||||||
|
|
||||||
Include(FFlags,cevRefresing);
|
Include(FFlags,cevRefresing);
|
||||||
|
|
||||||
|
FilterEdit.Text:=lisCEFilter;
|
||||||
|
|
||||||
// get the codetool with the updated codetree
|
// get the codetool with the updated codetree
|
||||||
ACodeTool:=nil;
|
ACodeTool:=nil;
|
||||||
if Assigned(OnGetCodeTree) then
|
if Assigned(OnGetCodeTree) then
|
||||||
|
Loading…
Reference in New Issue
Block a user