codetools: auto indenter: start first class section automatically

git-svn-id: trunk@26593 -
This commit is contained in:
mattias 2010-07-11 09:46:33 +00:00
parent f94941a0de
commit ad682260a7

View File

@ -834,8 +834,11 @@ begin
end;
'L': // CL
if CompareIdentifiers('CLASS',r)=0 then begin
if Stack.TopType=bbtDefinition then
if Stack.TopType=bbtDefinition then begin
BeginBlock(bbtClass);
// the first section is created automatically
BeginBlock(bbtClassSection);
end;
end;
'O': // CO
if CompareIdentifiers('CONST',r)=0 then