Skip to content

Commit 856427e

Browse files
authored
Merge pull request #406 from vim-jp/update_textprop
Update textprop.{txt,jax}
2 parents 0565f61 + 859346f commit 856427e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/textprop.jax

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*textprop.txt* For Vim バージョン 8.1. Last change: 2018 Dec 13
1+
*textprop.txt* For Vim バージョン 8.1. Last change: 2018 Dec 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -104,11 +104,11 @@ prop_type_list([{props}]) プロパティタイプ一覧を取得
104104
テキストプロパティの操作:
105105

106106
prop_add({lnum}, {col}, {props}) テキストプロパティを追加
107-
prop_clear({lnum} [, {lnum_end} [, {bufnr}]])
107+
prop_clear({lnum} [, {lnum-end} [, {bufnr}]])
108108
全てのテキストプロパティを削除
109109
prop_find({props} [, {direction}]) テキストプロパティを検索
110110
prop_list({lnum} [, {props}) 行番号{lnum}のテキストプロパティを取得
111-
prop_remove({props} [, {lnum} [, {lnum_end}]])
111+
prop_remove({props} [, {lnum} [, {lnum-end}]])
112112
テキストプロパティを削除
113113

114114

en/textprop.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 13
1+
*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -72,8 +72,8 @@ Suppose line 11 in a buffer has this text (excluding the indent):
7272

7373
To highlight the numbers: >
7474
call prop_type_add('number', {'highlight': 'Constant'})
75-
call prop_add(11, 12, {'length': 3, 'type': 'number})
76-
call prop_add(11, 32, {'length': 4, 'type': 'number})
75+
call prop_add(11, 12, {'length': 3, 'type': 'number'})
76+
call prop_add(11, 32, {'length': 4, 'type': 'number'})
7777
7878
Setting "start_incl" and "end_incl" is useful when white space surrounds the
7979
text, e.g. for a function name. Using false is useful when the text starts
@@ -86,7 +86,7 @@ and/or ends with a specific character, such as the quote surrounding a string.
8686
^^^^^^ property with start_incl and end_incl not set
8787

8888
Nevertheless, when text is inserted or deleted the text may need to be parsed
89-
and the text properties updated. But this can be done asynchrnously.
89+
and the text properties updated. But this can be done asynchronously.
9090

9191
==============================================================================
9292
2. Functions *text-prop-functions*

0 commit comments

Comments
 (0)