[Lazarus] Patch question.

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Feb 26 23:17:51 CET 2013


On Tue, 26 Feb 2013 17:05:59 -0500
Donald Ziesig <donald at ziesig.org> wrote:

> Hi All!
> 
> I have finished the code needed to use xml to specify templates for some 
> of the code completion functions.  I was about to create a patch till I 
> remembered that the xml file is in ~/.lazarus.  AFAICT this will not go 
> into the patch, but should be put into .lazarus on install or build. 
> What is the proper way of doing this?

Check on start if the config file exists. If yes, load it, if not,
create defaults, e.g. copy a file from the lazarus directory.

Mattias




More information about the Lazarus mailing list