Skip to content

Commit 5f5a2ce

Browse files
committed
Translated doc/eval (2)
1 parent 6ea3229 commit 5f5a2ce

File tree

1 file changed

+34
-35
lines changed

1 file changed

+34
-35
lines changed

doc/eval.jax

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ empty()を使用して次のようにする。 >
100100
数点数から文字列へは printf() を、浮動小数点数から数値へは float2nr() を使う。
101101

102102
*E891* *E892* *E893* *E894*
103-
When expecting a Float a Number can also be used, but nothing else.
103+
! When expecting a Float a Number can also be used, but nothing else.
104104

105105
*E706* *sticky-type-checking*
106106
変数の型を変えようとするとエラーになる。このエラーを避けるには、まず|:unlet|
@@ -1991,8 +1991,8 @@ searchpairpos( {start}, {middle}, {end} [, {flags} [, {skip} [...]]])
19911991
searchpos( {pattern} [, {flags} [, {stopline} [, {timeout}]]])
19921992
リスト {pattern}を検索
19931993
sendexpr( {handle}, {expr} [, {callback}])
1994-
任意 チャンネル{handle}にJSONの文字列{expr}
1995-
を送る
1994+
任意 チャンネル{handle}にJSONの式{expr}を送
1995+
19961996
sendraw( {handle}, {string} [, {callback}])
19971997
任意 チャンネル{handle}にrawの文字列{string}
19981998
を送る
@@ -4498,8 +4498,7 @@ matchadd({group}, {pattern}[, {priority}[, {id} [, {dict}]]])
44984498
パターンは大文字小文字を区別し、magic (|/magic|) として解釈さ
44994499
れる ({pattern} の中で明示的に変更しない限り)。オプションの
45004500
'magic''smartcase''ignorecase' は使用されない。
4501-
The "Conceal" value is special, it causes the match to be
4502-
concealed.
4501+
Concealは特別であり、マッチを隠す作用がある。
45034502

45044503
省略可能な引数 {priority} はマッチの優先度を指定する。優先度が
45054504
高いマッチは、より低いマッチの強調を上書きする。優先度は整数で
@@ -4516,15 +4515,14 @@ matchadd({group}, {pattern}[, {priority}[, {id} [, {dict}]]])
45164515
指定されないか -1 のときは、|matchadd()| が自動的に空いている
45174516
ID を取得する。
45184517

4519-
The optional {dict} argument allows for further custom
4520-
values. Currently this is used to specify a match specific
4521-
conceal character that will be shown for |hl-Conceal|
4522-
highlighted matches.
4518+
省略可能な引数 {dict} はより一層カスタマイズ可能な値を許す。
4519+
現在、これは|hl-Conceal|でハイライトされたマッチをconceal文字で
4520+
表示されるのを明示するために使われる。
45234521
この辞書は下記のメンバを持つことができる:
45244522

4525-
conceal Special character to show instead of the
4526-
match (only for |hl-Conceal| highlighed
4527-
matches, see |:syn-cchar|)
4523+
conceal マッチ(|hl-Conceal|のためだけにハイライトさ
4524+
れたマッチ、|:syn-cchar|を参照)の代わりに
4525+
表示する特別な文字
45284526

45294527
コマンド |:match| と異なり、マッチの個数に上限はない。
45304528

@@ -5217,7 +5215,7 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
52175215
's' 以前のカーソル位置をマーク ' に記録する
52185216
'w' ファイルの末尾で循環する
52195217
'W' ファイルの末尾で循環しない
5220-
'z' start searching at the cursor column instead of zero
5218+
! 'z' start searching at the cursor column instead of zero
52215219
'w' と 'W' の両方とも指定されない場合は 'wrapscan' が適用され
52225220
る。
52235221

@@ -5226,12 +5224,13 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
52265224

52275225
'ignorecase', 'smartcase', 'magic' が適用される。
52285226

