Re: [Lazarus] Renaming unit

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 11:00:36 +0100 Richard Mace richard.m...@gmail.com wrote: Hi, When I create a new unit and then save it, I save it in all lower case. I then, edit the actual unit, and rename it to the case that I would like, such as renaming from mainunit to MainUnit. Hint: You can save

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
Richard Mace richard.m...@gmail.com wrote: Hi, When I create a new unit and then save it, I save it in all lower case. I then, edit the actual unit, and rename it to the case that I would like, such as renaming from mainunit to MainUnit. Hint: You can save it as 'MainUnit.pas'. The

Re: [Lazarus] Renaming unit

2012-04-10 Thread Sven Barth
Am 10.04.2012 12:23, schrieb Mattias Gaertner: All is OK when I do this, but the tab doesn't update to the correct case until Lazarus is restarted. Could it not be updated when the actual unit is renamed? Only a minor thing, but I remember Delphi doing this so thought I'd mention it :) You

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
On 10 April 2012 13:10, Sven Barth pascaldra...@googlemail.com wrote: Am 10.04.2012 12:23, schrieb Mattias Gaertner: All is OK when I do this, but the tab doesn't update to the correct case until Lazarus is restarted. Could it not be updated when the actual unit is renamed? Only a minor