blob: c7a388f299119d1c9cd7629b0adb1a62644a1c70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
---
title: 使用源代码编辑器
slug: conflicting/tools/Keyboard_shortcuts
translation_of: tools/Keyboard_shortcuts#Source_editor
translation_of_original: Tools/Using_the_Source_Editor
original_slug: Tools/Using_the_Source_Editor
---
<div>{{ToolsSidebar}}</div><p>源代码编辑器是一个编辑器组件,由源editor.jsm的Java Script代码模块的提供,这是共享的几个开发工具,包括暂存器和样式编辑器。它也可以被使用的Firefox扩展。本文说明如何使用编辑器来编辑文本。.</p>
<h2 id="Keyboard_commands" name="Keyboard_commands">键盘命令</h2>
<p>这些都是标准命令的快捷键;注意,某些附加产品,他们可能会有所不同。但火狐使用的总是这些。.</p>
<div class="note">
<strong>注:</strong>在Mac OS X,使用Command键来代替控制键.</div>
<table class="standard-table">
<thead>
<tr>
<th class="header">功能</th>
<th class="header">键盘</th>
</tr>
</thead>
<tbody>
<tr>
<td>选择所有</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>A</kbd></kbd></td>
</tr>
<tr>
<td>复制</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>C</kbd></kbd></td>
</tr>
<tr>
<td>查找</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>F</kbd></kbd></td>
</tr>
<tr>
<td>查找下一个</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>G</kbd></kbd></td>
</tr>
<tr>
<td>跳转行</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>L</kbd></kbd></td>
</tr>
<tr>
<td>重做</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>Shift</kbd>-<kbd>Z</kbd></kbd></td>
</tr>
<tr>
<td>粘贴</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>V</kbd></kbd></td>
</tr>
<tr>
<td>剪切</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>X</kbd></kbd></td>
</tr>
<tr>
<td>恢复</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>Z</kbd></kbd></td>
</tr>
<tr>
<td>行缩进(s)</td>
<td><kbd>Tab</kbd></td>
</tr>
<tr>
<td>取消行缩进</td>
<td><kbd><kbd>Shift</kbd>-<kbd>Tab</kbd></kbd></td>
</tr>
<tr>
<td>移动行(s) 上</td>
<td><kbd><kbd>Alt</kbd>-<kbd>↑</kbd></kbd><br>
(<kbd><kbd>Ctrl</kbd>-<kbd>Option</kbd>-<kbd>↑</kbd></kbd> on Mac OS X)</td>
</tr>
<tr>
<td>移动行(s) 下</td>
<td><kbd><kbd>Alt</kbd>-<kbd>↓</kbd></kbd><br>
(<kbd><kbd>Ctrl</kbd>-<kbd>Option</kbd>-<kbd>↓</kbd></kbd> on Mac OS X)</td>
</tr>
<tr>
<td>切换注释选择</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>/</kbd></kbd> {{fx_minversion_inline("14.0")}}</td>
</tr>
<tr>
<td>Move to bracket opening</td>
<td><kbd><kbd>Ctrl</kbd>-<kbd>[</kbd></kbd> {{fx_minversion_inline("14.0")}}</td>
</tr>
<tr>
<td>Move to bracket closing</td>
<td><kbd><kbd>Ctlr</kbd>-<kbd>]</kbd></kbd> {{fx_minversion_inline("14.0")}}</td>
</tr>
</tbody>
</table>
<h2 id="See_also" name="See_also">参阅</h2>
<ul>
<li><a href="/en-US/docs/Tools">工具</a></li>
<li><a href="/en-US/docs/Tools/Scratchpad">暂存</a></li>
<li><a href="/en-US/docs/Tools/Style_Editor">编辑样式</a></li>
</ul>
|