commit
f887e64112
22 changed files with 829 additions and 228 deletions
62
api/ace.html
62
api/ace.html
|
|
@ -15,10 +15,14 @@
|
|||
<ul class="dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (1)</span><b class="caret"></b></a>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (3)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Ace.createEditSession" data-id="Ace.createEditSession" class="memberLink"><a href="#Ace.createEditSession" class="" title="Ace.createEditSession (class method)" data-id="Ace.createEditSession">createEditSession</a>
|
||||
</li>
|
||||
<li id="dropdown_Ace.edit" data-id="Ace.edit" class="memberLink"><a href="#Ace.edit" class="" title="Ace.edit (class method)" data-id="Ace.edit">edit</a>
|
||||
</li>
|
||||
<li id="dropdown_Ace.require" data-id="Ace.require" class="memberLink"><a href="#Ace.require" class="" title="Ace.require (class method)" data-id="Ace.require">require</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
|
|
@ -48,6 +52,30 @@
|
|||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Ace.createEditSession" data-title="Ace.createEditSession (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Ace.createEditSession" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Ace.createEditSession" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">createEditSession</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Ace.createEditSession" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Ace.edit" data-title="Ace.edit (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -69,6 +97,38 @@
|
|||
<div class="description"><p>Embeds the Ace editor into the DOM, at the element provided by <code>el</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">el</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en/DOM/element" class="" title="DOMElement" data-id="DOMElement">DOMElement</a></td><td class="argDescription "><p>Required. Either the id of an element, or the element itself</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Ace.require" data-title="Ace.require (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Ace.require" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Ace.require" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">require</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> moduleName</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Ace.require" class="ellipsis_description"><p>Provides access to require in packed noconflict mode</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Provides access to require in packed noconflict mode</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">moduleName</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@
|
|||
<li class="signature-call"><span id="Anchor.onChange" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">onChange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -448,10 +448,10 @@
|
|||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.insert" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insert</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> position, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-call"><span id="Document.insert" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insert</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> position, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
|
|
@ -466,7 +466,7 @@
|
|||
</div>
|
||||
<div class="description"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The position to start inserting at</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to start inserting at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. A chunk of text to insert</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
|
|
@ -481,7 +481,7 @@
|
|||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.insertInLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertInLine</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> position, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-call"><span id="Document.insertInLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertInLine</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> position, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
|
|
@ -499,7 +499,7 @@
|
|||
</div>
|
||||
<div class="description"><p>Inserts <code>text</code> into the <code>position</code> at the current row. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The position to insert at</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to insert at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. A chunk of text</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
|
|
@ -547,7 +547,7 @@
|
|||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Document.insertNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertNewLine</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> position</span>)
|
||||
<li class="signature-call"><span id="Document.insertNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertNewLine</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> position</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
|
|
@ -565,7 +565,7 @@
|
|||
</div>
|
||||
<div class="description"><p>Inserts a new line into the document at the current row's <code>position</code>. This method also triggers the <code>'change'</code> event.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The position to insert at</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to insert at</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -697,7 +697,7 @@
|
|||
<li class="signature-call"><span id="EditSession._loadMode" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">_loadMode</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2056,7 +2056,7 @@
|
|||
<li class="signature-call"><span id="EditSession.highlight" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">highlight</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2080,7 +2080,7 @@
|
|||
<li class="signature-call"><span id="EditSession.highlightLines" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">highlightLines</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2131,10 +2131,10 @@
|
|||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="EditSession.insert" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">insert</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> position, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-call"><span id="EditSession.insert" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">insert</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> position, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
|
||||
<li class="signature-returns">
|
||||
<ul class="argument-types">
|
||||
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||||
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
|
||||
</ul>
|
||||
</li></li>
|
||||
</ul>
|
||||
|
|
@ -2149,7 +2149,7 @@
|
|||
</div>
|
||||
<div class="description"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The position to start inserting at</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position {row, column} to start inserting at</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. A chunk of text to insert</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
|
|
@ -2167,7 +2167,7 @@
|
|||
<li class="signature-call"><span id="EditSession.isFullWidth" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">isFullWidth</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2319,7 +2319,7 @@
|
|||
<li class="signature-call"><span id="EditSession.onChange" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">onChange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2343,7 +2343,7 @@
|
|||
<li class="signature-call"><span id="EditSession.onChangeFold" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">onChangeFold</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2421,7 +2421,7 @@
|
|||
<li class="signature-call"><span id="EditSession.redo" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">redo</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2598,7 +2598,7 @@
|
|||
<li class="signature-call"><span id="EditSession.reset" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">reset</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2622,7 +2622,7 @@
|
|||
<li class="signature-call"><span id="EditSession.resetCaches" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">resetCaches</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2646,7 +2646,7 @@
|
|||
<li class="signature-call"><span id="EditSession.screenToDocumentColumn" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">screenToDocumentColumn</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2703,7 +2703,7 @@
|
|||
<li class="signature-call"><span id="EditSession.screenToDocumentRow" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">screenToDocumentRow</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2836,7 +2836,7 @@
|
|||
<li class="signature-call"><span id="EditSession.setMode" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">setMode</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3238,7 +3238,7 @@
|
|||
<li class="signature-call"><span id="EditSession.undo" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">undo</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
365
api/editor.html
365
api/editor.html
|
|
@ -31,8 +31,12 @@
|
|||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (146)</span><b class="caret"></b></a>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (156)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Editor.addSelectionMarker" data-id="Editor.addSelectionMarker" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.addSelectionMarker (class method)" data-id="Editor.addSelectionMarker">addSelectionMarker</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.alignCursors" data-id="Editor.alignCursors" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.alignCursors (class method)" data-id="Editor.alignCursors">alignCursors</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.blockOutdent" data-id="Editor.blockOutdent" class="memberLink"><a href="#Editor.blockOutdent" class="" title="Editor.blockOutdent (class method)" data-id="Editor.blockOutdent">blockOutdent</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.blur" data-id="Editor.blur" class="memberLink"><a href="#Editor.blur" class="" title="Editor.blur (class method)" data-id="Editor.blur">blur</a>
|
||||
|
|
@ -51,14 +55,20 @@
|
|||
</li>
|
||||
<li id="dropdown_Editor.execCommand" data-id="Editor.execCommand" class="memberLink"><a href="#Editor.execCommand" class="" title="Editor.execCommand (class method)" data-id="Editor.execCommand">execCommand</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.exitMultiSelectMode" data-id="Editor.exitMultiSelectMode" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.exitMultiSelectMode (class method)" data-id="Editor.exitMultiSelectMode">exitMultiSelectMode</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.find" data-id="Editor.find" class="memberLink"><a href="#Editor.find" class="" title="Editor.find (class method)" data-id="Editor.find">find</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.findAll" data-id="Editor.findAll" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.findAll (class method)" data-id="Editor.findAll">findAll</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.findNext" data-id="Editor.findNext" class="memberLink"><a href="#Editor.findNext" class="" title="Editor.findNext (class method)" data-id="Editor.findNext">findNext</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.findPrevious" data-id="Editor.findPrevious" class="memberLink"><a href="#Editor.findPrevious" class="" title="Editor.findPrevious (class method)" data-id="Editor.findPrevious">findPrevious</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.focus" data-id="Editor.focus" class="memberLink"><a href="#Editor.focus" class="" title="Editor.focus (class method)" data-id="Editor.focus">focus</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.forEachSelection" data-id="Editor.forEachSelection" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.forEachSelection (class method)" data-id="Editor.forEachSelection">forEachSelection</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.getAnimatedScroll" data-id="Editor.getAnimatedScroll" class="memberLink"><a href="#Editor.getAnimatedScroll" class="" title="Editor.getAnimatedScroll (class method)" data-id="Editor.getAnimatedScroll">getAnimatedScroll</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.getBehavioursEnabled" data-id="Editor.getBehavioursEnabled" class="memberLink"><a href="#Editor.getBehavioursEnabled" class="" title="Editor.getBehavioursEnabled (class method)" data-id="Editor.getBehavioursEnabled">getBehavioursEnabled</a>
|
||||
|
|
@ -225,6 +235,8 @@
|
|||
</li>
|
||||
<li id="dropdown_Editor.removeLines" data-id="Editor.removeLines" class="memberLink"><a href="#Editor.removeLines" class="" title="Editor.removeLines (class method)" data-id="Editor.removeLines">removeLines</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.removeSelectionMarker" data-id="Editor.removeSelectionMarker" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.removeSelectionMarker (class method)" data-id="Editor.removeSelectionMarker">removeSelectionMarker</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.removeToLineEnd" data-id="Editor.removeToLineEnd" class="memberLink"><a href="#Editor.removeToLineEnd" class="" title="Editor.removeToLineEnd (class method)" data-id="Editor.removeToLineEnd">removeToLineEnd</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.removeToLineStart" data-id="Editor.removeToLineStart" class="memberLink"><a href="#Editor.removeToLineStart" class="" title="Editor.removeToLineStart (class method)" data-id="Editor.removeToLineStart">removeToLineStart</a>
|
||||
|
|
@ -251,6 +263,10 @@
|
|||
</li>
|
||||
<li id="dropdown_Editor.selectAll" data-id="Editor.selectAll" class="memberLink"><a href="#Editor.selectAll" class="" title="Editor.selectAll (class method)" data-id="Editor.selectAll">selectAll</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.selectMore" data-id="Editor.selectMore" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.selectMore (class method)" data-id="Editor.selectMore">selectMore</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.selectMoreLines" data-id="Editor.selectMoreLines" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.selectMoreLines (class method)" data-id="Editor.selectMoreLines">selectMoreLines</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.selectPageDown" data-id="Editor.selectPageDown" class="memberLink"><a href="#Editor.selectPageDown" class="" title="Editor.selectPageDown (class method)" data-id="Editor.selectPageDown">selectPageDown</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.selectPageUp" data-id="Editor.selectPageUp" class="memberLink"><a href="#Editor.selectPageUp" class="" title="Editor.selectPageUp (class method)" data-id="Editor.selectPageUp">selectPageUp</a>
|
||||
|
|
@ -315,10 +331,14 @@
|
|||
</li>
|
||||
<li id="dropdown_Editor.transposeLetters" data-id="Editor.transposeLetters" class="memberLink"><a href="#Editor.transposeLetters" class="" title="Editor.transposeLetters (class method)" data-id="Editor.transposeLetters">transposeLetters</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.transposeSelections" data-id="Editor.transposeSelections" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.transposeSelections (class method)" data-id="Editor.transposeSelections">transposeSelections</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.undo" data-id="Editor.undo" class="memberLink"><a href="#Editor.undo" class="" title="Editor.undo (class method)" data-id="Editor.undo">undo</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.unsetStyle" data-id="Editor.unsetStyle" class="memberLink"><a href="#Editor.unsetStyle" class="" title="Editor.unsetStyle (class method)" data-id="Editor.unsetStyle">unsetStyle</a>
|
||||
</li>
|
||||
<li id="dropdown_Editor.updateSelectionMarkers" data-id="Editor.updateSelectionMarkers" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Editor.updateSelectionMarkers (class method)" data-id="Editor.updateSelectionMarkers">updateSelectionMarkers</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
|
|
@ -567,6 +587,59 @@
|
|||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Editor.addSelectionMarker" data-title="Editor.addSelectionMarker (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.addSelectionMarker" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.addSelectionMarker" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">addSelectionMarker</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> orientedRange</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.addSelectionMarker" class="ellipsis_description"><p>Adds the selection and cursor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Adds the selection and cursor.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">orientedRange</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range containing a cursor</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.alignCursors" data-title="Editor.alignCursors (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.alignCursors" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.alignCursors" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">alignCursors</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.alignCursors" class="ellipsis_description"><p>Aligns the cursors or selected text.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Aligns the cursors or selected text.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.blockOutdent" data-title="Editor.blockOutdent (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -769,7 +842,7 @@
|
|||
<li class="signature-call"><span id="Editor.duplicateSelection" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">duplicateSelection</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -793,7 +866,7 @@
|
|||
<li class="signature-call"><span id="Editor.execCommand" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">execCommand</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -807,6 +880,32 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.exitMultiSelectMode" data-title="Editor.exitMultiSelectMode (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.exitMultiSelectMode" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.exitMultiSelectMode" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">exitMultiSelectMode</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.exitMultiSelectMode" class="ellipsis_description"><p>Removes all the selections except the last added one.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Removes all the selections except the last added one.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.find" data-title="Editor.find (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -830,6 +929,35 @@
|
|||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">needle</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The text to search for (optional)</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">options</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object defining various search properties</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">animate</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code> animate scrolling</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.findAll" data-title="Editor.findAll (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.findAll" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.findAll" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">findAll</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> The, <a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> The, <a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> keeps</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.findAll" class="ellipsis_description"><p>Finds and selects all the occurences of <code>needle</code>.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Finds and selects all the occurences of <code>needle</code>.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">The</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. text to find</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">The</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. search options</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">keeps</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. </p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -918,6 +1046,34 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.forEachSelection" data-title="Editor.forEachSelection (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.forEachSelection" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.forEachSelection" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">forEachSelection</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> cmd, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> args</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.forEachSelection" class="ellipsis_description"><p>Executes a command for each selection range.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Executes a command for each selection range.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">cmd</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The command to execute</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">args</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. Any arguments for the command</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.getAnimatedScroll" data-title="Editor.getAnimatedScroll (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -928,7 +1084,7 @@
|
|||
<li class="signature-call"><span id="Editor.getAnimatedScroll" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">getAnimatedScroll</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1076,7 +1232,7 @@
|
|||
<li class="signature-call"><span id="Editor.getDisplayIndentGuides" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">getDisplayIndentGuides</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1131,7 +1287,7 @@
|
|||
<li class="signature-call"><span id="Editor.getFadeFoldWidgets" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">getFadeFoldWidgets</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1212,7 +1368,7 @@
|
|||
<li class="signature-call"><span id="Editor.getHighlightGutterLine" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">getHighlightGutterLine</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1796,11 +1952,10 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.getWrapBehavioursEnabled" class="ellipsis_description"><p>Editor.getWrapBehavioursEnabled() -> Boolean</p>
|
||||
<div id="ellipsis_Editor.getWrapBehavioursEnabled" class="ellipsis_description"><p>Returns <code>true</code> if the wrapping behaviors are currently enabled.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Editor.getWrapBehavioursEnabled() -> Boolean</p>
|
||||
<p>Returns <code>true</code> if the wrapping behaviors are currently enabled.</p>
|
||||
<div class="description"><p>Returns <code>true</code> if the wrapping behaviors are currently enabled.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
|
|
@ -2214,7 +2369,7 @@
|
|||
<li class="signature-call"><span id="Editor.moveText" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">moveText</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2530,7 +2685,7 @@
|
|||
<li class="signature-call"><span id="Editor.onBlur" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onBlur</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2554,7 +2709,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeAnnotation" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeAnnotation</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2578,7 +2733,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeBackMarker" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeBackMarker</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2602,7 +2757,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeBreakpoint" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeBreakpoint</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2626,7 +2781,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeFold" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeFold</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2650,7 +2805,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeFrontMarker" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeFrontMarker</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2674,7 +2829,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeMode" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeMode</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2698,7 +2853,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeWrapLimit" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeWrapLimit</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2722,7 +2877,7 @@
|
|||
<li class="signature-call"><span id="Editor.onChangeWrapMode" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onChangeWrapMode</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2746,7 +2901,7 @@
|
|||
<li class="signature-call"><span id="Editor.onCommandKey" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onCommandKey</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2770,7 +2925,7 @@
|
|||
<li class="signature-call"><span id="Editor.onCompositionEnd" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onCompositionEnd</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2794,7 +2949,7 @@
|
|||
<li class="signature-call"><span id="Editor.onCompositionStart" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onCompositionStart</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2818,7 +2973,7 @@
|
|||
<li class="signature-call"><span id="Editor.onCompositionUpdate" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onCompositionUpdate</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2920,7 +3075,7 @@
|
|||
<li class="signature-call"><span id="Editor.onDocumentChange" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onDocumentChange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2944,7 +3099,7 @@
|
|||
<li class="signature-call"><span id="Editor.onFocus" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onFocus</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -2995,7 +3150,7 @@
|
|||
<li class="signature-call"><span id="Editor.onScrollLeftChange" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onScrollLeftChange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3019,7 +3174,7 @@
|
|||
<li class="signature-call"><span id="Editor.onScrollTopChange" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onScrollTopChange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3043,7 +3198,7 @@
|
|||
<li class="signature-call"><span id="Editor.onSelectionChange" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onSelectionChange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3067,7 +3222,7 @@
|
|||
<li class="signature-call"><span id="Editor.onTextInput" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onTextInput</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3091,7 +3246,7 @@
|
|||
<li class="signature-call"><span id="Editor.onTokenizerUpdate" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">onTokenizerUpdate</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3184,6 +3339,33 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.removeSelectionMarker" data-title="Editor.removeSelectionMarker (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.removeSelectionMarker" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.removeSelectionMarker" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">removeSelectionMarker</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> The</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.removeSelectionMarker" class="ellipsis_description"><p>Removes the selection marker.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Removes the selection marker.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">The</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. selection range added with <a href="#nav=api&api=multi_select" class="link-short" title="Editor.addSelectionMarker (class method)" data-id="Editor.addSelectionMarker"><code>addSelectionMarker()</code></a>.</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.removeToLineEnd" data-title="Editor.removeToLineEnd (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -3381,7 +3563,7 @@
|
|||
<li class="signature-call"><span id="Editor.revealRange" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">revealRange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3530,6 +3712,62 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.selectMore" data-title="Editor.selectMore (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.selectMore" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.selectMore" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">selectMore</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> dir, <a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> skip</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.selectMore" class="ellipsis_description"><p>Finds the next occurence of text in an active selection and adds it to the selections.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Finds the next occurence of text in an active selection and adds it to the selections.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">dir</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The direction of lines to select: -1 for up, 1 for down</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">skip</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, removes the active selection range</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.selectMoreLines" data-title="Editor.selectMoreLines (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.selectMoreLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.selectMoreLines" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">selectMoreLines</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> dir, <a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> skip</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.selectMoreLines" class="ellipsis_description"><p>Adds a cursor above or below the active cursor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Adds a cursor above or below the active cursor.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">dir</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The direction of lines to select: -1 for up, 1 for down</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">skip</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, removes the active selection range</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.selectPageDown" data-title="Editor.selectPageDown (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -3592,7 +3830,7 @@
|
|||
<li class="signature-call"><span id="Editor.setAnimatedScroll" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setAnimatedScroll</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3643,7 +3881,7 @@
|
|||
<li class="signature-call"><span id="Editor.setDisplayIndentGuides" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setDisplayIndentGuides</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3694,7 +3932,7 @@
|
|||
<li class="signature-call"><span id="Editor.setFadeFoldWidgets" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setFadeFoldWidgets</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -3772,7 +4010,7 @@
|
|||
<li class="signature-call"><span id="Editor.setHighlightGutterLine" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setHighlightGutterLine</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -4216,7 +4454,7 @@ when such a character is typed in.</p>
|
|||
<li class="signature-call"><span id="Editor.sortLines" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">sortLines</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -4386,6 +4624,33 @@ when such a character is typed in.</p>
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.transposeSelections" data-title="Editor.transposeSelections (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.transposeSelections" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.transposeSelections" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">transposeSelections</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> dir</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.transposeSelections" class="ellipsis_description"><p>Transposes the selected ranges.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Transposes the selected ranges.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">dir</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. {Number} The direction to rotate selections</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.undo" data-title="Editor.undo (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -4439,6 +4704,32 @@ when such a character is typed in.</p>
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Editor.updateSelectionMarkers" data-title="Editor.updateSelectionMarkers (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Editor.updateSelectionMarkers" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Editor.updateSelectionMarkers" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">updateSelectionMarkers</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Editor.updateSelectionMarkers" class="ellipsis_description"><p>Updates the cursor and marker layers.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Updates the cursor and marker layers.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
|
|
|
|||
|
|
@ -698,7 +698,7 @@
|
|||
<li class="signature-call"><span id="Range.isEmpty" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isEmpty</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -743,6 +743,11 @@ li.signature {
|
|||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.undocumented {
|
||||
background-color: #B94A48;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#documentation .alias a, #documentation .related-to a {
|
||||
color: #ffffff;
|
||||
/* text-decoration: underline; */
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@
|
|||
<li class="signature-call"><span id="ScrollBar.onScroll" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">onScroll</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ If <code>options.needle</code> was not found, this function returns <code>null</
|
|||
<li class="signature-call"><span id="Search.setOptions" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">setOptions</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -21,14 +21,18 @@
|
|||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (50)</span><b class="caret"></b></a>
|
||||
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (58)</span><b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="dropdown_Selection.addRange" data-id="Selection.addRange" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.addRange (class method)" data-id="Selection.addRange">addRange</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.clearSelection" data-id="Selection.clearSelection" class="memberLink"><a href="#Selection.clearSelection" class="" title="Selection.clearSelection (class method)" data-id="Selection.clearSelection">clearSelection</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.detach" data-id="Selection.detach" class="memberLink"><a href="#Selection.detach" class="" title="Selection.detach (class method)" data-id="Selection.detach">detach</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.fromOrientedRange" data-id="Selection.fromOrientedRange" class="memberLink"><a href="#Selection.fromOrientedRange" class="" title="Selection.fromOrientedRange (class method)" data-id="Selection.fromOrientedRange">fromOrientedRange</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.getAllRanges" data-id="Selection.getAllRanges" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.getAllRanges (class method)" data-id="Selection.getAllRanges">getAllRanges</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.getCursor" data-id="Selection.getCursor" class="memberLink"><a href="#Selection.getCursor" class="" title="Selection.getCursor (class method)" data-id="Selection.getCursor">getCursor</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.getLineRange" data-id="Selection.getLineRange" class="memberLink"><a href="#Selection.getLineRange" class="" title="Selection.getLineRange (class method)" data-id="Selection.getLineRange">getLineRange</a>
|
||||
|
|
@ -47,6 +51,8 @@
|
|||
</li>
|
||||
<li id="dropdown_Selection.isMultiLine" data-id="Selection.isMultiLine" class="memberLink"><a href="#Selection.isMultiLine" class="" title="Selection.isMultiLine (class method)" data-id="Selection.isMultiLine">isMultiLine</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.mergeOverlappingRanges" data-id="Selection.mergeOverlappingRanges" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.mergeOverlappingRanges (class method)" data-id="Selection.mergeOverlappingRanges">mergeOverlappingRanges</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.moveCursorBy" data-id="Selection.moveCursorBy" class="memberLink"><a href="#Selection.moveCursorBy" class="" title="Selection.moveCursorBy (class method)" data-id="Selection.moveCursorBy">moveCursorBy</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.moveCursorDown" data-id="Selection.moveCursorDown" class="memberLink"><a href="#Selection.moveCursorDown" class="" title="Selection.moveCursorDown (class method)" data-id="Selection.moveCursorDown">moveCursorDown</a>
|
||||
|
|
@ -83,6 +89,8 @@
|
|||
</li>
|
||||
<li id="dropdown_Selection.moveCursorWordRight" data-id="Selection.moveCursorWordRight" class="memberLink"><a href="#Selection.moveCursorWordRight" class="" title="Selection.moveCursorWordRight (class method)" data-id="Selection.moveCursorWordRight">moveCursorWordRight</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.rectangularRangeBlock" data-id="Selection.rectangularRangeBlock" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.rectangularRangeBlock (class method)" data-id="Selection.rectangularRangeBlock">rectangularRangeBlock</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.selectAll" data-id="Selection.selectAll" class="memberLink"><a href="#Selection.selectAll" class="" title="Selection.selectAll (class method)" data-id="Selection.selectAll">selectAll</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.selectAWord" data-id="Selection.selectAWord" class="memberLink"><a href="#Selection.selectAWord" class="" title="Selection.selectAWord (class method)" data-id="Selection.selectAWord">selectAWord</a>
|
||||
|
|
@ -121,8 +129,16 @@
|
|||
</li>
|
||||
<li id="dropdown_Selection.shiftSelection" data-id="Selection.shiftSelection" class="memberLink"><a href="#Selection.shiftSelection" class="" title="Selection.shiftSelection (class method)" data-id="Selection.shiftSelection">shiftSelection</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.splitIntoLines" data-id="Selection.splitIntoLines" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.splitIntoLines (class method)" data-id="Selection.splitIntoLines">splitIntoLines</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.substractPoint" data-id="Selection.substractPoint" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.substractPoint (class method)" data-id="Selection.substractPoint">substractPoint</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.toggleBlockSelection" data-id="Selection.toggleBlockSelection" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.toggleBlockSelection (class method)" data-id="Selection.toggleBlockSelection">toggleBlockSelection</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.toOrientedRange" data-id="Selection.toOrientedRange" class="memberLink"><a href="#Selection.toOrientedRange" class="" title="Selection.toOrientedRange (class method)" data-id="Selection.toOrientedRange">toOrientedRange</a>
|
||||
</li>
|
||||
<li id="dropdown_Selection.toSingleRange" data-id="Selection.toSingleRange" class="memberLink"><a href="#nav=api&api=multi_select" class="" title="Selection.toSingleRange (class method)" data-id="Selection.toSingleRange">toSingleRange</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-dropdown="dropdown" class="dropdown">
|
||||
|
|
@ -234,6 +250,34 @@
|
|||
</div>
|
||||
</article>
|
||||
<h3 class="sectionHeader">Methods</h3>
|
||||
<article id="Selection.addRange" data-title="Selection.addRange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.addRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.addRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">addRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range, <a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> $blockChangeEvents</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.addRange" class="ellipsis_description"><p>Adds a range to a selection by entering multiselect mode, if necessary.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Adds a range to a selection by entering multiselect mode, if necessary.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. The new range to add</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">$blockChangeEvents</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. Whether or not to block changing events</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.clearSelection" data-title="Selection.clearSelection (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -270,7 +314,7 @@
|
|||
<li class="signature-call"><span id="Selection.detach" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">detach</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -294,7 +338,7 @@
|
|||
<li class="signature-call"><span id="Selection.fromOrientedRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">fromOrientedRange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -308,6 +352,32 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.getAllRanges" data-title="Selection.getAllRanges (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.getAllRanges" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.getAllRanges" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getAllRanges</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.getAllRanges" class="ellipsis_description"><p>Returns a concatenation of all the ranges.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Returns a concatenation of all the ranges.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.getCursor" data-title="Selection.getCursor (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -349,7 +419,7 @@
|
|||
<li class="signature-call"><span id="Selection.getLineRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getLineRange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -572,6 +642,32 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.mergeOverlappingRanges" data-title="Selection.mergeOverlappingRanges (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.mergeOverlappingRanges" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.mergeOverlappingRanges" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">mergeOverlappingRanges</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.mergeOverlappingRanges" class="ellipsis_description"><p>Merges overlapping ranges ensuring consistency after changes</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Merges overlapping ranges ensuring consistency after changes</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.moveCursorBy" data-title="Selection.moveCursorBy (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -844,7 +940,7 @@
|
|||
<li class="signature-call"><span id="Selection.moveCursorShortWordLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorShortWordLeft</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -868,7 +964,7 @@
|
|||
<li class="signature-call"><span id="Selection.moveCursorShortWordRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorShortWordRight</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1003,7 +1099,7 @@
|
|||
<li class="signature-call"><span id="Selection.moveCursorWordLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorWordLeft</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1027,7 +1123,7 @@
|
|||
<li class="signature-call"><span id="Selection.moveCursorWordRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorWordRight</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1041,6 +1137,35 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.rectangularRangeBlock" data-title="Selection.rectangularRangeBlock (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.rectangularRangeBlock" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.rectangularRangeBlock" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">rectangularRangeBlock</span></span>(<span class="sigArgList"><a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/layer/cursor.js" class="argument methodClicker" title="Cursor" data-id="Cursor">Cursor</a> screenCursor, <a href="anchor.html" class="argument methodClicker" title="Anchor (class)" data-id="Anchor">Anchor</a> screenAnchor, <a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> includeEmptyLines</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.rectangularRangeBlock" class="ellipsis_description"><p>Gets list of ranges composing rectangular block on the screen</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Gets list of ranges composing rectangular block on the screen</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">screenCursor</td><td class="argType" "><a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/layer/cursor.js" class="" title="Cursor" data-id="Cursor">Cursor</a></td><td class="argDescription "><p>Required. The cursor to use</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">screenAnchor</td><td class="argType" "><a href="anchor.html" class="" title="Anchor (class)" data-id="Anchor">Anchor</a></td><td class="argDescription "><p>Required. The anchor to use</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">includeEmptyLines</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If true, this includes ranges inside the block which are empty due to clipping</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.selectAll" data-title="Selection.selectAll (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -1543,6 +1668,84 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.splitIntoLines" data-title="Selection.splitIntoLines (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.splitIntoLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.splitIntoLines" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">splitIntoLines</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.splitIntoLines" class="ellipsis_description"><p>Splits all the ranges into lines.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Splits all the ranges into lines.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.substractPoint" data-title="Selection.substractPoint (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.substractPoint" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.substractPoint" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">substractPoint</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> pos</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.substractPoint" class="ellipsis_description"><p>Removes a Range containing pos (if it exists).</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Removes a Range containing pos (if it exists).</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">pos</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. The position to remove, as a <code>{row, column}</code> object</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.toggleBlockSelection" data-title="Selection.toggleBlockSelection (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.toggleBlockSelection" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.toggleBlockSelection" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">toggleBlockSelection</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.toggleBlockSelection" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.toOrientedRange" data-title="Selection.toOrientedRange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
|
|
@ -1553,7 +1756,7 @@
|
|||
<li class="signature-call"><span id="Selection.toOrientedRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">toOrientedRange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1567,6 +1770,31 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article id="Selection.toSingleRange" data-title="Selection.toSingleRange (class method)" class="article">
|
||||
<div class="section method">
|
||||
<div class="memberContent">
|
||||
<div class="title"><i id="Selection.toSingleRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||||
<ul class="signatures">
|
||||
<li class="signature">
|
||||
<ul>
|
||||
<li class="signature-call"><span id="Selection.toSingleRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">toSingleRange</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Selection.toSingleRange" class="ellipsis_description">
|
||||
</div>
|
||||
<div class="description">
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<script defer src="./resources/javascripts/ux.js"></script>
|
||||
<script src="./resources/javascripts/clicker.js"></script>
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@
|
|||
<li class="signature-call"><span id="Split.execute" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">execute</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
<li class="signature-call"><span id="Split.forEach" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">forEach</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Function.html" class="argument methodClicker" title="Function" data-id="Function">Function</a> callback, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> scope</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -228,7 +228,7 @@
|
|||
<li class="signature-call"><span id="Split.getEditor" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getEditor</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> idx</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -312,7 +312,7 @@
|
|||
<li class="signature-call"><span id="Split.hasRedo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">hasRedo</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -336,7 +336,7 @@
|
|||
<li class="signature-call"><span id="Split.hasUndo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">hasUndo</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -360,7 +360,7 @@
|
|||
<li class="signature-call"><span id="Split.redo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">redo</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -384,7 +384,7 @@
|
|||
<li class="signature-call"><span id="Split.reset" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">reset</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -413,11 +413,10 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div class="sideToggler">
|
||||
<div id="ellipsis_Split.resize" class="ellipsis_description"><p>Split.resize() -> Void</p>
|
||||
<div id="ellipsis_Split.resize" class="ellipsis_description"><p>Resizes the editor.</p>
|
||||
|
||||
</div>
|
||||
<div class="description"><p>Split.resize() -> Void</p>
|
||||
<p>Resizes the editor.</p>
|
||||
<div class="description"><p>Resizes the editor.</p>
|
||||
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"></table>
|
||||
</div>
|
||||
|
|
@ -435,7 +434,7 @@
|
|||
<li class="signature-call"><span id="Split.setFontSize" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setFontSize</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> size</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -462,7 +461,7 @@
|
|||
<li class="signature-call"><span id="Split.setKeyboardHandler" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setKeyboardHandler</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> keybinding</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -488,7 +487,7 @@
|
|||
<li class="signature-call"><span id="Split.setOrientation" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setOrientation</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> orientation</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -515,7 +514,7 @@
|
|||
<li class="signature-call"><span id="Split.setSession" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setSession</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> idx</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -543,7 +542,7 @@
|
|||
<li class="signature-call"><span id="Split.setSplits" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setSplits</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -567,7 +566,7 @@
|
|||
<li class="signature-call"><span id="Split.setTheme" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setTheme</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> theme</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -594,7 +593,7 @@
|
|||
<li class="signature-call"><span id="Split.undo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">undo</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -618,7 +617,7 @@
|
|||
<li class="signature-call"><span id="Split.UndoManagerProxy" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">UndoManagerProxy</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer._loadTheme" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">_loadTheme</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -307,7 +307,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.alignCursor" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">alignCursor</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -331,7 +331,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.animateScrolling" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">animateScrolling</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -443,7 +443,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.getDisplayIndentGuides" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">getDisplayIndentGuides</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -467,7 +467,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.getFadeFoldWidgets" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">getFadeFoldWidgets</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -553,7 +553,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.getHighlightGutterLine" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">getHighlightGutterLine</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1096,7 +1096,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.onChangeTabSize" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">onChangeTabSize</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1150,7 +1150,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.pixelToScreenCoordinates" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">pixelToScreenCoordinates</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1202,7 +1202,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.screenToTextCoordinates" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">screenToTextCoordinates</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1282,7 +1282,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.scrollSelectionIntoView" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">scrollSelectionIntoView</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1481,7 +1481,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.setCompositionText" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">setCompositionText</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)</li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1508,7 +1508,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.setDisplayIndentGuides" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">setDisplayIndentGuides</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1532,7 +1532,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.setFadeFoldWidgets" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">setFadeFoldWidgets</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1556,7 +1556,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.setHighlightGutterLine" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">setHighlightGutterLine</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1769,7 +1769,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.setStyle" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">setStyle</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1959,7 +1959,7 @@
|
|||
<li class="signature-call"><span id="VirtualRenderer.updateCharacterSize" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">updateCharacterSize</span></span></li>
|
||||
</ul>
|
||||
<ul class="metaInfo">
|
||||
<li><span class="label incomplete">Incomplete</span></li>
|
||||
<li><span class="label undocumented">Undocumented</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -743,6 +743,11 @@ li.signature {
|
|||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.undocumented {
|
||||
background-color: #B94A48;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#documentation .alias a, #documentation .related-to a {
|
||||
color: #ffffff;
|
||||
/* text-decoration: underline; */
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@ mixin article(obj, parents)
|
|||
-if (loops == 0)
|
||||
-loops = 1 // ensure that we only print ONE meta info UL per signature (some methods have multiple signatures)
|
||||
ul.metaInfo
|
||||
if obj.incomplete
|
||||
if obj.undocumented
|
||||
li
|
||||
span.label.incomplete Incomplete
|
||||
span.label.undocumented Undocumented
|
||||
if obj.experimental
|
||||
li
|
||||
span.label.experimental Experimental
|
||||
|
|
@ -198,9 +198,6 @@ mixin render_starting_tabs(obj, pos)
|
|||
-methodSection = constructorSection = propertySection = eventSection = false;
|
||||
mixin article(obj, [])
|
||||
|
||||
mixin rewriteLink(text)
|
||||
!= text.replace('a', 'bbbb')
|
||||
|
||||
mixin short_description_list(collection)
|
||||
ul.method-details-list
|
||||
for obj in collection
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ define(function(require, exports, module) {
|
|||
|
||||
require("./lib/fixoldbrowsers");
|
||||
|
||||
var Dom = require("./lib/dom");
|
||||
var Event = require("./lib/event");
|
||||
var dom = require("./lib/dom");
|
||||
var event = require("./lib/event");
|
||||
|
||||
var Editor = require("./editor").Editor;
|
||||
var EditSession = require("./edit_session").EditSession;
|
||||
|
|
@ -54,41 +54,54 @@ require("./keyboard/hash_handler");
|
|||
require("./placeholder");
|
||||
require("./mode/folding/fold_mode");
|
||||
exports.config = require("./config");
|
||||
/**
|
||||
* Embeds the Ace editor into the DOM, at the element provided by `el`.
|
||||
* @param {String | DOMElement} el Either the id of an element, or the element itself
|
||||
*
|
||||
**/
|
||||
|
||||
/**
|
||||
* Provides access to require in packed noconflict mode
|
||||
* @param {String} moduleName
|
||||
* @returns {Object}
|
||||
*
|
||||
**/
|
||||
exports.require = require;
|
||||
|
||||
/**
|
||||
* Embeds the Ace editor into the DOM, at the element provided by `el`.
|
||||
* @param {String | DOMElement} el Either the id of an element, or the element itself
|
||||
*
|
||||
**/
|
||||
exports.edit = function(el) {
|
||||
if (typeof(el) == "string") {
|
||||
var _id = el;
|
||||
if (!(el = document.getElementById(el)))
|
||||
var el = document.getElementById(_id);
|
||||
if (!el)
|
||||
throw "ace.edit can't find div #" + _id;
|
||||
}
|
||||
|
||||
if (el.env && el.env.editor instanceof Editor)
|
||||
return el.env.editor;
|
||||
|
||||
var doc = new EditSession(Dom.getInnerText(el));
|
||||
doc.setUndoManager(new UndoManager());
|
||||
var doc = exports.createEditSession(dom.getInnerText(el));
|
||||
el.innerHTML = '';
|
||||
|
||||
var editor = new Editor(new Renderer(el, require("./theme/textmate")));
|
||||
var editor = new Editor(new Renderer(el));
|
||||
new MultiSelect(editor);
|
||||
editor.setSession(doc);
|
||||
|
||||
var env = {};
|
||||
env.document = doc;
|
||||
env.editor = editor;
|
||||
editor.resize();
|
||||
Event.addListener(window, "resize", function() {
|
||||
editor.resize();
|
||||
});
|
||||
el.env = env;
|
||||
// Store env on editor such that it can be accessed later on from
|
||||
// the returned object.
|
||||
editor.env = env;
|
||||
var env = {
|
||||
document: doc,
|
||||
editor: editor,
|
||||
onResize: editor.resize.bind(editor)
|
||||
};
|
||||
event.addListener(window, "resize", env.onResize);
|
||||
el.env = editor.env = env;
|
||||
return editor;
|
||||
};
|
||||
|
||||
|
||||
exports.createEditSession = function(text, mode) {
|
||||
var doc = new EditSession(text, doc);
|
||||
doc.setUndoManager(new UndoManager());
|
||||
return doc;
|
||||
}
|
||||
exports.EditSession = EditSession;
|
||||
exports.UndoManager = UndoManager;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -38,14 +38,14 @@ var Anchor = require("./anchor").Anchor;
|
|||
|
||||
/**
|
||||
* Contains the text of the document. Document can be attached to several [[EditSession `EditSession`]]s.
|
||||
*
|
||||
*
|
||||
* At its core, `Document`s are just an array of strings, with each row in the document matching up to the array index.
|
||||
*
|
||||
* @class Document
|
||||
**/
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Creates a new `Document`. If `text` is included, the `Document` contains those strings; otherwise, it's empty.
|
||||
* @param {String | Array} text The starting text
|
||||
* @constructor
|
||||
|
|
@ -104,7 +104,7 @@ var Document = function(text) {
|
|||
* @method $split
|
||||
* @param {String} text The text to work with
|
||||
* @returns {String} A String array, with each index containing a piece of the original `text` string.
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
||||
|
|
@ -135,9 +135,9 @@ var Document = function(text) {
|
|||
* If `newLineMode == unix`, `\n` is returned.
|
||||
* If `newLineMode == auto`, the value of `autoNewLine` is returned.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
this.getNewLineCharacter = function() {
|
||||
switch (this.$newLineMode) {
|
||||
|
|
@ -189,7 +189,7 @@ var Document = function(text) {
|
|||
/**
|
||||
* Returns a verbatim copy of the given line as it is in the document
|
||||
* @param {Number} row The row index to retrieve
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
|
@ -201,7 +201,7 @@ var Document = function(text) {
|
|||
* Returns an array of strings of the rows between `firstRow` and `lastRow`. This function is inclusive of `lastRow`.
|
||||
* @param {Number} firstRow The first row index to retrieve
|
||||
* @param {Number} lastRow The final row index to retrieve
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
|
@ -253,11 +253,9 @@ var Document = function(text) {
|
|||
|
||||
/**
|
||||
* Inserts a block of `text` and the indicated `position`.
|
||||
* @param {Number} position The position to start inserting at
|
||||
* @param {Object} position The position to start inserting at
|
||||
* @param {String} text A chunk of text to insert
|
||||
* @returns {Number} The position of the last line of `text`. If the length of `text` is 0, this function simply returns `position`.
|
||||
*
|
||||
*
|
||||
* @returns {Object} The position ({row, column}) of the last line of `text`. If the length of `text` is 0, this function simply returns `position`.
|
||||
*
|
||||
**/
|
||||
this.insert = function(position, text) {
|
||||
|
|
@ -350,12 +348,12 @@ var Document = function(text) {
|
|||
|
||||
/**
|
||||
* Inserts a new line into the document at the current row's `position`. This method also triggers the `'change'` event.
|
||||
* @param {String} position The position to insert at
|
||||
* @param {Object} position The position to insert at
|
||||
* @returns {Object} Returns an object containing the final row and column, like this:<br/>
|
||||
* ```
|
||||
* {row: endRow, column: 0}
|
||||
* ```
|
||||
*
|
||||
*
|
||||
**/
|
||||
this.insertNewLine = function(position) {
|
||||
position = this.$clipPosition(position);
|
||||
|
|
@ -381,15 +379,13 @@ var Document = function(text) {
|
|||
|
||||
/**
|
||||
* Inserts `text` into the `position` at the current row. This method also triggers the `'change'` event.
|
||||
* @param {Number} position The position to insert at
|
||||
* @param {Object} position The position to insert at
|
||||
* @param {String} text A chunk of text
|
||||
* @returns {Object} Returns an object containing the final row and column, like this:
|
||||
* ```
|
||||
* {row: endRow, column: 0}
|
||||
* ```
|
||||
* @returns {Number} If `text` is empty, this function returns the value of `position`
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
this.insertInLine = function(position, text) {
|
||||
if (text.length == 0)
|
||||
|
|
@ -419,7 +415,7 @@ var Document = function(text) {
|
|||
* Removes the `range` from the document.
|
||||
* @param {Range} range A specified Range to remove
|
||||
* @returns {Object} Returns the new `start` property of the range, which contains `startRow` and `startColumn`. If `range` is empty, this function returns the unmodified value of `range.start`.
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
this.remove = function(range) {
|
||||
|
|
@ -507,7 +503,7 @@ var Document = function(text) {
|
|||
/**
|
||||
* Removes the new line between `row` and the row immediately following it. This method also triggers the `'change'` event.
|
||||
* @param {Number} row The row to check
|
||||
*
|
||||
*
|
||||
**/
|
||||
this.removeNewLine = function(row) {
|
||||
var firstLine = this.getLine(row);
|
||||
|
|
|
|||
|
|
@ -104,19 +104,19 @@ var SearchHighlight = require("./search_highlight").SearchHighlight;
|
|||
**/
|
||||
/**
|
||||
* Emitted when the current mode changes.
|
||||
*
|
||||
*
|
||||
* @event changeMode
|
||||
*
|
||||
**/
|
||||
/**
|
||||
* Emitted when the wrap mode changes.
|
||||
*
|
||||
*
|
||||
* @event changeWrapMode
|
||||
*
|
||||
**/
|
||||
/**
|
||||
* Emitted when the wrapping limit changes.
|
||||
*
|
||||
*
|
||||
* @event changeWrapLimit
|
||||
*
|
||||
**/
|
||||
|
|
@ -138,8 +138,8 @@ var SearchHighlight = require("./search_highlight").SearchHighlight;
|
|||
*
|
||||
* @param {Number} scrollLeft The new scroll left value
|
||||
**/
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Sets up a new `EditSession` and associates it with the given `Document` and `TextMode`.
|
||||
|
|
@ -172,7 +172,7 @@ var EditSession = function(text, mode) {
|
|||
if (typeof text != "object" || !text.getLine)
|
||||
text = new Document(text);
|
||||
|
||||
this.setDocument(text);
|
||||
this.setDocument(text);
|
||||
|
||||
this.selection = new Selection(this);
|
||||
this.setMode(mode);
|
||||
|
|
@ -1158,18 +1158,18 @@ var EditSession = function(text, mode) {
|
|||
* Returns an array of strings of the rows between `firstRow` and `lastRow`. This function is inclusive of `lastRow`.
|
||||
* @param {Number} firstRow The first row index to retrieve
|
||||
* @param {Number} lastRow The final row index to retrieve
|
||||
*
|
||||
*
|
||||
* @returns [String]
|
||||
*
|
||||
**/
|
||||
*
|
||||
**/
|
||||
this.getLines = function(firstRow, lastRow) {
|
||||
return this.doc.getLines(firstRow, lastRow);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns the number of rows in the document.
|
||||
* Returns the number of rows in the document.
|
||||
* @returns {Number}
|
||||
**/
|
||||
**/
|
||||
this.getLength = function() {
|
||||
return this.doc.getLength();
|
||||
};
|
||||
|
|
@ -1177,18 +1177,18 @@ var EditSession = function(text, mode) {
|
|||
/**
|
||||
* {:Document.getTextRange.desc}
|
||||
* @param {Range} range The range to work with
|
||||
*
|
||||
*
|
||||
* @returns {Range}
|
||||
**/
|
||||
**/
|
||||
this.getTextRange = function(range) {
|
||||
return this.doc.getTextRange(range || this.selection.getRange());
|
||||
};
|
||||
|
||||
/**
|
||||
* Inserts a block of `text` and the indicated `position`.
|
||||
* @param {Number} position The position to start inserting at
|
||||
* @param {Object} position The position {row, column} to start inserting at
|
||||
* @param {String} text A chunk of text to insert
|
||||
* @returns {Number} The position of the last line of `text`. If the length of `text` is 0, this function simply returns `position`.
|
||||
* @returns {Object} The position of the last line of `text`. If the length of `text` is 0, this function simply returns `position`.
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
|
@ -2027,7 +2027,7 @@ var EditSession = function(text, mode) {
|
|||
* The first position indicates the number of columns for `str` on screen.<br/>
|
||||
* The second value contains the position of the document column that this function read until.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
|
@ -2076,7 +2076,7 @@ var EditSession = function(text, mode) {
|
|||
/**
|
||||
* Returns the position (on screen) for the last character in the provided screen row.
|
||||
* @param {Number} screenRow The screen row to check
|
||||
*
|
||||
*
|
||||
*
|
||||
* @related EditSession.documentToScreenColumn
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -1050,8 +1050,6 @@ var Editor = function(renderer, session) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Editor.getWrapBehavioursEnabled() -> Boolean
|
||||
*
|
||||
* Returns `true` if the wrapping behaviors are currently enabled.
|
||||
**/
|
||||
this.getWrapBehavioursEnabled = function () {
|
||||
|
|
|
|||
|
|
@ -66,12 +66,11 @@ var EditSession = require("./edit_session").EditSession;
|
|||
// automatically sorted list of ranges
|
||||
this.rangeList = null;
|
||||
|
||||
/** extension
|
||||
* Selection.addRange(range, $blockChangeEvents)
|
||||
* - range (Range): The new range to add
|
||||
* - $blockChangeEvents (Boolean): Whether or not to block changing events
|
||||
*
|
||||
/**
|
||||
* Adds a range to a selection by entering multiselect mode, if necessary.
|
||||
* @param {Range} range The new range to add
|
||||
* @param {Boolean} $blockChangeEvents Whether or not to block changing events
|
||||
* @method Selection.addRange
|
||||
**/
|
||||
this.addRange = function(range, $blockChangeEvents) {
|
||||
if (!range)
|
||||
|
|
@ -106,6 +105,10 @@ var EditSession = require("./edit_session").EditSession;
|
|||
return $blockChangeEvents || this.fromOrientedRange(range);
|
||||
};
|
||||
|
||||
/**
|
||||
* @method Selection.toSingleRange
|
||||
**/
|
||||
|
||||
this.toSingleRange = function(range) {
|
||||
range = range || this.ranges[0];
|
||||
var removed = this.rangeList.removeAll();
|
||||
|
|
@ -115,11 +118,10 @@ var EditSession = require("./edit_session").EditSession;
|
|||
range && this.fromOrientedRange(range);
|
||||
};
|
||||
|
||||
/** extension
|
||||
* Selection.substractPoint(pos) -> Range
|
||||
* - pos (Range): The position to remove, as a `{row, column}` object
|
||||
*
|
||||
/**
|
||||
* Removes a Range containing pos (if it exists).
|
||||
* @param {Range} pos The position to remove, as a `{row, column}` object
|
||||
* @method Selection.substractPoint
|
||||
**/
|
||||
this.substractPoint = function(pos) {
|
||||
var removed = this.rangeList.substractPoint(pos);
|
||||
|
|
@ -129,10 +131,9 @@ var EditSession = require("./edit_session").EditSession;
|
|||
}
|
||||
};
|
||||
|
||||
/** extension
|
||||
* Selection.mergeOverlappingRanges()
|
||||
*
|
||||
/**
|
||||
* Merges overlapping ranges ensuring consistency after changes
|
||||
* @method Selection.mergeOverlappingRanges
|
||||
**/
|
||||
this.mergeOverlappingRanges = function() {
|
||||
var removed = this.rangeList.merge();
|
||||
|
|
@ -185,10 +186,20 @@ var EditSession = require("./edit_session").EditSession;
|
|||
this.rangeCount = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns a concatenation of all the ranges.
|
||||
* @returns Array
|
||||
* @method Selection.getAllRanges
|
||||
**/
|
||||
this.getAllRanges = function() {
|
||||
return this.rangeList.ranges.concat();
|
||||
};
|
||||
|
||||
/**
|
||||
* Splits all the ranges into lines.
|
||||
* @method Selection.splitIntoLines
|
||||
**/
|
||||
|
||||
this.splitIntoLines = function () {
|
||||
if (this.rangeCount > 1) {
|
||||
var ranges = this.rangeList.ranges;
|
||||
|
|
@ -229,6 +240,9 @@ var EditSession = require("./edit_session").EditSession;
|
|||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @method Selection.toggleBlockSelection
|
||||
**/
|
||||
this.toggleBlockSelection = function () {
|
||||
if (this.rangeCount > 1) {
|
||||
var ranges = this.rangeList.ranges;
|
||||
|
|
@ -246,14 +260,15 @@ var EditSession = require("./edit_session").EditSession;
|
|||
}
|
||||
};
|
||||
|
||||
/** extension
|
||||
* Selection.rectangularRangeBlock(screenCursor, screenAnchor, includeEmptyLines) -> Range
|
||||
* - screenCursor (Cursor): The cursor to use
|
||||
* - screenAnchor (Anchor): The anchor to use
|
||||
* - includeEmptyLines (Boolean): If true, this includes ranges inside the block which are empty due to clipping
|
||||
*
|
||||
/**
|
||||
*
|
||||
* Gets list of ranges composing rectangular block on the screen
|
||||
*
|
||||
*
|
||||
* @param {Cursor} screenCursor The cursor to use
|
||||
* @param {Anchor} screenAnchor The anchor to use
|
||||
* @param {Boolean} includeEmptyLines If true, this includes ranges inside the block which are empty due to clipping
|
||||
* @returns Range
|
||||
* @method Selection.rectangularRangeBlock
|
||||
**/
|
||||
this.rectangularRangeBlock = function(screenCursor, screenAnchor, includeEmptyLines) {
|
||||
var rectSel = [];
|
||||
|
|
@ -325,9 +340,10 @@ var Editor = require("./editor").Editor;
|
|||
(function() {
|
||||
|
||||
/**
|
||||
* Editor.updateSelectionMarkers()
|
||||
*
|
||||
*
|
||||
* Updates the cursor and marker layers.
|
||||
* @method Editor.updateSelectionMarkers
|
||||
*
|
||||
**/
|
||||
this.updateSelectionMarkers = function() {
|
||||
this.renderer.updateCursor();
|
||||
|
|
@ -335,10 +351,10 @@ var Editor = require("./editor").Editor;
|
|||
};
|
||||
|
||||
/**
|
||||
* Editor.addSelectionMarker(orientedRange) -> Range
|
||||
* - orientedRange (Range): A range containing a cursor
|
||||
*
|
||||
* Adds the selection and cursor.
|
||||
* @param {Range} orientedRange A range containing a cursor
|
||||
* @returns Range
|
||||
* @method Editor.addSelectionMarker
|
||||
**/
|
||||
this.addSelectionMarker = function(orientedRange) {
|
||||
if (!orientedRange.cursor)
|
||||
|
|
@ -353,10 +369,9 @@ var Editor = require("./editor").Editor;
|
|||
};
|
||||
|
||||
/**
|
||||
* Editor.removeSelectionMarker(range)
|
||||
* - range (Range): The selection range added with [[Editor.addSelectionMarker `addSelectionMarker()`]].
|
||||
*
|
||||
* Removes the selection marker.
|
||||
* @param {Range} The selection range added with [[Editor.addSelectionMarker `addSelectionMarker()`]].
|
||||
* @method Editor.removeSelectionMarker
|
||||
**/
|
||||
this.removeSelectionMarker = function(range) {
|
||||
if (!range.marker)
|
||||
|
|
@ -441,12 +456,11 @@ var Editor = require("./editor").Editor;
|
|||
};
|
||||
|
||||
/**
|
||||
* Editor.forEachSelection(cmd, args)
|
||||
* - cmd (String): The command to execute
|
||||
* - args (String): Any arguments for the command
|
||||
*
|
||||
* Executes a command for each selection range.
|
||||
**/
|
||||
* @param {String} cmd The command to execute
|
||||
* @param {String} args Any arguments for the command
|
||||
* @method Editor.forEachSelection
|
||||
**/
|
||||
this.forEachSelection = function(cmd, args) {
|
||||
if (this.inVirtualSelectionMode)
|
||||
return;
|
||||
|
|
@ -478,9 +492,8 @@ var Editor = require("./editor").Editor;
|
|||
};
|
||||
|
||||
/**
|
||||
* Editor.exitMultiSelectMode() -> Void
|
||||
*
|
||||
* Removes all the selections except the last added one.
|
||||
* @method Editor.exitMultiSelectMode
|
||||
**/
|
||||
this.exitMultiSelectMode = function() {
|
||||
if (this.inVirtualSelectionMode)
|
||||
|
|
@ -529,12 +542,12 @@ var Editor = require("./editor").Editor;
|
|||
};
|
||||
|
||||
/**
|
||||
* Editor.findAll(needle, options, additive) -> Number
|
||||
* - needle (String): The text to find
|
||||
* - options (Object): The search options
|
||||
* - additive (Boolean): keeps
|
||||
*
|
||||
* Finds and selects all the occurences of `needle`.
|
||||
* @param {String} The text to find
|
||||
* @param {Object} The search options
|
||||
* @param {Boolean} keeps
|
||||
* @returns Number
|
||||
* @method Editor.findAll
|
||||
**/
|
||||
this.findAll = function(needle, options, additive) {
|
||||
options = options || {};
|
||||
|
|
@ -605,11 +618,10 @@ var Editor = require("./editor").Editor;
|
|||
this.selection.substractPoint(toRemove);
|
||||
};
|
||||
|
||||
/** extension
|
||||
* Editor.transposeSelections(dir)
|
||||
* - dir (Number): The direction to rotate selections
|
||||
*
|
||||
/**
|
||||
* Transposes the selected ranges.
|
||||
* @param dir {Number} The direction to rotate selections
|
||||
* @method Editor.transposeSelections
|
||||
**/
|
||||
this.transposeSelections = function(dir) {
|
||||
var session = this.session;
|
||||
|
|
@ -648,12 +660,11 @@ var Editor = require("./editor").Editor;
|
|||
}
|
||||
};
|
||||
|
||||
/** extension
|
||||
* Editor.selectMore(dir, skip)
|
||||
* - dir (Number): The direction of lines to select: -1 for up, 1 for down
|
||||
* - skip (Boolean): If `true`, removes the active selection range
|
||||
*
|
||||
/**
|
||||
* Finds the next occurence of text in an active selection and adds it to the selections.
|
||||
* @param {Number} dir The direction of lines to select: -1 for up, 1 for down
|
||||
* @param {Boolean} skip If `true`, removes the active selection range
|
||||
* @method Editor.selectMore
|
||||
**/
|
||||
this.selectMore = function(dir, skip) {
|
||||
var session = this.session;
|
||||
|
|
@ -676,10 +687,9 @@ var Editor = require("./editor").Editor;
|
|||
this.multiSelect.substractPoint(range.cursor);
|
||||
};
|
||||
|
||||
/** extension
|
||||
* Editor.alignCursors()
|
||||
*
|
||||
* aligns cursors or selected text
|
||||
/**
|
||||
* Aligns the cursors or selected text.
|
||||
* @method Editor.alignCursors
|
||||
**/
|
||||
this.alignCursors = function() {
|
||||
var session = this.session;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ var Range = require("./range").Range;
|
|||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Contains the cursor position and the text selection of an edit session.
|
||||
*
|
||||
* The row/columns used in the selection are in document coordinates representing ths coordinates as thez appear in the document before applying soft wrap and folding.
|
||||
|
|
|
|||
|
|
@ -299,9 +299,6 @@ var Split = function(container, theme, splits) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Split.resize() -> Void
|
||||
*
|
||||
*
|
||||
* Resizes the editor.
|
||||
**/
|
||||
this.resize = function() {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
"no use strict";
|
||||
|
||||
if (typeof window != "undefined" && window.document)
|
||||
throw "atempt to load ace worker into main window instead of webWorker";
|
||||
|
||||
var console = {
|
||||
log: function() {
|
||||
var msgs = Array.prototype.slice.call(arguments, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue