From da2fe1ffb1002a675c05e91a5f61156c79782813 Mon Sep 17 00:00:00 2001 From: juha Date: Sat, 20 Aug 2011 05:56:46 +0000 Subject: [PATCH] Codetools: improve indentation when pasting a line inside class definition. Patch from Anton. git-svn-id: trunk@32014 - --- components/codetools/codebeautifier.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/codetools/codebeautifier.pas b/components/codetools/codebeautifier.pas index 8ac4edbe23..a2188cfef0 100644 --- a/components/codetools/codebeautifier.pas +++ b/components/codetools/codebeautifier.pas @@ -1464,7 +1464,7 @@ function TFullyAutomaticBeautifier.AdjustByNextAtom( begin if StackTopType=bbtDefinition then EndBlock; - if StackTopType in bbtAllIdentifierSections then + if StackTopType in (bbtAllIdentifierSections-[bbtClassSection]) then EndBlock; BeginBlock(bbtProcedure); end;