diff --git a/doc/editing.jax b/doc/editing.jax index 7e7f86816..523a7a52f 100644 --- a/doc/editing.jax +++ b/doc/editing.jax @@ -1,4 +1,4 @@ -*editing.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04 +*editing.txt* For Vim バージョン 9.1. Last change: 2025 Jun 25 VIMリファレンスマニュアル by Bram Moolenaar @@ -1326,20 +1326,19 @@ Motif上のVimでは同じ書式が使えるが、実際には1番目のパタ フィルタは、変数 b:browsefilter を設定することでバッファ毎に設定できる。 b:browsefilter はファイルタイププラグインで設定することが一番多いだろう。 するとファイルブラウザーダイアログには現在編集中のファイルのタイプに関連した候 -補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するた -めに、以下を追加することができる > +補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。これを克服するに +は、Windows で最終フィルターとして以下を追加する: > All Files\t(*.*)\t*\n < -Windows の最終フィルタとして、または > +または、他のプラットフォームでは以下のようにすると、ユーザーは引き続き必要な +ファイルにアクセスできるようになる: > All Files\t(*)\t*\n < -他のプラットフォームでも、ユーザーが必要なファイルに引き続きアクセスできるよう -にする。 Vim が browsefilter をサポートしていないときにそれを設定しないようにするには、 -has("browsefilter") が使える: > +has("browsefilter") を使用する: > if has("browsefilter") let g:browsefilter = "whatever" diff --git a/en/editing.txt b/en/editing.txt index dbb991e56..270cc9e24 100644 --- a/en/editing.txt +++ b/en/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 9.1. Last change: 2025 Jun 04 +*editing.txt* For Vim version 9.1. Last change: 2025 Jun 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1342,15 +1342,15 @@ b:browsefilter variable. You would most likely set b:browsefilter in a filetype plugin, so that the browse dialog would contain entries related to the type of file you are currently editing. Disadvantage: This makes it difficult to start editing a file of a different type. To overcome this, you -may want to add > +can add the following as the final filter on Windows: > All Files\t(*.*)\t*\n < -as the final filter on Windows or > +Or the following on other platforms, so that the user can still access any +desired file: > All Files\t(*)\t*\n < -on other platforms, so that the user can still access any desired file. To avoid setting browsefilter when Vim does not actually support it, you can use has("browsefilter"): >