mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 23:59:27 +02:00
IDE: code explorer: fixed ignoring user defined constants
git-svn-id: trunk@19461 -
This commit is contained in:
parent
97bbdab0c8
commit
da0694aae0
@ -3213,6 +3213,7 @@ begin
|
||||
inc(p2);
|
||||
dec(l);
|
||||
end;
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
function CompareStringConstants(p1, p2: PChar): integer;
|
||||
|
@ -296,6 +296,8 @@ begin
|
||||
AppendPathDelim(GetPrimaryConfigPath)+'codeexploreroptions.xml';
|
||||
FNotFigureConstants:=TAvgLvlTree.Create(TListSortCompare(@CompareAtom));
|
||||
Clear;
|
||||
AddNotFigureConstant('0');
|
||||
AddNotFigureConstant('1');
|
||||
end;
|
||||
|
||||
destructor TCodeExplorerOptions.Destroy;
|
||||
@ -317,8 +319,6 @@ begin
|
||||
FNestedProcCount:=DefaultFigNestedProcCount;
|
||||
FFigureCharConst:=DefaultFigureCharConst;
|
||||
ClearNotFigureConstants;
|
||||
AddNotFigureConstant('0');
|
||||
AddNotFigureConstant('1');
|
||||
end;
|
||||
|
||||
procedure TCodeExplorerOptions.Assign(Source: TPersistent);
|
||||
|
Loading…
Reference in New Issue
Block a user