doc: add missing buffer properties in plugin API reference (hidden, zoomed, filter)

v2.8-utf8proc
Sébastien Helleu 2014-04-05 19:16:03 +02:00
parent 55d77ed216
commit 6438259310
4 changed files with 82 additions and 8 deletions

View File

@ -10275,11 +10275,17 @@ Arguments:
** 'num_displayed': number of windows displaying buffer
** 'active': 2 if buffer is the only active (merged), 1 if buffer is active,
0 if buffer is merged and not selected
** 'hidden': 1 if buffer is hidden, otherwise 0
_(WeeChat ≥ 0.4.4)_
** 'zoomed': 1 if buffer is merged and zoomed, otherwise 0
_(WeeChat ≥ 0.4.4)_
** 'print_hooks_enabled': 1 if print hooks are enabled, otherwise 0
** 'day_change': 1 if messages for the day change are displayed, otherwise 0
_(WeeChat ≥ 0.4.3)_
** 'clear': 1 if buffer can be cleared with command `/buffer clear`, otherwise 0
_(WeeChat ≥ 0.4.4)_
** 'filter': 1 if filters are enabled on buffer, otherwise 0
_(WeeChat ≥ 0.4.4)_
** 'lines_hidden': 1 if at least one line is hidden on buffer (filtered), or 0
if all lines are displayed
** 'prefix_max_length': max length for prefix in this buffer
@ -10465,7 +10471,7 @@ Properties:
priority: add buffer to hotlist with this priority +
"-1": remove buffer from hotlist _(WeeChat ≥ 0.4.4)_
| completion_freeze | "0", "1" |
| completion_freeze | "0" or "1" |
"0": no freeze of completion (default value)
(global setting, buffer pointer is not used) +
"1": do not stop completion when command line is updated
@ -10474,10 +10480,15 @@ Properties:
| unread | - |
Set unread marker after last line of buffer
| display | "1", "auto" |
| display | "1" or "auto" |
"1": switch to this buffer in current window +
"auto": switch to this buffer in current window, read marker is not reset
| hidden +
_(WeeChat ≥ 0.4.4)_ | "0" or "1" |
"0": unhide the buffer +
"1": hide the buffer
| number | number |
Move buffer to this number
@ -10512,6 +10523,11 @@ Properties:
(note: even when it is set to "0", the buffer can still be cleared with
the function <<_weechat_buffer_clear,weechat_buffer_clear>>)
| filter +
_(WeeChat ≥ 0.4.4)_ | "0" or "1" |
"0": disable filters on buffer +
"1": enable filters on buffer
| title | any string |
Set new title for buffer

View File

@ -10472,11 +10472,17 @@ Paramètres :
** 'num_displayed' : nombre de fenêtres affichant ce tampon
** 'active' : 2 si le tampon est le seul actif (mélangé), 1 si le tampon est
actif, 0 si le tampon est mélangé et n'est pas sélectionné
** 'hidden' : 1 si le tampon est caché, sinon 0
_(WeeChat ≥ 0.4.4)_
** 'zoomed' : 1 si le tampon est mélangé et zoomé, sinon 0
_(WeeChat ≥ 0.4.4)_
** 'print_hooks_enabled' : 1 si les hooks "print" sont activés, sinon 0
** 'day_change' : 1 si les messages de changement de jour sont affichés, sinon 0
_(WeeChat ≥ 0.4.3)_
** 'clear' : 1 si le tampon peut être effacé avec la commande `/buffer clear`,
sinon 0 _(WeeChat ≥ 0.4.4)_
** 'filter' : 1 si les filtres sont activés sur le tampon, sinon 0
_(WeeChat ≥ 0.4.4)_
** 'lines_hidden' : 1 si au moins une ligne est cachée dans le tampon
(filtrée), ou 0 si toutes les lignes sont affichées
** 'prefix_max_length' : longueur maximale du préfixe dans ce tampon
@ -10668,7 +10674,7 @@ Propriétés :
priorité : ajouter ce tampon dans la hotlist avec cette priorité +
"-1" : supprimer ce tampon de la hotlist _(WeeChat ≥ 0.4.4)_
| completion_freeze | "0", "1" |
| completion_freeze | "0" ou "1" |
"0" : pas de gel de la complétion (valeur par défaut)
(option globale, le pointeur vers le tampon n'est pas utilisé) +
"1" : ne pas arrêter la complétion lorsque la ligne de commande est mise à
@ -10677,11 +10683,16 @@ Propriétés :
| unread | - |
Définit le marqueur de données non lues après la dernière ligne du tampon
| display | "1", "auto" |
| display | "1" ou "auto" |
"1" : basculer vers ce tampon dans la fenêtre active +
"auto" : basculer vers ce tampon dans la fenêtre active, le marqueur de
données non lues n'est pas réinitialisé
| hidden +
_(WeeChat ≥ 0.4.4)_ | "0" ou "1" |
"0" : démasquer le tampon +
"1" : masquer le tampon
| number | numéro |
Déplace le tampon vers ce numéro
@ -10718,6 +10729,11 @@ Propriétés :
tampon peut toujours être effacé avec la fonction
<<_weechat_buffer_clear,weechat_buffer_clear>>)
| filter +
_(WeeChat ≥ 0.4.4)_ | "0" or "1" |
"0" : désactiver les filtres sur le tampon +
"1" : activer les filtres sur le tampon
| title | toute chaîne |
Change le titre du tampon

View File

