[Lazarus] Open File troubles.

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Dec 17 15:38:55 CET 2011


On Fri, 16 Dec 2011 13:54:30 +0100
"Ludo Brands" <ludo.brands at free.fr> wrote:

> Latest trunk on win32 has only the "Lazarus file (*.pas,*.pp, *.inc)" option
> when opening a file. Drop down box has only one line.

I just tested: A new IDE has the usual items. As you noted below.

Maybe you were unlucky and fetched a buggy revision?

> Found that the problem is with filefilters.xml in the lazarus settings
> directory. Deleting it brought back the old options. The contents of the
> file was:
> 
> <?xml version="1.0"?>
> <CONFIG Count="7">
>   <Filter01 Mask="*.lpi;*.lpr;*.lpk;*.pas;*.pp;*.inc;*.lfm;*.dfm"
> Name="Lazarus file"/>
>   <Filter02 Mask="*.pas;*.pp" Name="Lazarus unit"/>
>   <Filter03 Mask="*.lpi" Name="Lazarus project"/>
>   <Filter04 Mask="*.lfm;*.dfm" Name="Lazarus form"/>
>   <Filter05 Mask="*.lpk" Name="Lazarus package"/>
>   <Filter06 Mask="*.lpr" Name="Lazarus project source"/>
>   <Filter07 Mask="" Name=""/>
> </CONFIG>
> 
> No new filefilters.xml has been created so far.

It is created once you change the file filters.

Mattias




More information about the Lazarus mailing list