Skip to content

Commit 66a0d28

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

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

catchup-7.4.1194.md

+1-1
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

+3-4
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,16 @@ 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" を返す: >
125124
if match(thisline, '/\*') >= 0
126125
return 'a1'
127126
elseif match(thisline, '\*/') >= 0
128127
return 's1'
129128
else
130129
return '='
131130
endif
132-
However, this won't work for single line comments, strings, etc.
131+
ただし、行コメント、文字列などではこれは正しく機能しない。
133132

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

0 commit comments

Comments
 (0)