> The colorschemes seem to do the job.

Yep, thats the approved method for users to specify colours.

The sequence is:

1. `highlighting` maps the Scintilla style numbers to syntactic entity names 
for each lexer, and 

2. `filetypes.common` defines named styles and default styles for them (this is 
Geany's default colour scheme), and

3. the individual filetype files map syntactic entity names used by that 
filetypes lexer to named styles, and

4. the colour scheme can override the default styles from `filetypes.common` 
for the named styles

If a user wants different colours for the same syntactic entity in different 
filetypes they can create new named styles and only use them in some filetypes 
files, or replace the mapping in the filetype files between entities and style 
names with a literal style if they only want to change one filetype.

There is no API because setting it programatically would break this 
configuration scheme.  



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2331#issuecomment-537265651

Reply via email to