[Lazarus] Code templates syntax

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jan 10 15:41:14 CET 2012





Mattias Gaertner <nc-gaertnma at netcologne.de> hat am 10. Januar 2012 um 15:33
geschrieben:


>  
>  
> 
> 
> Martin <lazarus at mfriebe.de> hat am 10. Januar 2012 um 15:04 geschrieben:
> 
> > On 10/01/2012 13:29, Antonio Fortuny wrote:
> > > Hi folks.
> > >
> > > Does anyone know where I can find a syntax description and the usage
> > > rules of all keywords which appear in the source code templates ?
> > > And those which do not appear as well ;-)
> > > Basically I did find the file "..\lazarus\ide\lazarus_dci_file.dci"
> > > and it already gives some self explanatory rules.
> > > My purpose is to enriche as much as possible with code snippets that I
> > > use very often
> >
> > Have you tried "Insert Macro" In the code-template editor window
> > ("Tools" Menu) ?
> >
> > It lists them all + description 
> The documentation is here:
> http://wiki.lazarus.freepascal.org/IDE_Window:_Code_Templates
> 
 
Martin, can you elaborate how the "param" macro works? The description is looks
a bit confusing:
 
Inserts an editable Cell, with a default value
"",Sync=n (,S=n), to Sync with a previous cell (n=1 to highest prev cell
"default",Sync, to Sync with a previous cell of equal default
 
Mattias
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120110/af06f947/attachment-0003.html>


More information about the Lazarus mailing list