TextPad v5 syntax colouring
Posted: Mon Mar 12, 2007 5:31 pm
TextPad 5 fails to colour a keyword when the word is followed by a statement terminator (e.g. a semi-colon is a C statement terminator).
e.g. suppose that FALSE is a keyword in your syntax file. This statement colours FALSE:
BoolInt value = FALSE, // trailing comma, colour OK
This statement does not colour FALSE:
value = FALSE; // trailing semi-colon, no colour!
TextPad V4 coloured both words as expected.
e.g. suppose that FALSE is a keyword in your syntax file. This statement colours FALSE:
BoolInt value = FALSE, // trailing comma, colour OK
This statement does not colour FALSE:
value = FALSE; // trailing semi-colon, no colour!
TextPad V4 coloured both words as expected.