codetools: auto indent: close if-then on semicolon

git-svn-id: trunk@22568 -
This commit is contained in:
mattias 2009-11-13 12:03:14 +00:00
parent c88c2b2dce
commit e7a4c20bc0

View File

@ -1008,15 +1008,15 @@ begin
end;
';':
case Stack.TopType of
bbtUsesSection,bbtDefinition,bbtStatement:
bbtUsesSection,bbtDefinition:
EndBlock;
bbtCaseColon:
begin
EndBlock;
BeginBlock(bbtCaseOf);
end;
bbtIfThen,bbtIfElse:
while Stack.TopType in [bbtIf,bbtIfThen,bbtIfElse] do
bbtIfThen,bbtIfElse,bbtStatement:
while Stack.TopType in [bbtIf,bbtIfThen,bbtIfElse,bbtStatement] do
EndBlock;
bbtProcedureHead:
if CheckProcedureModifiers then