1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

Add property "no_highlight_nicks" in buffers to disable highlight for some nicks in buffer

This can be used with script buffer_autoset.py (see /help autosetbuffer).
This commit is contained in:
Sebastien Helleu
2010-10-11 16:29:15 +02:00
parent f32e18c717
commit fe2a361364
8 changed files with 195 additions and 4 deletions
+3
View File
@@ -162,6 +162,7 @@ struct t_gui_buffer
int highlight_tags_count; /* number of tags to highlight */
/* (if 0, any tag is highlighted) */
char **highlight_tags_array; /* tags to highlight */
struct t_hashtable *no_highlight_nicks; /* nicks to NOT highlight */
/* keys associated to buffer */
struct t_gui_key *keys; /* keys specific to buffer */
@@ -231,6 +232,8 @@ extern void gui_buffer_set_highlight_words (struct t_gui_buffer *buffer,
const char *new_highlight_words);
extern void gui_buffer_set_highlight_tags (struct t_gui_buffer *buffer,
const char *new_highlight_tags);
extern void gui_buffer_set_no_highlight_nicks (struct t_gui_buffer *buffer,
const char *new_no_highlight_nicks);
extern void gui_buffer_set_unread (struct t_gui_buffer *buffer);
extern void gui_buffer_set (struct t_gui_buffer *buffer, const char *property,
const char *value);