Codetools: improve indentation when pasting a line inside class definition. Patch from Anton.

git-svn-id: trunk@32014 -
This commit is contained in:
juha 2011-08-20 05:56:46 +00:00
parent d0be101ab4
commit da2fe1ffb1

View File

@ -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;