[Lazarus] Auto indentation
Paul Ishenin
webpirat at mail.ru
Tue Nov 3 16:13:56 CET 2009
Mattias Gärtner wrote:
> * If you don't like other people styles, and always want to your
> indentation you can turn the context sensitivity off. Then it will
> only search in your example.
choosed this option to test
> * When pasting code the indenter will indent the whole block - every
> line by the same amount.
and pasted the next code to check how indentation works:
[code]
try
Button1Click(sender)
finally
end;
[/code]
as result I have the next code in the IDE:
[code]
procedure TForm1.Button1Click(Sender: TObject);
begin
try
Button1Click(sender)
finally
end;
end;
[/code]
Unexpected result :)
Best regards,
Paul Ishenin.
More information about the Lazarus
mailing list