diff --git a/doc/textprop.jax b/doc/textprop.jax index 802e3e99a..1413facc5 100644 --- a/doc/textprop.jax +++ b/doc/textprop.jax @@ -1,4 +1,4 @@ -*textprop.txt* For Vim バージョン 9.2. Last change: 2026 Apr 06 +*textprop.txt* For Vim バージョン 9.2. Last change: 2026 Apr 07 VIM リファレンスマニュアル by Bram Moolenaar @@ -508,7 +508,8 @@ Vimはテキストプロパティをそれが付加されたテキストの上 テキストが削除され、テキストプロパティにテキストが含まれなくなった場合は削除さ れる。ただし、行全体が削除されない限り、幅ゼロとして定義されたテキストプロパ -ティは残る。 +ティは残る。複数行の置換コマンドによって行が結合される場合、削除された行の仮想 +テキストプロパティは、結合された結果として生成される行に移動される。 *E275* バッファがアンロードされると、すべてのテキストプロパティがなくなる。プロパティ をファイルに保存する方法はない。再作成することしかできない。バッファが非表示 diff --git a/en/textprop.txt b/en/textprop.txt index f57a238e2..9fd5ff668 100644 --- a/en/textprop.txt +++ b/en/textprop.txt @@ -1,4 +1,4 @@ -*textprop.txt* For Vim version 9.2. Last change: 2026 Apr 06 +*textprop.txt* For Vim version 9.2. Last change: 2026 Apr 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -511,7 +511,9 @@ will move accordingly. When text is deleted and a text property no longer includes any text, it is deleted. However, a text property that was defined as zero-width will remain, -unless the whole line is deleted. +unless the whole line is deleted. When lines are joined by a multi-line +substitute command, virtual text properties on the deleted lines are moved to +the resulting joined line. *E275* When a buffer is unloaded, all the text properties are gone. There is no way to store the properties in a file. You can only re-create them. When a