summaryrefslogtreecommitdiff
path: root/docs/help/in/hilight.in
diff options
context:
space:
mode:
authorGeert Hauwaerts <geert@hauwaerts.be>2014-07-05 22:16:35 +0200
committerGeert Hauwaerts <geert@hauwaerts.be>2014-07-05 22:16:35 +0200
commit591e10b3b638b0d152cf62bc08a77b0764810fa2 (patch)
tree57cba3f4a3b978f8fe8d11ef5e5c90bb9b4cfad2 /docs/help/in/hilight.in
parent1be75a4bef76e66e1a66b781c75d2627754a232d (diff)
downloadirssi-591e10b3b638b0d152cf62bc08a77b0764810fa2.zip
Syntax documentation rewrite for H-I-commands
Diffstat (limited to 'docs/help/in/hilight.in')
-rw-r--r--docs/help/in/hilight.in53
1 files changed, 31 insertions, 22 deletions
diff --git a/docs/help/in/hilight.in b/docs/help/in/hilight.in
index 89842933..94660a21 100644
--- a/docs/help/in/hilight.in
+++ b/docs/help/in/hilight.in
@@ -1,32 +1,41 @@
+%9Syntax:%9
+
@SYNTAX:hilight@
- -mask: Match only for nick, <text> is a nick mask
- -regexp: <text> is a regular expression
- -full: <text> must match to full words
- -nick: Hilight only the nick, not the whole line (default)
- -word: Hilight only the word (default with non-public messages)
- -line: Hilight the whole line with the hilight color.
- -color: Print the message with <color>. color is in %%code format
- (see docs/formats.txt)
- -actcolor: Color to show in statusbar activity, or don't change if %%n.
- -level: Match only for <level> messages, default is
- publics,msgs,notices,actions
- -channels: Match only in <channels> (comma separated list)
- -priority: Priority to use when multiple hilights match. Default is 0.
+%9Parameters:%9
+
+ -nick: Highlights only the nickname and not the whole line.
+ -word: Highlights only the word and not the whole line.
+ -line: Highlights the whole line.
+ -mask: Highlights all messages from users matching the mask.
+ -full: The text must match the full word.
+ -regexp: The text is a regular expression.
+ -color: The color the display the highlight in.
+ -actcolor: The color to mark the highlight activity in the statusbar.
+ -level: Matches only on the given message level.
+ -channels: Matches only on the given channels.
+ -priority: The priority to use when multiple highlights match.
+
+ The text to highlight on; if no argument is given, the list of highlights
+ will be displayed.
+
+%9Description:%9
-Examples:
+ Highlights the keyword or pattern to make sure that you don't miss any
+ important messages.
-Hilight lines that have "mynick" word:
- /HILIGHT mynick
+%9Examples:%9
-Hilight all messages from "mynick":
- /HILIGHT -mask mynick!*@*
+ /HILIGHT
+ /HILIGHT mike
+ /HILIGHT -regexp mi+ke+
+ /HILIGHT -mask bob!*@*.google.com -color %%G
+ /HILIGHT -full -color %%G -actcolor %%Y redbull
-Hilight lines that were written by nicks from *.fi with bold green
- /HILIGHT -color %%G -mask *!*@*.fi
+%9References:%9
-For regular expressions, see `man 7 regex`.
+ https://github.com/irssi/irssi/blob/master/docs/formats.txt
-See also: DEHILIGHT, SET HILIGHT
+%9See also:%9 DEHILIGHT, LEVELS