[Lazarus] DelphiForFun
ron schultz
ronschultzster at gmail.com
Tue Nov 3 17:40:15 CET 2009
Zitat von Paul Ishenin <webpirat at mail.ru>:
> 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 :)
Hmm.
Apparently synedit's line range is unreliable to find out what was
inserted or what lines have changed.
I will ask Martin.
Mattias
More information about the Lazarus
mailing list