Guides/Qt IDE/Configure/Styles

From J Wiki
< Guides‎ | Qt IDE‎ | Configure
Jump to: navigation, search
Overview  | Base  | Directory Match  | Folders  | Launch Pad  | Qt IDE  | Startup Script  | Styles  | User Keys

The Style page controls the text and background colors used to indicate selection and syntax-directed coloring.

The file is in the format of a Qt configuration file, containing lines of the form

name=color-with-decoration

divided by section markers, written in brackets.

color-with-decoration is 3 numbers giving the RGB of the color, optionally followed by one or more of the decorations bold and italic

In the [Edit] or [Term] section
Name of Color What it applies to Default
fore Unselected text 0 0 0 (black)
back The background color for unselected text, except for the edit line 221 252 222 (light yellow)
high The background color for the edit line (the line that has been selected for typing) 240 240 232 (off-white)
selt Selected text 255 255 255 (white)
selb The background color for selected text 0 162 232 (cyan)
In the [Class] section
Name of Color What it applies to Default
adverb Words with the indicated part of speech 221 68 68
comment 136 136 136 italic
conjunction 221 153 153
control 255 0 0
function 0 0 255
noun 0 0 255 bold
noundef 0 0 255
number 160 32 240
string 0 0 255
verb 0 153 102