Fix spacing in index.html
This commit is contained in:
parent
d62315a740
commit
68abe8507a
1 changed files with 1 additions and 2 deletions
|
|
@ -196,8 +196,7 @@ console.log(addResult);
|
|||
<p><span class="expand_arrow">></span> <a href="https://github.com/ajaxorg/ace/tree/master/lib/ace/theme" target="_blank">See all themes</a></p>
|
||||
<h2>Setting the Programming Language Mode</h2>
|
||||
<p>By default, the editor supports plain text mode. All other language modes are available as separate modules, loaded on demand like this:</p>
|
||||
<pre><code class="javascript">editor.getSession().setMode("ace/mode/javascript");
|
||||
</code></pre>
|
||||
<pre><code class="javascript">editor.getSession().setMode("ace/mode/javascript");</code></pre>
|
||||
<!--h2>One Editor, Multiple Sessions</h2>
|
||||
<p>Ace keeps everything about the state of the editor (selection, scroll position, etc.)
|
||||
in <code class="javascript">editor.session</code>. This means you can grab the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue