[Lazarus] Assigning Speedbutton.Glyph on Carbon gets kinda "invertish"
Bent Normann Olsen
bent at earmaster.com
Tue Jun 10 15:41:05 CEST 2008
>> Hello,
>>
>> This tiny patch implements a feature which can be found in Programmer's
>> Notepad, and which proves to be very useful (at least to me).
>> It makes the File Open dialog open in the directory of the file which is
>> active in source notebook. Thus, each opened file acts as a filesystem
>> bookmark, and whenever you work with sources from several directories,
>> efforts
>> needed to navigate in File Open dialog are greatly reduced.
>>
>> Maybe this feature must be made configurable (I am ready to do it, let me
>> know
>> if I should), but honestly I cannot imagine any reason to disable it.
>
> I think it should definitely be made configurable.
> I much prefer the notion of the 'currently active' directory.
>
> I have many files open, in many directories. Often the current file
> (rtl/vcl/fcl whatever files, opened with ctrl-enter on a unit name)
> will be in the wrong directory, which is not part of the project.
>
> Michael.
I like this feature. However i also agree with Michael about being
configurable. I think a combobox in options like
Default file dialog directory:
* Last used directory
* Current file's directory
* Project directory
The last one can enable a checkbox below (will be disabled for the first
two):
* Use current file's directory for non project files
Kostas
More information about the Lazarus
mailing list