<div class="gmail_quote">On Fri, May 7, 2010 at 6:06 AM, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
On Fri, 7 May 2010, Graeme Geldenhuys wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Why is the 'string' type not highlighted in the same color as other<br>
types? eg: integer, pointer, boolean etc?<br>
I see this is even done in other editors with type syntax highlighting<br>
like Midnight Commander, Cooledit etc.. gEdit being the exception.<br>
</blockquote>
<br></div>
Because 'String' is a keyword, the others are not. Contrary to popular<br>
belief, 'Boolean' and 'Integer' are not keywords, they are identifiers.</blockquote><div><br></div><div>This is exactly why Borland didn't do it but it makes sense to highlight all simple native types and then it would make sense to write them in lowercase but i find it strange and non-standard to write tstringlist or tStringList instead of TStringList, when they are prefixed with a T, no highlighting is needed.</div>
<div><br></div><div>RazvanĀ </div></div>