Skip to content

Commit 6261195

Browse files
committed
Update textprop.{txt,jax}
1 parent 0d20960 commit 6261195

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

doc/textprop.jax

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*textprop.txt* For Vim バージョン 9.1. Last change: 2024 Jun 08
1+
*textprop.txt* For Vim バージョン 9.1. Last change: 2024 Sep 08
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -139,9 +139,10 @@ prop_add({lnum}, {col}, {props})
139139
bufnr プロパティを追加するバッファ。省略された場合、
140140
カレントバッファが使用される
141141
id プロパティのユーザー定義 ID。数値かつ正の値で
142-
ある必要がある。"text" を使用する場合、"id" は
143-
存在してはならず、自動的に負の数値に設定され
144-
る。それ以外の場合はゼロが使用される。
142+
ある必要がある |E1510|
143+
"text" を使用する場合、"id" は存在してはなら
144+
ず、自動的に負の数値に設定される。それ以外の場
145+
合はゼロが使用される。
145146
*E1305*
146147
text {col} の前、または {col} がゼロの場合は行の上/
147148
下に表示されるテキスト。ハイライトによるパディ
@@ -268,7 +269,7 @@ prop_add_list({props}, [{item}, ...]) *prop_add_list()*
268269
call prop_add_list(#{type: 'MyProp', id: 2},
269270
\ [[1, 4, 1, 7],
270271
\ [1, 15, 1, 20],
271-
\ [2, 30, 3, 30]]
272+
\ [2, 30, 3, 30]])
272273
<
273274
|method| としても使用できる: >
274275
GetProp()->prop_add_list([[1, 1, 1, 2], [1, 4, 1, 8]])

en/textprop.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*textprop.txt* For Vim version 9.1. Last change: 2024 Jun 08
1+
*textprop.txt* For Vim version 9.1. Last change: 2024 Sep 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -140,10 +140,10 @@ prop_add({lnum}, {col}, {props})
140140
bufnr buffer to add the property to; when omitted
141141
the current buffer is used
142142
id user defined ID for the property; must be a
143-
number, should be positive; when using "text"
144-
then "id" must not be present and will be set
145-
automatically to a negative number; otherwise
146-
zero is used
143+
number, should be positive |E1510|;
144+
when using "text" then "id" must not be
145+
present and will be set automatically to a
146+
negative number; otherwise zero is used
147147
*E1305*
148148
text text to be displayed before {col}, or
149149
above/below the line if {col} is zero; prepend
@@ -271,7 +271,7 @@ prop_add_list({props}, [{item}, ...]) *prop_add_list()*
271271
call prop_add_list(#{type: 'MyProp', id: 2},
272272
\ [[1, 4, 1, 7],
273273
\ [1, 15, 1, 20],
274-
\ [2, 30, 3, 30]]
274+
\ [2, 30, 3, 30]])
275275
<
276276
Can also be used as a |method|: >
277277
GetProp()->prop_add_list([[1, 1, 1, 2], [1, 4, 1, 8]])

0 commit comments

Comments
 (0)