Revision 15631 of Using the Source Editor

  • Revision slug: Tools/Using_the_Source_Editor
  • Revision title: Using the Source Editor
  • Revision id: 15631
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment 39 words added

Revision Content

The Source Editor is an editor component, provided by the source-editor.jsm JavaScript code module, which is shared by several developer tools, including the Scratchpad and Style Editor. It can also be used by Firefox extensions. This article documents how to use the editor itself to edit text.

Keyboard commands

Note: These are the recommended keyboard shortcuts for these commands; they are not necessarily handled by default. While Firefox's uses of the editor all use these shortcuts, they may vary in extensions.
Function Keyboard
Go to line Ctrl-L

See also

Revision Source

<p>The Source Editor is an editor component, provided by the <a href="/en/JavaScript_code_modules/source-editor.jsm" title="source-editor.jsm"><code>source-editor.jsm</code></a> JavaScript code module, which is shared by several developer tools, including the <a href="/en/Tools/Scratchpad" title="Scratchpad">Scratchpad</a> and <a href="/en/Tools/Style_Editor" title="Style Editor">Style Editor</a>. It can also be <a href="/en/JavaScript_code_modules/Using_the_Source_Editor_API" title="Using the Source Editor API">used by Firefox extensions</a>. This article documents how to use the editor itself to edit text.</p>
<h2>Keyboard commands</h2>
<div class="note"><strong>Note:</strong> These are the recommended keyboard shortcuts for these commands; they are not necessarily handled by default. While Firefox's uses of the editor all use these shortcuts, they may vary in extensions.</div>
<table class="standard-table" style="width: auto;"> <tbody> <tr> <td class="header">Function</td> <td class="header">Keyboard</td> </tr> <tr> <td>Go to line</td> <td>Ctrl-L</td> </tr> </tbody>
</table>
<h2>See also</h2>
<ul> <li><a href="/en/Tools" title="Tools">Tools</a></li> <li><a href="/en/Tools/Scratchpad" title="Scratchpad">Scratchpad</a></li> <li><a href="/en/Tools/Style_Editor" title="Style Editor">Style Editor</a></li>
</ul>
Revert to this revision