[Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
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". All is OK when I do this, but the "tab" doesn't update to the correct case until Lazarus is restarte

Re: [Lazarus] Renaming unit

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 11:00:36 +0100 Richard Mace 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

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
Richard Mace 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 IDE 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 do

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
On 10 April 2012 13:10, Sven Barth 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 thing, but I rem