diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-28 21:47:13 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-28 21:47:13 +0000 |
commit | 95b74de316bdfa0f44cc772c620423bca117942e (patch) | |
tree | 63e97037504aae275775f10bbee42d1dc4382e03 /src/fe-common/core/hilight-text.h | |
parent | dc22d8830d48d4eec73c4b83681166476eaa76c1 (diff) | |
download | irssi-95b74de316bdfa0f44cc772c620423bca117942e.zip |
/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
Diffstat (limited to 'src/fe-common/core/hilight-text.h')
-rw-r--r-- | src/fe-common/core/hilight-text.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-common/core/hilight-text.h b/src/fe-common/core/hilight-text.h index 6e047278..c69be970 100644 --- a/src/fe-common/core/hilight-text.h +++ b/src/fe-common/core/hilight-text.h @@ -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); |