5229-
When the 'z' flag is not given, searching always starts in
5230-
column zero and then matches before the cursor are skipped.
5231-
When the 'c' flag is present in 'cpo' the next search starts
5232-
after the match. Without the 'c' flag the next search starts
5233-
one column further.
5234-
5227+
フラグ 'z' が指定された場合、常に0列目から開始して検索する。
5228+
そして、カーソルの前にあるマッチはスキップされる。
5229+
'cpo'内に'c'フラグが存在する場合、次の検索はそのマッチの後から
5230+
始まる。
5231+
'cpo'内に'c'フラグが存在しない場合、次の検索はさらに1列分進ん
5232+
で始まる。
5233+
52355234
引数{stopline}が指定されたときはこの行を検索した後で検索を停止
52365235
する。これは検索する行を制限するために有用である。例: >
52375236
let match = search('(', 'b', line("w0"))
@@ -5407,21 +5406,21 @@ searchpos({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *searchpos()*
54075406
り、大文字|/\u|が見つかったとき3となる。
54085407

54095408
sendexpr({handle}, {expr} [, {callback}]) *sendexpr()*
5410-
Send {expr} over JSON channel {handle}. See |channel-use|.
5409+
チャンネル{handle}にJSONの式{expr}を送る。|channel-use|を参照。
54115410

5412-
When {callback} is given returns immediately. Without
5413-
{callback} waits for a JSON response and returns the decoded
5414-
expression. When there is an error or timeout returns an
5415-
empty string.
5411+
{callback}が渡された場合、即座に返す。
5412+
{callback}が渡されない場合、JSONのレスポンスを待ち、そのデコー
5413+
ドされた式を返す。
5414+
エラーもしくはタイムアウトした場合、空の文字列を返す。
54165415

5417-
When {callback} is zero no response is expected.
5418-
Otherwise {callback} must be a Funcref or the name of a
5419-
function. It is called when the response is received. See
5420-
|channel-callback|.
5416+
{callback}が 0 の場合、レスポンスがないことを期待する。
5417+
それ以外の場合、{callback}はFuncrefもしくは関数名でなければな
5418+
らない。その関数はレスポンスを受信した時に呼ばれる。
5419+
|channel-callback|を参照。
54215420

54225421
sendraw({handle}, {string} [, {callback}]) *sendraw()*
5423-
Send {string} over raw channel {handle}. See |channel-raw|.
5424-
Works like |sendexpr()|, but does not decode the response.
5422+
チャンネル{handle}にrawの文字列{string}を送る。|channel-raw|を参
5423+
照。|sendexpr()|のように動作するがレスポンスをデコードはしない。
54255424

54265425
server2client( {clientid}, {string}) *server2client()*
54275426
{clientid}に返信文字列を送る。最後に文字列を送った{clientid}
@@ -5917,9 +5916,9 @@ str2nr( {expr} [, {base}]) *str2nr()*
59175916
き、デフォルトの文字列・数値変換とは異なり、8進数とは解釈され
59185917
ない。
59195918
{base}が16のとき、文字列の先頭の "0x" と "0X" は無視される。そ
5920-
れ以外の底の場合は0となる。 Similarly, when
5921-
{base} is 8 a leading "0" is ignored, and when {base} is 2 a
5922-
leading "0b" or "0B" is ignored.
5919+
れ以外の底の場合は0となる。同様に、
5920+
{base}が8のとき、文字列の先頭の "0" は無視される。そして、
5921+
{base}が2のとき、文字列の先頭の "0b" "0B" は無視される。
59235922
数値の後のテキストは暗黙に無視される。
59245923

59255924
strchars({expr} [, {skipcc}]) *strchars()*
@@ -5931,8 +5930,8 @@ strchars({expr} [, {skipcc}]) *strchars()*
59315930
|strlen()|, |strdisplaywidth()|, |strwidth()| も参照。
59325931

59335932

5934-
{skipcc} is only available after 7.4.755. For backward
5935-
compatibility, you can define a wrapper function: >
5933+
{skipcc}は7.4.755以降でのみ有効である。それ以前では、ラッパー
5934+
関数を定義すればよい: >
59365935
if has("patch-7.4.755")
59375936
function s:strchars(str, skipcc)
59385937
return strchars(a:str, a:skipcc)

0 commit comments

Comments
 (0)