On Wed, 9 Dec 2009 22:25:55 +0200
ik <[email protected]> wrote:

> Hello,
> 
> I'm using Lazarus 0.9.29 r23051M FPC 2.5.1 x86_64-linux-gtk 2 (beta) .
> 
> I selected a whole procedure and used CTRL+J to rename a local variable and
> it's whole usage in the code like so:
> 
> procedure a_test;
> var
>   SelStart : integer;
> begin
>   SelStart := Edit1.SelStart;
> ...
> end;
> 
> When I renamed SelStart to OldStart, it also renamed the Edit1.SelStart .
> The expected result is not to touch the property itself.

Selection+Ctrl+J is syncron edit. It replaces word occurences in
selection.
To rename a variable use Ctrl+Shift+E.

 
> Can it be configured somehow, or should I report it as a bug ?

It is by design.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to