mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
/HILIGHT changed. -nick option now tells to hilight only the nick, not
the whole line. -mask option matches the text for nick mask (it didn't even work before). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@391 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
dc22d8830d
commit
95b74de316
6 changed files with 64 additions and 56 deletions
|
|
@ -9,6 +9,7 @@ typedef struct {
|
|||
char *color; /* if starts with number, \003 is automatically
|
||||
inserted before it. */
|
||||
|
||||
int nick:1; /* hilight only the nick, not a full line - works only with msgs. */
|
||||
int nickmask:1; /* `text 'is a nick mask - colorify the nick */
|
||||
int fullword:1; /* match `text' only for full words */
|
||||
int regexp:1; /* `text' is a regular expression */
|
||||
|
|
@ -16,6 +17,8 @@ typedef struct {
|
|||
|
||||
extern GSList *hilights;
|
||||
|
||||
char *hilight_match(const char *channel, const char *nickmask, int level, const char *str);
|
||||
|
||||
void hilight_text_init(void);
|
||||
void hilight_text_deinit(void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue