Skip to content

Commit 00d9818

Browse files
committed
Update eval.{txt,jax}
1 parent 1edc989 commit 00d9818

File tree

2 files changed

+82
-32
lines changed

2 files changed

+82
-32
lines changed

doc/eval.jax

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim バージョン 8.1. Last change: 2019 Jan 06
1+
*eval.txt* For Vim バージョン 8.1. Last change: 2019 Jan 11
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2278,7 +2278,7 @@ prop_clear({lnum} [, {lnum-end} [, {props}]])
22782278
なし 全てのテキストプロパティを削除
22792279
prop_find({props} [, {direction}])
22802280
辞書 テキストプロパティを検索する
2281-
prop_list({lnum} [, {props}) リスト {lnum}行目のテキストプロパティを取得
2281+
prop_list({lnum} [, {props}) リスト {lnum}行目のテキストプロパティを取得
22822282
prop_remove({props} [, {lnum} [, {lnum-end}]])
22832283
数値 テキストプロパティを削除
22842284
prop_type_add({name}, {props}) なし 新しいプロパティタイプを定義
@@ -2371,6 +2371,8 @@ sign_define({name} [, {dict}]) 数値 目印を定義または更新する
23712371
sign_getdefined([{name}]) リスト 定義されている目印のリストを取得する
23722372
sign_getplaced([{expr} [, {dict}]])
23732373
リスト 設置されている目印のリストを取得する
2374+
sign_jump({id}, {group}, {expr})
2375+
数値 目印に移動する
23742376
sign_place({id}, {group}, {name}, {expr} [, {dict}])
23752377
数値 目印を設置する
23762378
sign_undefine([{name}]) 数値 目印を削除する
@@ -4686,7 +4688,7 @@ getloclist({nr} [, {what}]) *getloclist()*
46864688
{what} が 'filewinid' を含む場合、ロケーションリスト中のファイ
46874689
ルを表示するのに使われているウィンドウの ID を返す。このフィー
46884690
ルドはロケーションリストウィンドウから呼び出されたときのみ適用
4689-
される。
4691+
される。詳細は |location-list-file-window| を参照。
46904692

46914693
getmatches() *getmatches()*
46924694
|matchadd()| と |:match| により定義された全てのマッチの |List|
@@ -4774,7 +4776,9 @@ getqflist([{what}]) *getqflist()*
47744776
id |quickfix-ID|に対応するquickfixリストの情報を
47754777
取得。0 は現在のリストもしくは "nr" で指定され
47764778
たリストのidを意味する
4777-
idx リスト内の現在のエントリのインデックス
4779+
idx 'id' または 'nr' で指定されたquickfixリスト内
4780+
の現在のエントリのインデックス。
4781+
|quickfix-index| を参照
47784782
items quickfixリストのエントリ
47794783
lines 'efm' を使用して行のリストをパースし、結果のエ
47804784
ントリを返す。|List| 型のみを受け付ける。現在
@@ -6586,7 +6590,7 @@ prop_find({props} [, {direction}])
65866590
テキストプロパティについては、|text-properties| を参照。
65876591

65886592

6589-
prop_list({lnum} [, {props}]) *prop_list()*
6593+
prop_list({lnum} [, {props}]) *prop_list()*
65906594
{lnum}行のすべてのテキストプロパティを持つリストを返す。
65916595

65926596
{props}に "bufnr" 項目が含まれている場合は、カレントバッファの
@@ -7467,16 +7471,22 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()*
74677471
efm "lines" からテキストをパースするときに使うエ
74687472
ラーフォーマット。存在しない場合はオプション
74697473
'errorformat' の値が使用される。
7474+
|quickfix-parse| を参照
74707475
id quickfix リスト識別子 |quickfix-ID|
7476+
idx 'id' または 'nr' で指定されたquickfixリスト内
7477+
の現在のエントリのインデックス。'$' に設定する
7478+
と、リストの最後のエントリが現在のエントリとし
7479+
て設定される。|quickfix-index| を参照。
74717480
items quickfix エントリのリスト。引数 {list} と同じ。
74727481
lines 行のリストをパースするのに 'errorformat' を使
74737482
用し、結果のエントリを quickfix リスト {nr} も
74747483
しくは {id} に加える。|List| 値だけがサポート
7475-
される。
7484+
される。|quickfix-parse| を参照
74767485
nr quickfix スタックでのリスト番号; 0 は現在の
74777486
quickfix リストを意味し、"$" は最後の quickfix
7478-
リストを意味する
7479-
title quickfix リストのタイトルテキスト
7487+
リストを意味する。
7488+
title quickfix リストのタイトルテキスト。
7489+
|quickfix-title| を参照
74807490
{what} 内でのサポートされていないキーは無視される。
74817491
"nr" 番目のアイテムが提供されていない場合は現在の quickfix リ
74827492
ストが変更される。新しい quickfix リストを作成するときは、"nr"
@@ -7758,6 +7768,20 @@ sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()*
77587768

77597769
" 設置されているすべての目印のリストを取得する
77607770
echo sign_getplaced()
7771+
<
7772+
*sign_jump()*
7773+
sign_jump({id}, {group}, {expr})
7774+
バッファ{expr}を開くか、{expr}を含むウィンドウに移動して、グ
7775+
ループ{group}の目印{id}にカーソルを置く。これは |:sign-jump|
7776+
コマンドに似ている。
7777+
7778+
{expr}の使い方については |bufname()| を参照。
7779+
7780+
目印の行番号を返す。引数が無効な場合は -1 を返す。
7781+
7782+
例: >
7783+
" 現在のバッファの目印ID 10 へ移動する
7784+
call sign_jump(10, '', '')
77617785
<
77627786
*sign_place()*
77637787
sign_place({id}, {group}, {name}, {expr} [, {dict}])
@@ -7769,8 +7793,8 @@ sign_place({id}, {group}, {name}, {expr} [, {dict}])
77697793
外の場合は、指定された番号が使用される。{group}は目印グループ
77707794
名である。グローバルサイングループを使用するには、空の文字列を
77717795
使用する。{group}は{id}の名前空間として機能するため、2つのグ
7772-
ループが同じIDを使用できる。詳細については|sign-identifier|
7773-
参照
7796+
ループが同じIDを使用できる。詳細については |sign-identifier|
7797+
と |sign-group| を参照
77747798

77757799
{name}は定義済みの目印を参照する。
77767800
{expr}はバッファの名前か番号を参照する。許容値については、
@@ -9783,8 +9807,9 @@ vim_starting Vimの初期化プロセス中は真となる。|startup|
97839807
*vim_starting*
97849808
viminfo viminfoをサポート
97859809
virtualedit オプション 'virtualedit' をサポート
9786-
visual ビジュアルモードをサポート
9787-
visualextra 拡張ビジュアルモードをサポート |blockwise-operators|
9810+
visual ビジュアルモードをサポート (常に true)
9811+
visualextra 拡張ビジュアルモードをサポート (常に true)
9812+
|blockwise-operators|
97889813
vms VMSバージョン
97899814
vreplace コマンド|gR|と|gr|をサポート
97909815
vtp vcon をサポート |+vtp| (現在のコンソール内で機能するか

en/eval.txt

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.1. Last change: 2019 Jan 06
1+
*eval.txt* For Vim version 8.1. Last change: 2019 Jan 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2322,7 +2322,7 @@ prop_clear({lnum} [, {lnum-end} [, {props}]])
23222322
none remove all text properties
23232323
prop_find({props} [, {direction}])
23242324
Dict search for a text property
2325-
prop_list({lnum} [, {props}) List text properties in {lnum}
2325+
prop_list({lnum} [, {props}) List text properties in {lnum}
23262326
prop_remove({props} [, {lnum} [, {lnum-end}]])
23272327
Number remove a text property
23282328
prop_type_add({name}, {props}) none define a new property type
@@ -2412,6 +2412,8 @@ sign_define({name} [, {dict}]) Number define or update a sign
24122412
sign_getdefined([{name}]) List get a list of defined signs
24132413
sign_getplaced([{expr} [, {dict}]])
24142414
List get a list of placed signs
2415+
sign_jump({id}, {group}, {expr})
2416+
Number jump to a sign
24152417
sign_place({id}, {group}, {name}, {expr} [, {dict}])
24162418
Number place a sign
24172419
sign_undefine([{name}]) Number undefine a sign
@@ -3977,7 +3979,7 @@ feedkeys({string} [, {mode}]) *feedkeys()*
39773979
stuck, waiting for a character to be typed before the
39783980
script continues.
39793981
Note that if you manage to call feedkeys() while
3980-
executing commands, thus calling it recursively, the
3982+
executing commands, thus calling it recursively, then
39813983
all typehead will be consumed by the last call.
39823984
'!' When used with 'x' will not end Insert mode. Can be
39833985
used in a test when a timer is set to exit Insert mode
@@ -4792,7 +4794,7 @@ getloclist({nr} [, {what}]) *getloclist()*
47924794
If {what} contains 'filewinid', then returns the id of the
47934795
window used to display files from the location list. This
47944796
field is applicable only when called from a location list
4795-
window.
4797+
window. See |location-list-file-window| for more details.
47964798

47974799
getmatches() *getmatches()*
47984800
Returns a |List| with all matches previously defined by
@@ -4883,7 +4885,9 @@ getqflist([{what}]) *getqflist()*
48834885
id get information for the quickfix list with
48844886
|quickfix-ID|; zero means the id for the
48854887
current list or the list specified by "nr"
4886-
idx index of the current entry in the list
4888+
idx index of the current entry in the quickfix
4889+
list specified by 'id' or 'nr'.
4890+
See |quickfix-index|
48874891
items quickfix list entries
48884892
lines parse a list of lines using 'efm' and return
48894893
the resulting entries. Only a |List| type is
@@ -5082,7 +5086,7 @@ getwinpos([{timeout}]) *getwinpos()*
50825086
When using a value less than 10 and no response is received
50835087
within that time, a previously reported position is returned,
50845088
if available. This can be used to poll for the position and
5085-
do some work in the mean time: >
5089+
do some work in the meantime: >
50865090
while 1
50875091
let res = getwinpos(1)
50885092
if res[0] >= 0
@@ -6334,7 +6338,7 @@ mode([expr]) Return a string that indicates the current mode.
63346338
nov Operator-pending (forced characterwise |o_v|)
63356339
noV Operator-pending (forced linewise |o_V|)
63366340
noCTRL-V Operator-pending (forced blockwise |o_CTRL-V|);
6337-
CTRL-V is one character
6341+
CTRL-V is one character
63386342
niI Normal using |i_CTRL-O| in |Insert-mode|
63396343
niR Normal using |i_CTRL-O| in |Replace-mode|
63406344
niV Normal using |i_CTRL-O| in |Virtual-Replace-mode|
@@ -6706,12 +6710,12 @@ prop_add({lnum}, {col}, {props})
67066710
for a property that does not continue in
67076711
another line; can be zero
67086712
end_lnum line number for the end of text
6709-
end_col column just after the text; not used when "length"
6710-
is present; when {col} and "end_col" are
6711-
equal, and "end_lnum" is omitted or equal to
6712-
{lnum}, this is a zero-width text property
6713+
end_col column just after the text; not used when
6714+
"length" is present; when {col} and "end_col"
6715+
are equal, and "end_lnum" is omitted or equal
6716+
to {lnum}, this is a zero-width text property
67136717
bufnr buffer to add the property to; when omitted
6714-
the current buffer is used
6718+
the current buffer is used
67156719
id user defined ID for the property; when omitted
67166720
zero is used
67176721
type name of the text property type
@@ -6756,7 +6760,7 @@ prop_find({props} [, {direction}])
67566760
start position with "lnum" and "col"
67576761
must be given; when omitted the
67586762
current buffer is used
6759-
lnum" start in this line (when omitted start
6763+
lnum start in this line (when omitted start
67606764
at the cursor)
67616765
col start at this column (when omitted
67626766
and "lnum" is given: use column 1,
@@ -6774,7 +6778,7 @@ prop_find({props} [, {direction}])
67746778
See |text-properties| for information about text properties.
67756779

67766780

6777-
prop_list({lnum} [, {props}]) *prop_list()*
6781+
prop_list({lnum} [, {props}]) *prop_list()*
67786782
Return a List with all text properties in line {lnum}.
67796783

67806784
When {props} contains a "bufnr" item, use this buffer instead
@@ -7699,16 +7703,22 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()*
76997703
efm errorformat to use when parsing text from
77007704
"lines". If this is not present, then the
77017705
'errorformat' option value is used.
7706+
See |quickfix-parse|
77027707
id quickfix list identifier |quickfix-ID|
7708+
idx index of the current entry in the quickfix
7709+
list specified by 'id' or 'nr'. If set to '$',
7710+
then the last entry in the list is set as the
7711+
current entry. See |quickfix-index|
77037712
items list of quickfix entries. Same as the {list}
77047713
argument.
77057714
lines use 'errorformat' to parse a list of lines and
77067715
add the resulting entries to the quickfix list
77077716
{nr} or {id}. Only a |List| value is supported.
7717+
See |quickfix-parse|
77087718
nr list number in the quickfix stack; zero
77097719
means the current quickfix list and "$" means
7710-
the last quickfix list
7711-
title quickfix list title text
7720+
the last quickfix list.
7721+
title quickfix list title text. See |quickfix-title|
77127722
Unsupported keys in {what} are ignored.
77137723
If the "nr" item is not present, then the current quickfix list
77147724
is modified. When creating a new quickfix list, "nr" can be
@@ -7997,6 +8007,21 @@ sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()*
79978007
79988008
" Get a List of all the placed signs
79998009
echo sign_getplaced()
8010+
<
8011+
*sign_jump()*
8012+
sign_jump({id}, {group}, {expr})
8013+
Open the buffer {expr} or jump to the window that contains
8014+
{expr} and position the cursor at sign {id} in group {group}.
8015+
This is similar to the |:sign-jump| command.
8016+
8017+
For the use of {expr}, see |bufname()|.
8018+
8019+
Returns the line number of the sign. Returns -1 if the
8020+
arguments are invalid.
8021+
8022+
Example: >
8023+
" Jump to sign 10 in the current buffer
8024+
call sign_jump(10, '', '')
80008025
<
80018026
*sign_place()*
80028027
sign_place({id}, {group}, {name}, {expr} [, {dict}])
@@ -8009,7 +8034,7 @@ sign_place({id}, {group}, {name}, {expr} [, {dict}])
80098034
the sign group name. To use the global sign group, use an
80108035
empty string. {group} functions as a namespace for {id}, thus
80118036
two groups can use the same IDs. Refer to |sign-identifier|
8012-
for more information.
8037+
and |sign-group| for more information.
80138038

80148039
{name} refers to a defined sign.
80158040
{expr} refers to a buffer name or number. For the accepted
@@ -10074,9 +10099,9 @@ vim_starting True while initial source'ing takes place. |startup|
1007410099
*vim_starting*
1007510100
viminfo Compiled with viminfo support.
1007610101
virtualedit Compiled with 'virtualedit' option.
10077-
visual Compiled with Visual mode.
10078-
visualextra Compiled with extra Visual mode commands.
10079-
|blockwise-operators|.
10102+
visual Compiled with Visual mode. (always true)
10103+
visualextra Compiled with extra Visual mode commands. (always
10104+
true) |blockwise-operators|.
1008010105
vms VMS version of Vim.
1008110106
vreplace Compiled with |gR| and |gr| commands.
1008210107
vtp Compiled for vcon support |+vtp| (check vcon to find

0 commit comments

Comments
 (0)