From 52b2c3a08051a958635e088136ce0f89b1ee7f7a Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 25 Feb 2010 03:21:54 +0000 Subject: [PATCH] synedit: highlight proc modifiers also in class without sections git-svn-id: trunk@23785 - --- components/synedit/synhighlighterpas.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/synedit/synhighlighterpas.pp b/components/synedit/synhighlighterpas.pp index 23ab30754f..96a3e27e10 100644 --- a/components/synedit/synhighlighterpas.pp +++ b/components/synedit/synhighlighterpas.pp @@ -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