mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-06 06:52:36 +02:00
codetools: auto indent: close if-then on semicolon
git-svn-id: trunk@22568 -
This commit is contained in:
parent
c88c2b2dce
commit
e7a4c20bc0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user