[Geany] Looking for plugin API calls...

Lex Trotman elextr at xxxxx
Thu Aug 27 11:29:43 UTC 2009


2009/8/27 Joerg Desch <jd.vvd at web.de>:
> On Thu, 27 Aug 2009 20:51:48 +1000
> Lex Trotman <elextr at gmail.com> wrote:
>
> Hi.
>
> In Germany we would say "I had tomatoes on my eyes".
>
>> I'm not an experienced plugin programmer but quick look at the API
>> shows document _set_filetype which is what you want.
>
> Thanx. I don't know why but I've tried only the links on the main page. Sorry for the traffic...
>
>
>> There has in the past been some discussion about parsing Emacs and VIM
>> filetype markers to help with the C++ .h file problem but no one was
>> concerned enough to write the code :-)
>
> Yes I can remember.
>
>
>> Of course I assume these are old .h files and you are using .hpp for
>> all your new C++ headers which will not only get the filetype right in
>> Geany but tell humans that they don't need to wrap this header in
>> extern C { } constructs.
>
> You are right, but these file are not mine. I'm using www.fltk.org, where all C++ headers use .H !

If they are actually a capital H maybe you could try adding that to
the C++ line in filetype_extensions.conf.  Doubt it would work on
windows but should on Linux.

Cheers
Lex

>
> --
> Email: Joerg Desch <jd DOT vvd AT web DOT de>
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>



More information about the Users mailing list