From 5bb7472ed79317b3de426d3c915621095f7ef4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 28 Jun 2017 22:04:18 +0200 Subject: fset: use a pre-defined format when a format option is empty Using the pre-defined format (without eval) is about 3.5x faster. --- doc/ja/autogen/user/fset_options.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/ja/autogen/user') diff --git a/doc/ja/autogen/user/fset_options.adoc b/doc/ja/autogen/user/fset_options.adoc index f0689df82..95642b10a 100644 --- a/doc/ja/autogen/user/fset_options.adoc +++ b/doc/ja/autogen/user/fset_options.adoc @@ -393,13 +393,13 @@ ** デフォルト値: `+"/unset ${name}"+` * [[option_fset.format.option1]] *fset.format.option1* -** 説明: 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] +** 説明: 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] ** タイプ: 文字列 ** 値: 未制約文字列 -** デフォルト値: `+"${marked} ${name} ${type} ${value2}"+` +** デフォルト値: `+""+` * [[option_fset.format.option2]] *fset.format.option2* -** 説明: 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] +** 説明: 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] ** タイプ: 文字列 ** 値: 未制約文字列 ** デフォルト値: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` -- cgit v1.2.3