- January 7, 2014 at 12:43 pm #17825
I am working on creating a new syntax and I can’t seem to find anywhere the general guideline for which color to assign to a keyword match.
I can see that generally color=4 equates to keywords, but I have other types of keywords that I need highlighted and I am not sure generally how 1-10 are used. I don’t want to customize this for one language and then have all the rest look like crap.
I realize it is not equivalent across all languages, but can someone provide somewhat of a general guideline for which color is used for which types of matches in the various syntax files? I.E.
1 = Operators?
2 = Declarations?
3 = Class?
4 = Keywords
6 = Functions
10 =January 7, 2014 at 11:45 pm #17832
me think there is no rule which keywords should be highlighted in which special color.
Just do like you want, maybe take an existing color scheme as basic to get some ideas.
There are some web pages displaying colorschemes for various languages, used by Textmade and VIM, take that for more ideas.
BTW, the highlight colors , ,… can be defined in the [Display] tab as Highlight (1), Highlight (2),…
>>>” I don’t want to customize this for one language and then have all the rest look like crap.”
If you utilize “Tools > Properties for Current Configuration”, you will work
only on the settings for one syntax highlighting profile. The other languages are not affected then.
( BTW, I answered your question one hour before you actually asked it [see posting timestamps] :D )
You must be logged in to reply to this topic.