From 38cd84263c52607c3c0e9a86de5c29d4aadcf019 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 7 Nov 2009 15:08:27 +0000 Subject: [PATCH] synedit: allow procedure modifiers to be used in class git-svn-id: trunk@22477 - --- components/synedit/synhighlighterpas.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/synedit/synhighlighterpas.pp b/components/synedit/synhighlighterpas.pp index 5772af32ba..abf764a5af 100644 --- a/components/synedit/synhighlighterpas.pp +++ b/components/synedit/synhighlighterpas.pp @@ -128,7 +128,7 @@ const // restrict cdecl etc to places where they can be. // this needs a better parser ProcModifierAllowed: TPascalCodeFoldBlockTypes = - [cfbtNone, cfbtProcedure, cfbtProgram, cfbtUnitSection]; // unitsection, actually interface only + [cfbtNone, cfbtProcedure, cfbtProgram, cfbtClassSection, cfbtUnitSection]; // unitsection, actually interface only type