mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 12:41:45 +02:00
SynEdit Pas HL: recognize {$IFOPT}
git-svn-id: trunk@37854 -
This commit is contained in:
parent
b08e12984d
commit
2edaf60158
@ -2509,7 +2509,7 @@ begin
|
|||||||
inc(Run, 2);
|
inc(Run, 2);
|
||||||
fToIdent := Run;
|
fToIdent := Run;
|
||||||
KeyHash;
|
KeyHash;
|
||||||
if KeyComp('ifdef') or KeyComp('ifndef') or KeyComp('if') then
|
if KeyComp('ifdef') or KeyComp('ifndef') or KeyComp('if') or KeyComp('ifopt') then
|
||||||
StartDirectiveFoldBlock(cfbtIfDef)
|
StartDirectiveFoldBlock(cfbtIfDef)
|
||||||
else if KeyComp('endif') then
|
else if KeyComp('endif') then
|
||||||
EndDirectiveFoldBlock(cfbtIfDef)
|
EndDirectiveFoldBlock(cfbtIfDef)
|
||||||
|
Loading…
Reference in New Issue
Block a user