diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-11-08 20:34:04 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-11-08 20:34:04 +0100 |
commit | 24665ae87855bdcd016c53fe048c940212938b69 (patch) | |
tree | 9adbc49ddbebd69551702f77abd5b3d3a7f3b4e8 /doc | |
parent | 2e4a033f0d7f58c87ac61e559bda6e206e5128e0 (diff) | |
download | weechat-24665ae87855bdcd016c53fe048c940212938b69.zip |
core: add signals "buffer_user_{input|closing}_xxx" for buffers created with `/buffer add` (closes #1848)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 13 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 12 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 12 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 12 | ||||
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 12 |
5 files changed, 60 insertions, 1 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 046f66724..ae5fce9f7 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -10959,6 +10959,16 @@ List of signals sent by WeeChat and plugins: | Pointer: buffer. | Merged buffer unzoomed. +| weechat | [[hook_signal_buffer_user_input_xxx]] buffer_user_input_xxx ^(2)^ | 3.8 +| String: text sent to buffer. +| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). + + If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q" + can not be used any more to close the buffer. + +| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8 +| - +| User buffer is closing (sent only for buffers created with `/buffer add`). + | weechat | [[hook_signal_cursor_start]] cursor_start | 3.2 | - | Start cursor mode. @@ -11198,7 +11208,8 @@ List of signals sent by WeeChat and plugins: |=== [NOTE] -^(1)^ _xxx_ is IRC server name, _yyy_ is IRC command name. +^(1)^ _xxx_ is IRC server name, _yyy_ is IRC command name. + +^(2)^ _xxx_ is buffer name. C example: diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index d1600a3de..442fa49c6 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -11180,6 +11180,18 @@ Liste des signaux envoyés par WeeChat et les extensions : | Pointeur : tampon. | Fin du zoom sur un tampon mélangé. +| weechat | [[hook_signal_buffer_user_input_xxx]] buffer_user_input_xxx ^(2)^ | 3.8 +| Chaîne : texte envoyé au tampon. +| Texte envoyé au tampon utilisateur (envoyé seulement sur les tampons créés + avec `/buffer add`). + + Si le code retour d'une fonction de rappel est _WEECHAT_RC_OK_EAT_, alors + la chaîne "q" ne peut plus être utilisée pour fermer le tampon. + +| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8 +| - +| Fermeture du tampon utilisateur en cours (envoyé seulement sur les tampons créés + avec `/buffer add`). + | weechat | [[hook_signal_cursor_start]] cursor_start | 3.2 | - | Début du mode curseur. diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 3d778bc61..e905abbfc 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -11374,6 +11374,18 @@ List of signals sent by WeeChat and plugins: | Merged buffer unzoomed. // TRANSLATION MISSING +| weechat | [[hook_signal_buffer_user_input_xxx]] buffer_user_input_xxx ^(2)^ | 3.8 +| String: text sent to buffer. +| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). + + If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q" + can not be used any more to close the buffer. + +// TRANSLATION MISSING +| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8 +| - +| User buffer is closing (sent only for buffers created with `/buffer add`). + +// TRANSLATION MISSING | weechat | [[hook_signal_cursor_start]] cursor_start | 3.2 | - | Start cursor mode. diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 26f86fd89..5ac8b531c 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -11022,6 +11022,18 @@ WeeChat とプラグインが送信するシグナルのリスト: | マージされたバッファをアンズーム // TRANSLATION MISSING +| weechat | [[hook_signal_buffer_user_input_xxx]] buffer_user_input_xxx ^(2)^ | 3.8 +| String: text sent to buffer. +| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). + + If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q" + can not be used any more to close the buffer. + +// TRANSLATION MISSING +| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8 +| - +| User buffer is closing (sent only for buffers created with `/buffer add`). + +// TRANSLATION MISSING | weechat | [[hook_signal_cursor_start]] cursor_start | 3.2 | - | Start cursor mode. diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index 6c22fc646..c05ba5361 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -10602,6 +10602,18 @@ struct t_hook *weechat_hook_signal (const char *signal, | Показивач: бафер. | Одзумиран је спојени бафер. +// TRANSLATION MISSING +| weechat | [[hook_signal_buffer_user_input_xxx]] buffer_user_input_xxx ^(2)^ | 3.8 +| String: text sent to buffer. +| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). + + If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q" + can not be used any more to close the buffer. + +// TRANSLATION MISSING +| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8 +| - +| User buffer is closing (sent only for buffers created with `/buffer add`). + | weechat | [[hook_signal_cursor_start]] cursor_start | 3.2 | - | Почетак режима померања курсора. |