kakoune/doc/manpages/faces.asciidoc

94 lines
1.9 KiB
Plaintext
Raw Normal View History

KAKOUNE(1)
==========
NAME
----
faces - a
Declaration
-----------
A 'face' refers how the specified text is displayed, it has a foreground color, a background color, and some
attributes. The value of a face has the following format:
--------------------------------
fg_color[,bg_color][+attributes]
--------------------------------
'fg_color', 'bg_color'::
a color whose value can be expressed in the following formats:
*black*, *red*, *green*, *yellow*, *blue*, *magenta*, *cyan*, *white*:::
a named color
*default*:::
keep the existing color
*rgb:RRGGBB*:::
hexadecimal value
'attributes'::
string whose individual letters set an attribute:
*u*:::
underline
*r*:::
reverse
*b*:::
bold
*B*:::
blink
*d*:::
dim
*i*:::
italic
*e*:::
exclusive, override previous faces instead of merging with them
Builtin faces
-------------
The following default faces are used by color schemes to highlight certains areas of the user interface:
*Default*::
default colors
*PrimarySelection*::
main selection face for every selected character except the cursor
*SecondarySelection*::
secondary selection face for every selected character except the cursor
*PrimaryCursor*::
cursor of the primary selection
*SecondaryCursor*::
cursor of the secondary selection
*LineNumbers*::
face used by the number_lines highlighter
*LineNumberAbsolute*::
face used to highlight the line number of the main selection
*MenuForeground*::
face for the selected element in menus
*MenuBackground*::
face for the not selected elements in menus
*Information*::
face for the informations windows and information messages
*Error*::
face of error messages
*StatusLine*::
face used for the status line
*StatusCursor*::
face used for the status line cursor
*Prompt*::
face used prompt displayed on the status line
*MatchingChar*::
face used by the show_matching highlighter
*Search*::
face used to highlight search results