Skip to content

Commit 31c8150

Browse files
authored
Merge pull request #1417 from mityu/update-editing
Update editing.{txt,jax}
2 parents c9d1c5f + 9deb26d commit 31c8150

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

doc/editing.jax

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim バージョン 9.1. Last change: 2023 Sep 27
1+
*editing.txt* For Vim バージョン 9.1. Last change: 2024 Jan 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1316,8 +1316,9 @@ Motif上のVimでは同じ書式が使えるが、実際には1番目のパタ
13161316
b:browsefilter はファイルタイププラグインで設定することが一番多いだろう。
13171317
するとファイルブラウザーダイアログには現在編集中のファイルのタイプに関連した候
13181318
補が表示される。弊害: 別の種類のファイルの編集が始め辛くなる。対策は、フィルタ
1319-
の最後の項目に "All Files\t*.*\n" を加え、ユーザーが望みのファイルにアクセスで
1320-
きる道を残すことだ。
1319+
の最後の項目に Windows では "All Files (*.*)\t*\n" を、他のプラットフォームで
1320+
は "All Files (*)\t*\n" を加え、ユーザーが望みのファイルにアクセスできる道を残
1321+
すことだ。
13211322

13221323
Vim が browsefilter をサポートしていないときにそれを設定しないようにするには、
13231324
has("browsefilter") が使える: >

en/editing.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 9.1. Last change: 2023 Sep 27
1+
*editing.txt* For Vim version 9.1. Last change: 2024 Jan 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1329,8 +1329,9 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
13291329
filetype plugin, so that the browse dialog would contain entries related to
13301330
the type of file you are currently editing. Disadvantage: This makes it
13311331
difficult to start editing a file of a different type. To overcome this, you
1332-
may want to add "All Files\t*.*\n" as the final filter, so that the user can
1333-
still access any desired file.
1332+
may want to add "All Files (*.*)\t*\n" as the final filter on Windows or "All
1333+
Files (*)\t*\n" on other platforms, so that the user can still access any
1334+
desired file.
13341335

13351336
To avoid setting browsefilter when Vim does not actually support it, you can
13361337
use has("browsefilter"): >

0 commit comments

Comments
 (0)