[Geany] Variable type highlighting in C
rlp1938 at xxxxx
Fri Aug 24 15:16:20 UTC 2012
On Fri, Aug 24, 2012 at 8:37 PM, Lex Trotman <elextr at gmail.com> wrote:
> On 24 August 2012 23:30, Robert Parker <rlp1938 at gmail.com> wrote:
> > Hi,
> > When I edit a C program file in Geany, variable types such as mode_t and
> > off_t are colored but the variable type size_t is not.
> > What must I do to have size_t colored?
> > My system is Ubuntu/Linux.
> Which version of Geany? There were some changes made that I think
> make size_t highlighted, but as a secondary keyword, not a type.
> These might not be in the released version yet.
My version is 0.21.
> You correct answer would be to make a tag file that had size_t in it.
I was able to find 'secondary=' in /usr/share/geany/filetypes.c under
'[keywords]' in that file.
So I copied it to .config/geany/flledefs/ and edited it as below:
I reloaded configuration and now 'size_t' has the same color as mode_t etc.
Thanks for your ideas.
> > Thanks,
> > Bob Parker
> > _______________________________________________
> > Geany mailing list
> > Geany at uvena.de
> > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
> Geany mailing list
> Geany at uvena.de
The healthy eating pyramid as published by the USDA and it's satellites all
over the world is purposely designed to bring about an epidemic of obesity,
hypertension and diabetes. It is wildly successful in this aim.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users