diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-28 22:04:18 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-28 22:04:18 +0200 |
commit | 5bb7472ed79317b3de426d3c915621095f7ef4f3 (patch) | |
tree | ed0f51edf35f846b2c227f9b84630b4c56003179 /doc/it | |
parent | 987ef9e45485fac3de052ee81ef0678296bbd86c (diff) | |
download | weechat-5bb7472ed79317b3de426d3c915621095f7ef4f3.zip |
fset: use a pre-defined format when a format option is empty
Using the pre-defined format (without eval) is about 3.5x faster.
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/autogen/user/fset_options.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/it/autogen/user/fset_options.adoc b/doc/it/autogen/user/fset_options.adoc index e290c8127..e0d9c9ac9 100644 --- a/doc/it/autogen/user/fset_options.adoc +++ b/doc/it/autogen/user/fset_options.adoc @@ -393,13 +393,13 @@ ** valore predefinito: `+"/unset ${name}"+` * [[option_fset.format.option1]] *fset.format.option1* -** descrizione: pass:none[first format of each line with an option which is not marked nor the selected one (note: content is evaluated, see /help fset); formats can be switched with key ctrl+X] +** descrizione: pass:none[first format of each line with an option which is not marked nor the selected one (note: content is evaluated, see /help fset); an empty string uses the predefined format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X] ** tipo: stringa ** valori: qualsiasi stringa -** valore predefinito: `+"${marked} ${name} ${type} ${value2}"+` +** valore predefinito: `+""+` * [[option_fset.format.option2]] *fset.format.option2* -** descrizione: pass:none[second format of each line with an option which is not marked not the selected one (note: content is evaluated, see /help fset); formats can be switched with key ctrl+X] +** descrizione: pass:none[second format of each line with an option which is not marked not the selected one (note: content is evaluated, see /help fset); an empty string uses the predefined format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X] ** tipo: stringa ** valori: qualsiasi stringa ** valore predefinito: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` |