HIGHLIGHT
Command: #highlight {string} {color names} {priority}
The highlight command is used to change the color of incoming text.
Available color options are:
reset - resets the color state to default
light - turns the color light.
dark - turns the color dark.
underscore - underscores the text.
blink - makes the text blink.
reverse - reverse foreground and background color.
b - makes next color the background color.
Available color names are:
<abd> - azure <acf> - Azure
<aad> - blue <aaf> - Blue
<add> - cyan <aff> - Cyan
<aaa> - ebony <bbb> - Ebony
<ada> - green <afa> - Green
<adb> - jade <afc> - Jade
<bda> - lime <cfa> - Lime
<dad> - magenta <faf> - Magenta
<dba> - orange <fca> - Orange
<dab> - pink <fac> - Pink
<daa> - red <faa> - Red
<ccc> - silver <eee> - Silver
<cba> - tan <eda> - Tan
<bad> - violet <caf> - Violet
<ddd> - white <fff> - White
<dda> - yellow <ffa> - Yellow
Colors can be provided as either a color code or one of the valid color
names. If the color name is in all lower case a dark color is printed.
If the first letter of the color name is capitalized a light color is
printed.
The %1-99 variables can be used as 'wildcards' that will match with any
text. They are useful for highlighting a complete line. The %0 variable
should never be used in highlights.
You may start the string to highlight with a ^ to only highlight text
if it begins the line.
Besides color names also <abc> color codes can be used.
Example: #high {Valgar} {reverse underscore Jade}
Prints every occurrence of 'Valgar' in underscored reverse video Jade.
Example: #high {^You{|r} %1} {light cyan}
Prints every line that starts with 'You' in light cyan.
Example: #high {Bubba} {red underscore b Green}
Highlights the name Bubba as red underscored text on green background.
Comment: See '#help action', for more information about triggers.
Comment: See '#help substitute', for more advanced color substitution.
Comment: This command only works with ANSI/VT100 terminals or emulators.
Comment: You can remove a highlight with the #unhighlight command.
Related: action, gag, prompt and substitute.
|