synedit: highlight proc modifiers also in class without sections

git-svn-id: trunk@23785 -
This commit is contained in:
paul 2010-02-25 03:21:54 +00:00
parent 9f7ad44770
commit 52b2c3a080

View File

@ -128,7 +128,8 @@ const
// restrict cdecl etc to places where they can be.
// this needs a better parser
ProcModifierAllowed: TPascalCodeFoldBlockTypes =
[cfbtNone, cfbtProcedure, cfbtProgram, cfbtClassSection, cfbtUnitSection, // unitsection, actually interface only
[cfbtNone, cfbtProcedure, cfbtProgram, cfbtClass, cfbtClassSection,
cfbtUnitSection, // unitsection, actually interface only
cfbtVarType, cfbtLocalVarType];
type