|
5.
|
|
|
Duplicate Selected Lines Down
|
|
|
|
向下复制选中的行
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:287
|
|
6.
|
|
|
Sort the selected text or whole document.
|
|
|
|
排序选中的文本或整个文档。
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:300
|
|
7.
|
|
|
Move selected lines down.
|
|
|
|
下移选中的行。
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:302
|
|
8.
|
|
|
Move selected lines up.
|
|
|
|
上移选中的行。
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:304
|
|
9.
|
|
|
Remove duplicate lines from the selected text or whole document.
|
|
|
|
删除选中的文本或整个文档的重复行。
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:306
|
|
10.
|
|
|
Sort the selected text or whole document in natural order.<br>Here is an example to show the difference to the normal sort method:<br>sort(a10, a1, a2) => a1, a10, a2<br>natsort(a10, a1, a2) => a1, a2, a10
|
|
|
|
对选中文本或整个文档按自然序排序。<br>这有一个例子展示它和普通排序的不同:<br>sort(a10, a1, a2) => a1, a10, a2<br>natsort(a10, a1, a2) => a1, a2, a10
|
|
Translated by
csslayer
|
|
|
|
Located in
script/data/utils.js:308
|
|
11.
|
|
|
Trims trailing whitespace from selection or whole document.
|
|
|
|
剔除选中的文本或整个文档中的起始空白。
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:310
|
|
12.
|
|
|
Trims leading whitespace from selection or whole document.
|
|
|
|
剔除选中的文本或整个文档中的末尾空白。
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:312
|
|
13.
|
|
|
Trims leading and trailing whitespace from selection or whole document.
|
|
|
|
剔除选中的文本或整个文档中的起始和末尾空白。
|
|
Translated by
nihui
|
|
|
|
Located in
script/data/utils.js:314
|
|
14.
|
|
|
Joins selected lines or whole document. Optionally pass a separator to put between each line:<br><code>join ', '</code> will e.g. join lines and separate them by a comma.
|
|
|
|
连接选中的文本或整个文档。可额外传递一个表示两行间隔的分隔符:<br><code>join ', '</code> 会将文本以逗号按行连接。
|
|
Translated by
csslayer
|
|
|
|
Located in
script/data/utils.js:316
|