@ -10537,6 +10537,12 @@ Argomenti:
// TRANSLATION MISSING
** 'active': 2 if buffer is the only active (merged), 1 se il buffer è attivo,
0 se il buffer è unito e non selezionato
// TRANSLATION MISSING
** 'hidden': 1 if buffer is hidden, otherwise 0
_(WeeChat ≥ 0.4.4)_
// TRANSLATION MISSING
** 'zoomed': 1 if buffer is merged and zoomed, otherwise 0
_(WeeChat ≥ 0.4.4)_
** 'print_hooks_enabled': 1 se gli hook sulla stampa sono abilitati,
altrimenti 0
// TRANSLATION MISSING
@ -10545,6 +10551,9 @@ Argomenti:
// TRANSLATION MISSING
** 'clear': 1 if buffer can be cleared with command `/buffer clear`, otherwise 0
_(WeeChat ≥ 0.4.4)_
// TRANSLATION MISSING
** 'filter': 1 if filters are enabled on buffer, otherwise 0
_(WeeChat ≥ 0.4.4)_
** 'lines_hidden': 1 se almeno una riga è nascosta sul buffer (filtrata),
oppure 0 se vengono visualizzate tutte le righe
** 'prefix_max_length': lunghezza massima del prefisso in questo buffer
@ -10744,7 +10753,7 @@ Properties:
"-1": remove buffer from hotlist _(WeeChat ≥ 0.4.4)_
// TRANSLATION MISSING
| completion_freeze | "0", "1" |
| completion_freeze | "0" oppure "1" |
"0": no freeze of completion (default value)
(impostazione globale, il puntatore al buffer non è utilizzato) +
"1": do not stop completion when command line is updated
@ -10753,11 +10762,17 @@ Properties:
| unread | - |
Imposta l'evidenziatore di lettura dopo l'ultima riga del buffer
| display | "1", "auto" |
| display | "1" oppure "auto" |
"1": passa a questo buffer nella finestra corrente +
"auto": passa a questo buffer nella finestra corrente, l'evidenziatore di
lettura non viene resettato
// TRANSLATION MISSING
| hidden +
_(WeeChat ≥ 0.4.4)_ | "0" oppure "1" |
"0": unhide the buffer +
"1": hide the buffer
| number | numero |
Sposta buffer a questo numero
@ -10796,6 +10811,12 @@ Properties:
(note: even when it is set to "0", the buffer can still be cleared with
the function <<_weechat_buffer_clear,weechat_buffer_clear>>)
// TRANSLATION MISSING
| filter +
_(WeeChat ≥ 0.4.4)_ | "0" or "1" |
"0": disable filters on buffer +
"1": enable filters on buffer
| title | qualsiasi stringa |
Imposta nuovo titolo per il buffer

View File

@ -10269,11 +10269,20 @@ int weechat_buffer_get_integer (struct t_gui_buffer *buffer,
** 'num_displayed': バッファを表示しているウィンドウの数
** 'active': バッファがマージされて選択されている場合は 2、バッファが選択されている場合は
1、バッファがマージされ選択されていない場合は 0
// TRANSLATION MISSING
** 'hidden': 1 if buffer is hidden, otherwise 0
_(WeeChat バージョン 0.4.4 以上で利用可)_
// TRANSLATION MISSING
** 'zoomed': 1 if buffer is merged and zoomed, otherwise 0
_(WeeChat バージョン 0.4.4 以上で利用可)_
** 'print_hooks_enabled': プリントフックが有効化されている場合は 1、そうでない場合は 0
** 'day_change': 日付変更メッセージを表示する場合は 1、そうでない場合は 0
_(WeeChat バージョン 0.4.3 以上で利用可)_
** 'clear': コマンド `/buffer clear` でバッファをクリアできる場合は 1、これ以外は 0
_(WeeChat バージョン 0.4.4 以上で利用可)_
// TRANSLATION MISSING
** 'filter': 1 if filters are enabled on buffer, otherwise 0
_(WeeChat バージョン 0.4.4 以上で利用可)_
** 'lines_hidden': バッファに非表示 (フィルタされた) メッセージが 1
行以上含まれる場合は 1、すべてのメッセージが表示冴えている場合は 0
** 'prefix_max_length': バッファプレフィックスの最大長
@ -10459,7 +10468,7 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
優先度: この優先度でホットリストにバッファを追加 +
"-1": ホットリストからバッファを削除 _(WeeChat バージョン 0.4.4 以上で利用可)_
| completion_freeze | "0", "1" |
| completion_freeze | "0" または "1" |
"0": 補完を止める (デフォルト)
(グローバル設定、バッファへのポインタは使われない) +
"1": コマンドラインが更新された際に補完を継続する
@ -10468,10 +10477,16 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
| unread | - |
バッファの最後の行の後に未読マーカーを設定
| display | "1", "auto" |
| display | "1" または "auto" |
"1": 指定したバッファを現在のウィンドウに表示 +
"auto": 指定したバッファを現在のウィンドウに表示、読了マーカーをリセットしない
// TRANSLATION MISSING
| hidden +
_(WeeChat バージョン 0.4.4 以上で利用可)_ | "0" または "1" |
"0": unhide the buffer +
"1": hide the buffer
| number | 番号 |
指定したバッファをこの番号に移動
@ -10506,6 +10521,12 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
(注意: この値が "0" に設定されていたとしても、関数
<<_weechat_buffer_clear,weechat_buffer_clear>> を使えばバッファをクリアすることが可能です)
// TRANSLATION MISSING
| filter +
_(WeeChat バージョン 0.4.4 以上で利用可)_ | "0" or "1" |
"0": disable filters on buffer +
"1": enable filters on buffer
| title | 任意の文字列 |
指定したバッファの新しいタイトルを設定