mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 16:59:09 +02:00
SynEdit, PasHL: fix "helper for" should not generate "foldnode-info" for "for". issue #33551
git-svn-id: trunk@57614 -
This commit is contained in:
parent
96169209a1
commit
535304ef18
@ -1165,7 +1165,8 @@ function TSynPasSyn.Func39: TtkTokenKind;
|
|||||||
begin
|
begin
|
||||||
if KeyComp('For') then begin
|
if KeyComp('For') then begin
|
||||||
Result := tkKey;
|
Result := tkKey;
|
||||||
StartPascalCodeFoldBlock(cfbtForDo);
|
if TopPascalCodeFoldBlockType in PascalStatementBlocks then
|
||||||
|
StartPascalCodeFoldBlock(cfbtForDo);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if KeyComp('Shl') then Result := tkKey else Result := tkIdentifier;
|
if KeyComp('Shl') then Result := tkKey else Result := tkIdentifier;
|
||||||
|
Loading…
Reference in New Issue
Block a user