TextPad v5 syntax colouring

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
Jon Summers
Posts: 8
Joined: Sat Mar 10, 2007 6:12 pm
Location: Somerset
Contact:

TextPad v5 syntax colouring

Post by Jon Summers »

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.
Regards, Jon Summers
JML
Posts: 7
Joined: Tue Sep 16, 2003 2:21 pm

Post by JML »

When I upgraded from 4.7.3 to 5.0, the previous syntax coloration settings were all turned OFF for every file type. I had to figure out how to turn them on again. IMHO, the upgrade should have preserved the all the settings from 4.x.
Post Reply