Add missing params
This commit is contained in:
parent
d576d21154
commit
d0eac39245
4 changed files with 28 additions and 14 deletions
|
|
@ -227,9 +227,10 @@
|
|||
</div><h3 id="Editor.replaceAll" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Replaces all occurances of <code>options.needle</code> with the value in <code>replacement</code>.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">replacement</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 replace with</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. The <a href="search.html#Search" class="link-short" title="Search (class)" data-id="Search"><code>Search</code></a> options to use</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="Editor.resize" data-title="Editor.resize (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.resize" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">resize</span></span>(<span class="sigArgList"></span>)</li></ul><ul class="metaInfo"><li><span class="label related-to">Related to: <a href="virtual_renderer.html#VirtualRenderer.onResize" class="" title="VirtualRenderer.onResize (class method)" data-id="VirtualRenderer.onResize">VirtualRenderer.onResize</a></span></li></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.resize" class="ellipsis_description"><p>Triggers a resize of the editor.</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="Editor.resize" data-title="Editor.resize (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.resize" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">resize</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> force</span>)</li></ul><ul class="metaInfo"><li><span class="label related-to">Related to: <a href="virtual_renderer.html#VirtualRenderer.onResize" class="" title="VirtualRenderer.onResize (class method)" data-id="VirtualRenderer.onResize">VirtualRenderer.onResize</a></span></li></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.resize" class="ellipsis_description"><p>Triggers a resize of the editor.</p>
|
||||
</div><h3 id="Editor.resize" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Triggers a resize of the editor.</p>
|
||||
</div></div></div></div></article><article id="Editor.scrollPageDown" data-title="Editor.scrollPageDown (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.scrollPageDown" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">scrollPageDown</span></span>(<span class="sigArgList"></span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.scrollPageDown" class="ellipsis_description"><p>Scrolls the document to wherever "page down" is, without changing the cursor position.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">force</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>, recomputes the size, even if the height and width haven't changed</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="Editor.scrollPageDown" data-title="Editor.scrollPageDown (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.scrollPageDown" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">scrollPageDown</span></span>(<span class="sigArgList"></span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.scrollPageDown" class="ellipsis_description"><p>Scrolls the document to wherever "page down" is, without changing the cursor position.</p>
|
||||
</div><h3 id="Editor.scrollPageDown" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Scrolls the document to wherever "page down" is, without changing the cursor position.</p>
|
||||
</div></div></div></div></article><article id="Editor.scrollPageUp" data-title="Editor.scrollPageUp (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.scrollPageUp" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">scrollPageUp</span></span>(<span class="sigArgList"></span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.scrollPageUp" class="ellipsis_description"><p>Scrolls the document to wherever "page up" is, without changing the cursor position.</p>
|
||||
</div><h3 id="Editor.scrollPageUp" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Scrolls the document to wherever "page up" is, without changing the cursor position.</p>
|
||||
|
|
@ -300,11 +301,13 @@
|
|||
</td></tr></table></div></div></div></div></article><article id="Editor.setShowPrintMargin" data-title="Editor.setShowPrintMargin (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.setShowPrintMargin" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setShowPrintMargin</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> showPrintMargin</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.setShowPrintMargin" class="ellipsis_description"><p>If <code>showPrintMargin</code> is set to <code>true</code>, the print margin is shown in the editor.</p>
|
||||
</div><h3 id="Editor.setShowPrintMargin" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>If <code>showPrintMargin</code> is set to <code>true</code>, the print margin is shown in the editor.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">showPrintMargin</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. Specifies whether or not to show the print margin</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="Editor.setStyle" data-title="Editor.setStyle (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.setStyle" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setStyle</span></span>(<span class="sigArgList">style</span>)</li></ul><ul class="metaInfo"><li><span class="label related-to">Related to: <a href="virtual_renderer.html#VirtualRenderer.setStyle" class="" title="VirtualRenderer.setStyle (class method)" data-id="VirtualRenderer.setStyle">VirtualRenderer.setStyle</a></span></li></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.setStyle" class="ellipsis_description"><p>Adds a new class, <code>style</code>, to the editor.</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="Editor.setStyle" data-title="Editor.setStyle (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.setStyle" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setStyle</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> style</span>)</li></ul><ul class="metaInfo"><li><span class="label related-to">Related to: <a href="virtual_renderer.html#VirtualRenderer.setStyle" class="" title="VirtualRenderer.setStyle (class method)" data-id="VirtualRenderer.setStyle">VirtualRenderer.setStyle</a></span></li></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.setStyle" class="ellipsis_description"><p>Adds a new class, <code>style</code>, to the editor.</p>
|
||||
</div><h3 id="Editor.setStyle" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Adds a new class, <code>style</code>, to the editor.</p>
|
||||
</div></div></div></div></article><article id="Editor.setTheme" data-title="Editor.setTheme (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.setTheme" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setTheme</span></span>(<span class="sigArgList">theme</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.setTheme" class="ellipsis_description"><p>Sets a new theme for the editor. <code>theme</code> should exist, and be a directory path, like <code>ace/theme/textmate</code>.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">style</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 class name</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="Editor.setTheme" data-title="Editor.setTheme (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.setTheme" class="member-name methodClicker"><span class="sigClassName">Editor.</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"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.setTheme" class="ellipsis_description"><p>Sets a new theme for the editor. <code>theme</code> should exist, and be a directory path, like <code>ace/theme/textmate</code>.</p>
|
||||
</div><h3 id="Editor.setTheme" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Sets a new theme for the editor. <code>theme</code> should exist, and be a directory path, like <code>ace/theme/textmate</code>.</p>
|
||||
</div></div></div></div></article><article id="Editor.setValue" data-title="Editor.setValue (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.setValue" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setValue</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> val[, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> cursorPos]</span>)<li class="signature-returns"><ul class="argument-types"><li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="returnType " title="String" data-id="String">String</a></li></ul></li></li></ul><ul class="metaInfo"><li><span class="label related-to">Related to: <a href="document.html#Document.setValue" class="" title="Document.setValue (class method)" data-id="Document.setValue">Document.setValue</a></span></li></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.setValue" class="ellipsis_description"><p>Sets the current document to <code>val</code>.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">theme</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 path to a theme</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="Editor.setValue" data-title="Editor.setValue (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="Editor.setValue" class="member-name methodClicker"><span class="sigClassName">Editor.</span><span class="sigMemberName">setValue</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> val[, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> cursorPos]</span>)<li class="signature-returns"><ul class="argument-types"><li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="returnType " title="String" data-id="String">String</a></li></ul></li></li></ul><ul class="metaInfo"><li><span class="label related-to">Related to: <a href="document.html#Document.setValue" class="" title="Document.setValue (class method)" data-id="Document.setValue">Document.setValue</a></span></li></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_Editor.setValue" class="ellipsis_description"><p>Sets the current document to <code>val</code>.</p>
|
||||
</div><h3 id="Editor.setValue" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Sets the current document to <code>val</code>.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">val</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 new value to set for the document</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">cursorPos</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. Where to set the new value. <code>undefined</code> or 0 is selectAll, -1 is at the document start, and 1 is at the end</p>
|
||||
|
|
|
|||
|
|
@ -56,9 +56,12 @@
|
|||
</div><h3 id="VirtualRenderer.isScrollableBy" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Returns <code>true</code> if you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">deltaX</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 x value to scroll by</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">deltaY</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 y value to scroll by</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="VirtualRenderer.onResize" data-title="VirtualRenderer.onResize (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.onResize" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">onResize</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> force</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.onResize" class="ellipsis_description"><p>Triggers a resize of the editor.</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="VirtualRenderer.onResize" data-title="VirtualRenderer.onResize (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.onResize" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">onResize</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> force, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> gutterWidth, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> width, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> height</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.onResize" class="ellipsis_description"><p>Triggers a resize of the editor.</p>
|
||||
</div><h3 id="VirtualRenderer.onResize" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Triggers a resize of the editor.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">force</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>, recomputes the size, even if the height and width haven't changed</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">gutterWidth</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 width of the gutter in pixels</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">width</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 width of the editor in pixels</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">height</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 hiehgt of the editor, in pixels</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="VirtualRenderer.removeGutterDecoration" data-title="VirtualRenderer.removeGutterDecoration (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.removeGutterDecoration" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">removeGutterDecoration</span></span>(<span class="sigArgList">row, className</span>)<li class="signature-returns"><ul class="argument-types"><li class="argument-type"><span class="returnType " title="VirtualRenderer.removeGutterDecoration (class method)">Void</span></li></ul></li></li></ul><ul class="metaInfo"><li><span class="label deprecated">Deprecated</span></li></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.removeGutterDecoration" class="ellipsis_description"><p>Deprecated; (moved to <a href="edit_session.html#EditSession" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>)</p>
|
||||
</div><h3 id="VirtualRenderer.removeGutterDecoration" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Deprecated; (moved to <a href="edit_session.html#EditSession" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>)</p>
|
||||
</div></div></div></div></article><article id="VirtualRenderer.scrollBy" data-title="VirtualRenderer.scrollBy (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.scrollBy" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">scrollBy</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> deltaX, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> deltaY</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.scrollBy" class="ellipsis_description"><p>Scrolls the editor across both x- and y-axes.</p>
|
||||
|
|
@ -137,9 +140,10 @@
|
|||
</div><h3 id="VirtualRenderer.updateFontSize" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Updates the font size.</p>
|
||||
</div></div></div></div></article><article id="VirtualRenderer.updateFrontMarkers" data-title="VirtualRenderer.updateFrontMarkers (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.updateFrontMarkers" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">updateFrontMarkers</span></span>(<span class="sigArgList"></span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.updateFrontMarkers" class="ellipsis_description"><p>Schedules an update to all the front markers in the document.</p>
|
||||
</div><h3 id="VirtualRenderer.updateFrontMarkers" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Schedules an update to all the front markers in the document.</p>
|
||||
</div></div></div></div></article><article id="VirtualRenderer.updateFull" data-title="VirtualRenderer.updateFull (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.updateFull" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">updateFull</span></span>(<span class="sigArgList"></span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.updateFull" class="ellipsis_description"><p>Triggers a full update of all the layers, for all the rows.</p>
|
||||
</div></div></div></div></article><article id="VirtualRenderer.updateFull" data-title="VirtualRenderer.updateFull (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.updateFull" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">updateFull</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> force</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.updateFull" class="ellipsis_description"><p>Triggers a full update of all the layers, for all the rows.</p>
|
||||
</div><h3 id="VirtualRenderer.updateFull" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Triggers a full update of all the layers, for all the rows.</p>
|
||||
</div></div></div></div></article><article id="VirtualRenderer.updateLines" data-title="VirtualRenderer.updateLines (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.updateLines" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">updateLines</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> firstRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.updateLines" class="ellipsis_description"><p>Triggers a partial update of the text, from the range given by the two parameters.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">force</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>, forces the changes through</p>
|
||||
</td></tr></table></div></div></div></div></article><article id="VirtualRenderer.updateLines" data-title="VirtualRenderer.updateLines (class method)" class="article"><div class="section method"><div class="memberContent"><div class="title"><ul class="signatures"><li class="signature"><ul><li class="signature-call"><span id="VirtualRenderer.updateLines" class="member-name methodClicker"><span class="sigClassName">VirtualRenderer.</span><span class="sigMemberName">updateLines</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> firstRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)</li></ul><ul class="metaInfo"></ul></li></ul></div><div class="sideToggler"><div id="ellipsis_VirtualRenderer.updateLines" class="ellipsis_description"><p>Triggers a partial update of the text, from the range given by the two parameters.</p>
|
||||
</div><h3 id="VirtualRenderer.updateLines" class="methodToggle methodClicker inactive"> </h3><div class="description"><p>Triggers a partial update of the text, from the range given by the two parameters.</p>
|
||||
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</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 first row to update</p>
|
||||
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</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 last row to update</p>
|
||||
|
|
|
|||
|
|
@ -280,8 +280,9 @@ var Editor = function(renderer, session) {
|
|||
};
|
||||
|
||||
/** related to: VirtualRenderer.onResize
|
||||
* Editor.resize()
|
||||
*
|
||||
* Editor.resize(force)
|
||||
* - force (Boolean): If `true`, recomputes the size, even if the height and width haven't changed
|
||||
*
|
||||
* {:VirtualRenderer.onResize}
|
||||
**/
|
||||
this.resize = function(force) {
|
||||
|
|
@ -290,7 +291,8 @@ var Editor = function(renderer, session) {
|
|||
|
||||
/**
|
||||
* Editor.setTheme(theme)
|
||||
*
|
||||
* - theme (String): The path to a theme
|
||||
*
|
||||
* {:VirtualRenderer.setTheme}
|
||||
**/
|
||||
this.setTheme = function(theme) {
|
||||
|
|
@ -308,7 +310,8 @@ var Editor = function(renderer, session) {
|
|||
|
||||
/** related to: VirtualRenderer.setStyle
|
||||
* Editor.setStyle(style)
|
||||
*
|
||||
* - style (String): A class name
|
||||
*
|
||||
* {:VirtualRenderer.setStyle}
|
||||
**/
|
||||
this.setStyle = function(style) {
|
||||
|
|
|
|||
|
|
@ -264,7 +264,8 @@ var VirtualRenderer = function(container, theme) {
|
|||
};
|
||||
|
||||
/**
|
||||
* VirtualRenderer.updateFull()
|
||||
* VirtualRenderer.updateFull(force)
|
||||
* - force (Boolean): If `true`, forces the changes through
|
||||
*
|
||||
* Triggers a full update of all the layers, for all the rows.
|
||||
**/
|
||||
|
|
@ -287,8 +288,11 @@ var VirtualRenderer = function(container, theme) {
|
|||
};
|
||||
|
||||
/**
|
||||
* VirtualRenderer.onResize(force)
|
||||
* VirtualRenderer.onResize(force, gutterWidth, width, height)
|
||||
* - force (Boolean): If `true`, recomputes the size, even if the height and width haven't changed
|
||||
* - gutterWidth (Number): The width of the gutter in pixels
|
||||
* - width (Number): The width of the editor in pixels
|
||||
* - height (Number): The hiehgt of the editor, in pixels
|
||||
*
|
||||
* [Triggers a resize of the editor.]{: #VirtualRenderer.onResize}
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue