mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 19:59:31 +02:00
IDE: code explorer: fixed hiding unnamed constants
git-svn-id: trunk@53496 -
This commit is contained in:
parent
9b0d88e504
commit
fae72cb0a7
@ -1555,7 +1555,9 @@ begin
|
||||
'''','#','0'..'9','$','%':
|
||||
begin
|
||||
// a constant
|
||||
if (ObserverState.IgnoreConstLevel>=0)
|
||||
if not FindUnnamedConstants then begin
|
||||
// ignore
|
||||
end else if (ObserverState.IgnoreConstLevel>=0)
|
||||
and (ObserverState.IgnoreConstLevel>=ObserverState.StackPtr)
|
||||
then begin
|
||||
// ignore range
|
||||
@ -2218,10 +2220,8 @@ begin
|
||||
|
||||
// start updating the CodeTreeView
|
||||
CodeTreeview.BeginUpdate;
|
||||
debugln(['TCodeExplorerView.RefreshCode BBB1 ========================================']);
|
||||
if not CurFollowNode then
|
||||
OldExpanded:=TTreeNodeExpandedState.Create(CodeTreeView,@OnExpandedStateGetNodeText);
|
||||
debugln(['TCodeExplorerView.RefreshCode BBB2 ========================================']);
|
||||
|
||||
ClearCodeTreeView;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user