mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 06:09:29 +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
|
||||
if KeyComp('For') then begin
|
||||
Result := tkKey;
|
||||
StartPascalCodeFoldBlock(cfbtForDo);
|
||||
if TopPascalCodeFoldBlockType in PascalStatementBlocks then
|
||||
StartPascalCodeFoldBlock(cfbtForDo);
|
||||
end
|
||||
else
|
||||
if KeyComp('Shl') then Result := tkKey else Result := tkIdentifier;
|
||||
|
Loading…
Reference in New Issue
Block a user