Skip to content

Commit e04dcac

Browse files
authored
Merge pull request #2573 from h-east/update-textprop
Update textprop.{txt,jax}
2 parents a7d0d5c + 1c2bff6 commit e04dcac

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

doc/textprop.jax

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*textprop.txt* For Vim バージョン 9.2. Last change: 2026 Apr 06
1+
*textprop.txt* For Vim バージョン 9.2. Last change: 2026 Apr 07
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -508,7 +508,8 @@ Vimはテキストプロパティをそれが付加されたテキストの上
508508

509509
テキストが削除され、テキストプロパティにテキストが含まれなくなった場合は削除さ
510510
れる。ただし、行全体が削除されない限り、幅ゼロとして定義されたテキストプロパ
511-
ティは残る。
511+
ティは残る。複数行の置換コマンドによって行が結合される場合、削除された行の仮想
512+
テキストプロパティは、結合された結果として生成される行に移動される。
512513
*E275*
513514
バッファがアンロードされると、すべてのテキストプロパティがなくなる。プロパティ
514515
をファイルに保存する方法はない。再作成することしかできない。バッファが非表示

en/textprop.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*textprop.txt* For Vim version 9.2. Last change: 2026 Apr 06
1+
*textprop.txt* For Vim version 9.2. Last change: 2026 Apr 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -511,7 +511,9 @@ will move accordingly.
511511

512512
When text is deleted and a text property no longer includes any text, it is
513513
deleted. However, a text property that was defined as zero-width will remain,
514-
unless the whole line is deleted.
514+
unless the whole line is deleted. When lines are joined by a multi-line
515+
substitute command, virtual text properties on the deleted lines are moved to
516+
the resulting joined line.
515517
*E275*
516518
When a buffer is unloaded, all the text properties are gone. There is no way
517519
to store the properties in a file. You can only re-create them. When a

0 commit comments

Comments
 (0)