mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 12:40:33 +02:00
SynPasHighlighter recognize {$IF ...}
git-svn-id: trunk@26346 -
This commit is contained in:
parent
9e1d9075fb
commit
e8a130ff2f
@ -2289,7 +2289,7 @@ begin
|
||||
inc(Run,2);
|
||||
fToIdent := Run;
|
||||
KeyHash;
|
||||
if KeyComp('ifdef') or KeyComp('ifndef') then
|
||||
if KeyComp('ifdef') or KeyComp('ifndef') or KeyComp('if') then
|
||||
StartCustomCodeFoldBlock(cfbtIfDef)
|
||||
else if KeyComp('endif') then
|
||||
EndCustomCodeFoldBlock(cfbtIfDef)
|
||||
|
Loading…
Reference in New Issue
Block a user