[Geany] filename template wildcards - Re: Different templates for .c and .h?

Lex Trotman elextr at xxxxx
Wed May 5 12:57:40 UTC 2010


On 5 May 2010 22:53, Nick Treleaven <nick.treleaven at btinternet.com> wrote:

> On Wed, 5 May 2010 10:15:22 +0200
> Joerg Desch <jd.vvd at web.de> wrote:
>
> > > The {filename} wildcard is replaced with e.g. 'untitled', then the
> > > 'untitled' is replaced when the file is saved.
> >
> > Not here. The translated place holder 'unbenannt.c' is not replaced after
> > saving under a new name.
>
> OK, the replacement is only made on the first save.
>
> Also, I just fixed a bug where if the extension is not the default one,
> the untitled.foo string is not replaced. Perhaps that was the problem?
>

Yup, just found that was my problem, I'd used a C++ .hpp header & it failed
but if I used a C++ .cpp header it worked because it matched the standard
extension.

Cheers
Lex


>
> Thanks for testing this ;-)
>
> Regards,
> Nick
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20100505/1913ef4f/attachment.html>


More information about the Users mailing list