Skip to content

Commit f5fc65a

Browse files
committed
translate remaining part #164
1 parent f8de019 commit f5fc65a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

catchup-7.4.1194.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
doc/change.jax
2424
doc/develop.jax
2525
doc/editing.jax
26-
doc/fold.jax
2726
doc/hangulin.jax
2827
doc/if_lua.jax # 100行超えたけど、内容的に大したことない
2928
doc/if_mzsch.jax
@@ -57,6 +56,7 @@
5756

5857
doc/cmdline.jax
5958
doc/filetype.jax
59+
doc/fold.jax
6060
doc/help.jax
6161
doc/index.jax
6262
doc/mlang.jax

doc/fold.jax

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ NOTE: 各行について式評価が実行されるので、この折畳方式
119119
折畳レベルが定義された行が見つかるまで戻って、幾度も検索を行わなければならない
120120
からだ。これは動作が遅くなることがある。
121121

122-
An example of using "a1" and "s1": For a multi-line C comment, a line
123-
containing "/*" would return "a1" to start a fold, and a line containing "*/"
124-
would return "s1" to end the fold after that line: >
122+
"a1" "s1" の使用例: C 言語の複数行コメントを折りたたむ場合、"/*" を含む行で
123+
は "a1" を返してその開始位置を、"*/" を含む行では "s1" を返してその終了位置を示
124+
: >
125125
if match(thisline, '/\*') >= 0
126126
return 'a1'
127127
elseif match(thisline, '\*/') >= 0
128128
return 's1'
129129
else
130130
return '='
131131
endif
132-
However, this won't work for single line comments, strings, etc.
132+
ただし、単一行コメント内、文字列リテラル内などではこれは正しく機能しない。
133133

134134
フォールドレベルを調べるには|foldlevel()|を使うのが便利である。レベルがわから
135135
ないときは-1を返すことに注意すること。フォールドがその行で終わっているときには

0 commit comments

Comments
 (0)