mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 05:40:24 +02:00
SynEdit: fold "resourcestring" (together with type, var, const) issue #0018634
git-svn-id: trunk@30120 -
This commit is contained in:
parent
2161f792f8
commit
18ed0d7537
@ -2136,8 +2136,14 @@ end;
|
||||
|
||||
function TSynPasSyn.Func191: TtkTokenKind;
|
||||
begin
|
||||
if KeyComp('Resourcestring') then Result := tkKey else
|
||||
if KeyComp('Stringresource') then Result := tkKey else Result := tkIdentifier;
|
||||
if KeyComp('Resourcestring') then begin
|
||||
Result := tkKey;
|
||||
if TopPascalCodeFoldBlockType = cfbtVarType then
|
||||
EndPascalCodeFoldBlockLastLine;
|
||||
StartPascalCodeFoldBlock(cfbtVarType);
|
||||
end
|
||||
else if KeyComp('Stringresource') then
|
||||
Result := tkKey else Result := tkIdentifier;
|
||||
end;
|
||||
|
||||
function TSynPasSyn.AltFunc: TtkTokenKind;
|
||||
|
Loading…
Reference in New Issue
Block a user