[Lazarus] Renaming an existing unit

Sven Barth pascaldragon at googlemail.com
Fri Apr 20 08:34:08 CEST 2012


Am 20.04.2012 07:15 schrieb "Jürgen Hestermann" <juergen.hestermann at gmx.de>:
>
>
> Sven Barth schrieb:
>
>> On 19.04.2012 19:30, Jürgen Hestermann wrote:
>>>
>>> Richard Mace schrieb:
>>>  > > What's the best steps for renaming a unit, that is part of an
existing
>>>  > > project?
>>>  > File -> Save as. And answer yes on the question whether you want to
>>>  > update all references.
>>>  > Wow, I wasn't expecting it to be that easy/cool :)
>>>
>>> Not so very cool IMO.
>>> The question was how to *rename* a unit. But this is not a rename.
>>> It seems to create a copy and you have to clean up the original version
>>> yourself.
>>> Though better than nothing of course.
>>
>>
>> Joost did forget to mention that between the Save As and the update of
the references dialog there is also a dialog which asks you whether you
want to delete the original file.
>>
> That's good news! Was this added recently?
> I remember vaguely that I did the same long ago but if I
> remember right I was not asked about deleting the old version.

That dialog is quite old already. I remember it existing in at least 0.9.26
if not earlier.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120420/0c7872f1/attachment-0003.html>


More information about the Lazarus mailing list