From 771be1a3164fb91b48ddb9eac95bfae955b37cf9 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 16 Apr 2009 12:06:27 +0200 Subject: Add list of modifiers in developer guide --- doc/en/dev/plugin_c_api.en.xml | 89 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 87 insertions(+), 2 deletions(-) (limited to 'doc/en/dev') diff --git a/doc/en/dev/plugin_c_api.en.xml b/doc/en/dev/plugin_c_api.en.xml index 36a607b0f..051dfcc6e 100644 --- a/doc/en/dev/plugin_c_api.en.xml +++ b/doc/en/dev/plugin_c_api.en.xml @@ -6323,8 +6323,93 @@ struct t_hook *weechat_hook_modifier ( - : modifier name (you should look at - core and plugins doc to find name of existing modifiers) + : modifier name, list of modifiers used + by Weechat or plugins: + + + + + Plugin + Modifier + Modifier data + String + Output + + + + + charset + charset_decode + plugin.buffer_name + any string + string decoded from charset found for plugin/buffer to UTF-8 + + + charset + charset_encode + plugin.buffer_name + any string + string encoded from UTF-8 to charset found for plugin/buffer + + + irc + irc_color_decode + "1" to keep colors, "0" to remove colors + any string + string with WeeChat color codes, or without color + + + irc + irc_color_encode + "1" to keep colors, "0" to remove colors + any string, with user colors + string with IRC color codes, or without color + + + irc + irc_in_xxx (xxx is IRC command name) + server name + content of message received from IRC server + new content of message + + + irc + irc_out_xxx (xxx is IRC command name) + server name + content of message about to be sent to IRC server + new content of message + + + weechat + input_text_content + string with buffer pointer ("0x123..") + input buffer (from user) + new content of input buffer + + + weechat + input_text_display + string with buffer pointer ("0x123..") + input buffer (from user), without cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + input_text_display_with_cursor + string with buffer pointer ("0x123..") + input buffer (from user), with cursor tag + new content of input buffer, for display only (input buffer is not changed) + + + weechat + weechat_print + plugin;buffer_name;tags + message printed + new message printed + + + + -- cgit v1.2.3