On Tue, 10 Apr 2012 11:00:36 +0100 Richard Mace <[email protected]> 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 then asks to save it lowercase. The file name will then be 'mainunit.pas' and the source name 'MainUnit'. You can disable the question here: Options / Naming / Save As - auto rename pascal files lower case > 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 don't need to restart. The tabs are updated on many events. For example when you do a "find declaration" or jump to a method body. They are not updated on every key press in the source editor. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
