Pages: [1]   Go Down
Author Topic: KEYWORD3 in syntax coloring  (Read 1869 times)
0 Members and 1 Guest are viewing this topic.
Seattle, USA
Offline Offline
Full Member
***
Karma: 0
Posts: 248
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone explain what the difference is between KEYWORD2 and KEYWORD3 in keywords.txt, for syntax coloring?

I see that there are a few instances of these in the 1.0 release (for setup, loop, and a few Serialn keywords), but I can't find any documentation on it and don't understand the distinction that is being made.

The entries for the IDE display of them in preferences.txt look like:
  • editor.keyword1.style=#cc6600,plain
  • editor.keyword2.style=#996600,plain
  • editor.keyword3.style=#993300,bold

But I don't see setup and loop appearing in that keyword3 color or in bold, in any case. It's a slightly darker brown than keyword2.
Logged

.andy

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 70
Posts: 2171
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

my text appears fine, I think so anyway.
Does your not look like the image I added.


* colouring.png (0.94 KB, 155x74 - viewed 12 times.)
Logged


Seattle, USA
Offline Offline
Full Member
***
Karma: 0
Posts: 248
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nope. Mine looks like the attached.

And, apart from whether it works or not, I'm not clear on the guiding principle for KEYWORD2 vs KEYWORD3.


* blink.png (20.9 KB, 486x374 - viewed 22 times.)
Logged

.andy

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

have you by any chance edited your keywords.txt file
I seem to recall it is very picky about formatting
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Seattle, USA
Offline Offline
Full Member
***
Karma: 0
Posts: 248
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nope. Straight out of the download...
Logged

.andy

Pages: [1]   Go Up
Jump to: