<br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 8:37 PM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 24 August 2012 23:30, Robert Parker <<a href="mailto:rlp1938@gmail.com">rlp1938@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> When I edit a C program file in Geany, variable types such as mode_t and<br>
> off_t are colored but the variable type size_t is not.<br>
> What must I do to have size_t colored?<br>
> My system is Ubuntu/Linux.<br>
<br>
</div></div>Hi,<br>
<br>
Which version of Geany?  There were some changes made that I think<br>
make size_t highlighted, but as a secondary keyword, not a type.<br>
These might not be in the released version yet.<br></blockquote><div><br></div><div>My version is 0.21. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
You correct answer would be to make a tag file that had size_t in it.<br></blockquote><div><br></div><div>I was able to find 'secondary=' in /usr/share/geany/filetypes.c under '[keywords]' in that file.</div>
<div>So I copied it to .config/geany/flledefs/ and edited it as below:</div><div>secondary=size_t</div><div><br></div><div>I reloaded configuration and now 'size_t' has the same color as mode_t etc.</div><div><br>
</div><div>Thanks for your ideas.</div><div><br></div><div>Bob Parker</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards<br>
Lex<br>
<br>
><br>
> Thanks,<br>
> Bob Parker<br>
><br>
><br>
> _______________________________________________<br>
> Geany mailing list<br>
> <a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br>
> <a href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
><br>
_______________________________________________<br>
Geany mailing list<br>
<a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br>
<a href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>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.<br>