mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 17:59:22 +02:00
synedit: clean up
git-svn-id: trunk@38100 -
This commit is contained in:
parent
93a55c46a9
commit
07c5091ba9
@ -3032,8 +3032,6 @@ var
|
|||||||
CurLine: TLineIdx;
|
CurLine: TLineIdx;
|
||||||
hl: TSynCustomFoldHighlighter;
|
hl: TSynCustomFoldHighlighter;
|
||||||
i, c, c1, l: Integer;
|
i, c, c1, l: Integer;
|
||||||
NFilter: TSynFoldActions;
|
|
||||||
nd: TSynFoldNodeInfo;
|
|
||||||
begin
|
begin
|
||||||
if HasCount and ((AnIndex >= Count - OpeningOnLineCount) or (AnIndex >= FEvaluationIndex)) then exit;
|
if HasCount and ((AnIndex >= Count - OpeningOnLineCount) or (AnIndex >= FEvaluationIndex)) then exit;
|
||||||
assert(FEvaluationIndex > 0, 'TLazSynEditNestedFoldsList.InitLineInfoForIndex already finilhed');
|
assert(FEvaluationIndex > 0, 'TLazSynEditNestedFoldsList.InitLineInfoForIndex already finilhed');
|
||||||
@ -3102,8 +3100,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TLazSynEditNestedFoldsList.InitCount(const AHighlighter: TSynCustomFoldHighlighter);
|
procedure TLazSynEditNestedFoldsList.InitCount(const AHighlighter: TSynCustomFoldHighlighter);
|
||||||
var
|
|
||||||
i, j: Integer;
|
|
||||||
begin
|
begin
|
||||||
FCount := AHighlighter.FoldBlockEndLevel(FLine - 1, FFoldGroup, FFoldFlags);
|
FCount := AHighlighter.FoldBlockEndLevel(FLine - 1, FFoldGroup, FFoldFlags);
|
||||||
FEvaluationIndex := FCount;
|
FEvaluationIndex := FCount;
|
||||||
|
@ -518,8 +518,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TLazSynFoldNodeInfoList.Clear;
|
procedure TLazSynFoldNodeInfoList.Clear;
|
||||||
var
|
|
||||||
c: Integer;
|
|
||||||
begin
|
begin
|
||||||
ClearFilter;
|
ClearFilter;
|
||||||
ClearData;
|
ClearData;
|
||||||
|
Loading…
Reference in New Issue
Block a user