[Lazarus] Syntax highlighting question

Michael Van Canneyt michael at freepascal.org
Fri May 7 15:06:42 CEST 2010



On Fri, 7 May 2010, Graeme Geldenhuys wrote:

> Hi,
>
> Why is the 'string' type not highlighted in the same color as other
> types? eg: integer, pointer, boolean etc?
> I see this is even done in other editors with type syntax highlighting
> like Midnight Commander, Cooledit etc.. gEdit being the exception.

Because 'String' is a keyword, the others are not. Contrary to popular
belief, 'Boolean' and 'Integer' are not keywords, they are identifiers.

Michael.




More information about the Lazarus mailing list