<p>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.</p>
</div></div></article><h3class="sectionHeader">Constructors</h3><articleid="Selection.new"data-title="Selection.new (constructor)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanclass="constructorIdentifier">new </span><spanid="Selection.new"class="member-name methodClicker">Selection</span>(<spanclass="sigArgList"><ahref="edit_session.html#EditSession"class="argument methodClicker"title="EditSession (class)"data-id="EditSession">EditSession</a> session</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.new"class="ellipsis_description"><p>Creates a new <code>Selection</code> object.</p>
</div><h3id="Selection.new"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Creates a new <code>Selection</code> object.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">session</td><tdclass="argType""><ahref="edit_session.html#EditSession"class=""title="EditSession (class)"data-id="EditSession">EditSession</a></td><tdclass="argDescription ">Required. The session to use</td></tr></table></div></div></div></div></article><h3class="sectionHeader">Methods</h3><articleid="Selection.addRange"data-title="Selection.addRange (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.addRange"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">addRange</span></span>(<spanclass="sigArgList"><ahref="range.html#Range"class="argument methodClicker"title="Range (class)"data-id="Range">Range</a> range, <ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="argument methodClicker"title="Boolean"data-id="Boolean">Boolean</a> $blockChangeEvents</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.addRange"class="ellipsis_description"><p>Adds a range to a selection by entering multiselect mode, if necessary.</p>
</div><h3id="Selection.addRange"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Adds a range to a selection by entering multiselect mode, if necessary.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">range</td><tdclass="argType""><ahref="range.html#Range"class=""title="Range (class)"data-id="Range">Range</a></td><tdclass="argDescription ">Required. The new range to add</td></tr><trclass="argumentRow "><tdclass="argName ">$blockChangeEvents</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class=""title="Boolean"data-id="Boolean">Boolean</a></td><tdclass="argDescription ">Required. Whether or not to block changing events</td></tr></table></div></div></div></div></article><articleid="Selection.clearSelection"data-title="Selection.clearSelection (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.clearSelection"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">clearSelection</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.clearSelection"class="ellipsis_description"><p>Empties the selection (by de-selecting it). This function also emits the <code>'changeSelection'</code> event.</p>
</div><h3id="Selection.clearSelection"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Empties the selection (by de-selecting it). This function also emits the <code>'changeSelection'</code> event.</p>
</div></div></div></div></article><articleid="Selection.getCursor"data-title="Selection.getCursor (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.getCursor"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">getCursor</span></span>(<spanclass="sigArgList"></span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="returnType "title="Number"data-id="Number">Number</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.getCursor"class="ellipsis_description"><p>Gets the current position of the cursor.</p>
</div><h3id="Selection.getCursor"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Gets the current position of the cursor.</p>
</div></div></div></div></article><articleid="Selection.getRange"data-title="Selection.getRange (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.getRange"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">getRange</span></span>(<spanclass="sigArgList"></span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="range.html#Range"class="returnType "title="Range (class)"data-id="Range">Range</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.getRange"class="ellipsis_description"><p>Returns the <ahref="range.html#Range"class="link-short"title="Range (class)"data-id="Range">Range</a> for the selected text.</p>
</div><h3id="Selection.getRange"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Returns the <ahref="range.html#Range"class="link-short"title="Range (class)"data-id="Range">Range</a> for the selected text.</p>
</div></div></div></div></article><articleid="Selection.getSelectionAnchor"data-title="Selection.getSelectionAnchor (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.getSelectionAnchor"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">getSelectionAnchor</span></span>(<spanclass="sigArgList"></span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="http://www.nodemanual.org/latest/js_doc/Object.html"class="returnType "title="Object"data-id="Object">Object</a></li></ul></li></li></ul><ulclass="metaInfo"><li><spanclass="label related-to">Related to <ahref="anchor.html#Anchor.getPosition"class=""title="Anchor.getPosition (class method)"data-id="Anchor.getPosition">Anchor.getPosition</a></span></li></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.getSelectionAnchor"class="ellipsis_description"><p>Returns an object containing the <code>row</code> and <code>column</code> of the calling selection anchor.</p>
</div><h3id="Selection.getSelectionAnchor"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Returns an object containing the <code>row</code> and <code>column</code> of the calling selection anchor.</p>
</div></div></div></div></article><articleid="Selection.getSelectionLead"data-title="Selection.getSelectionLead (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.getSelectionLead"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">getSelectionLead</span></span>(<spanclass="sigArgList"></span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="http://www.nodemanual.org/latest/js_doc/Object.html"class="returnType "title="Object"data-id="Object">Object</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.getSelectionLead"class="ellipsis_description"><p>Returns an object containing the <code>row</code> and <code>column</code> of the calling selection lead.</p>
</div><h3id="Selection.getSelectionLead"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Returns an object containing the <code>row</code> and <code>column</code> of the calling selection lead.</p>
</div></div></div></div></article><articleid="Selection.isBackwards"data-title="Selection.isBackwards (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.isBackwards"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">isBackwards</span></span>(<spanclass="sigArgList"></span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="returnType "title="Boolean"data-id="Boolean">Boolean</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.isBackwards"class="ellipsis_description"><p>Returns <code>true</code> if the selection is going backwards in the document.</p>
</div><h3id="Selection.isBackwards"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Returns <code>true</code> if the selection is going backwards in the document.</p>
</div></div></div></div></article><articleid="Selection.isEmpty"data-title="Selection.isEmpty (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.isEmpty"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">isEmpty</span></span>(<spanclass="sigArgList"></span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="returnType "title="Boolean"data-id="Boolean">Boolean</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.isEmpty"class="ellipsis_description"><p>Returns <code>true</code> if the selection is empty.</p>
</div><h3id="Selection.isEmpty"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Returns <code>true</code> if the selection is empty.</p>
</div></div></div></div></article><articleid="Selection.isMultiLine"data-title="Selection.isMultiLine (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.isMultiLine"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">isMultiLine</span></span>(<spanclass="sigArgList"></span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="returnType "title="Boolean"data-id="Boolean">Boolean</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.isMultiLine"class="ellipsis_description"><p>Returns <code>true</code> if the selection is a multi-line.</p>
</div><h3id="Selection.isMultiLine"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Returns <code>true</code> if the selection is a multi-line.</p>
</div><h3id="Selection.mergeOverlappingRanges"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Merges overlapping ranges ensuring consistency after changes</p>
</div></div></div></div></article><articleid="Selection.moveCursorBy"data-title="Selection.moveCursorBy (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorBy"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorBy</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> rows, <ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> chars</span>)</li></ul><ulclass="metaInfo"><li><spanclass="label related-to">Related to <ahref="edit_session.html#EditSession.documentToScreenPosition"class=""title="EditSession.documentToScreenPosition (class method)"data-id="EditSession.documentToScreenPosition">EditSession.documentToScreenPosition</a></span></li></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorBy"class="ellipsis_description"><p>Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.</p>
</div><h3id="Selection.moveCursorBy"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">rows</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The number of rows to move by</td></tr><trclass="argumentRow "><tdclass="argName ">chars</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The number of characters to move by</td></tr></table></div></div></div></div></article><articleid="Selection.moveCursorDown"data-title="Selection.moveCursorDown (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorDown"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorDown</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorDown"class="ellipsis_description"><p>Moves the cursor down one row.</p>
</div><h3id="Selection.moveCursorDown"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor down one row.</p>
</div></div></div></div></article><articleid="Selection.moveCursorFileEnd"data-title="Selection.moveCursorFileEnd (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorFileEnd"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorFileEnd</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorFileEnd"class="ellipsis_description"><p>Moves the cursor to the end of the file.</p>
</div><h3id="Selection.moveCursorFileEnd"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the end of the file.</p>
</div></div></div></div></article><articleid="Selection.moveCursorFileStart"data-title="Selection.moveCursorFileStart (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorFileStart"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorFileStart</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorFileStart"class="ellipsis_description"><p>Moves the cursor to the start of the file.</p>
</div><h3id="Selection.moveCursorFileStart"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the start of the file.</p>
</div></div></div></div></article><articleid="Selection.moveCursorLeft"data-title="Selection.moveCursorLeft (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorLeft"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorLeft</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorLeft"class="ellipsis_description"><p>Moves the cursor left one column.</p>
</div><h3id="Selection.moveCursorLeft"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor left one column.</p>
</div></div></div></div></article><articleid="Selection.moveCursorLineEnd"data-title="Selection.moveCursorLineEnd (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorLineEnd"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorLineEnd</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorLineEnd"class="ellipsis_description"><p>Moves the cursor to the end of the line.</p>
</div><h3id="Selection.moveCursorLineEnd"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the end of the line.</p>
</div></div></div></div></article><articleid="Selection.moveCursorLineStart"data-title="Selection.moveCursorLineStart (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorLineStart"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorLineStart</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorLineStart"class="ellipsis_description"><p>Moves the cursor to the start of the line.</p>
</div><h3id="Selection.moveCursorLineStart"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the start of the line.</p>
</div></div></div></div></article><articleid="Selection.moveCursorLongWordLeft"data-title="Selection.moveCursorLongWordLeft (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorLongWordLeft"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorLongWordLeft</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorLongWordLeft"class="ellipsis_description"><p>Moves the cursor to the word on the left.</p>
</div><h3id="Selection.moveCursorLongWordLeft"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the word on the left.</p>
</div></div></div></div></article><articleid="Selection.moveCursorLongWordRight"data-title="Selection.moveCursorLongWordRight (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorLongWordRight"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorLongWordRight</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorLongWordRight"class="ellipsis_description"><p>Moves the cursor to the word on the right.</p>
</div><h3id="Selection.moveCursorLongWordRight"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the word on the right.</p>
</div></div></div></div></article><articleid="Selection.moveCursorRight"data-title="Selection.moveCursorRight (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorRight"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorRight</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorRight"class="ellipsis_description"><p>Moves the cursor right one column.</p>
</div><h3id="Selection.moveCursorRight"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor right one column.</p>
</div></div></div></div></article><articleid="Selection.moveCursorTo"data-title="Selection.moveCursorTo (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorTo"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorTo</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> row, <ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> column, <ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="argument methodClicker"title="Boolean"data-id="Boolean">Boolean</a> keepDesiredColumn</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorTo"class="ellipsis_description"><p>Moves the cursor to the row and column provided. If <code>preventUpdateDesiredColumn</code> is <code>true</code>, then the cursor stays in the same column position as its original point.</p>
</div><h3id="Selection.moveCursorTo"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the row and column provided. If <code>preventUpdateDesiredColumn</code> is <code>true</code>, then the cursor stays in the same column position as its original point.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">row</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The row to move to</td></tr><trclass="argumentRow "><tdclass="argName ">column</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The column to move to</td></tr><trclass="argumentRow "><tdclass="argName ">keepDesiredColumn</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class=""title="Boolean"data-id="Boolean">Boolean</a></td><tdclass="argDescription ">Required. If <code>true</code>, the cursor move does not respect the previous column</td></tr></table></div></div></div></div></article><articleid="Selection.moveCursorToPosition"data-title="Selection.moveCursorToPosition (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorToPosition"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorToPosition</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Object.html"class="argument methodClicker"title="Object"data-id="Object">Object</a> position</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorToPosition"class="ellipsis_description"><p>Moves the selection to the position indicated by its <code>row</code> and <code>column</code>.</p>
</div><h3id="Selection.moveCursorToPosition"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to the position indicated by its <code>row</code> and <code>column</code>.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">position</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Object.html"class=""title="Object"data-id="Object">Object</a></td><tdclass="argDescription ">Required. The position to move to</td></tr></table></div></div></div></div></article><articleid="Selection.moveCursorToScreen"data-title="Selection.moveCursorToScreen (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorToScreen"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorToScreen</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> row, <ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> column, <ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="argument methodClicker"title="Boolean"data-id="Boolean">Boolean</a> keepDesiredColumn</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorToScreen"class="ellipsis_description"><p>Moves the cursor to the screen position indicated by row and column. If <code>preventUpdateDesiredColumn</code> is <code>true</code>, then the cursor stays in the same column position as its original point.</p>
</div><h3id="Selection.moveCursorToScreen"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor to the screen position indicated by row and column. If <code>preventUpdateDesiredColumn</code> is <code>true</code>, then the cursor stays in the same column position as its original point.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">row</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The row to move to</td></tr><trclass="argumentRow "><tdclass="argName ">column</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The column to move to</td></tr><trclass="argumentRow "><tdclass="argName ">keepDesiredColumn</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class=""title="Boolean"data-id="Boolean">Boolean</a></td><tdclass="argDescription ">Required. If <code>true</code>, the cursor move does not respect the previous column</td></tr></table></div></div></div></div></article><articleid="Selection.moveCursorUp"data-title="Selection.moveCursorUp (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.moveCursorUp"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">moveCursorUp</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.moveCursorUp"class="ellipsis_description"><p>Moves the cursor up one row.</p>
</div><h3id="Selection.moveCursorUp"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the cursor up one row.</p>
</div></div></div></div></article><articleid="Selection.rectangularRangeBlock"data-title="Selection.rectangularRangeBlock (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.rectangularRangeBlock"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">rectangularRangeBlock</span></span>(<spanclass="sigArgList"><ahref="https://github.com/ajaxorg/ace/blob/master/lib/ace/layer/cursor.js"class="argument methodClicker"title="Cursor"data-id="Cursor">Cursor</a> screenCursor, <ahref="anchor.html#Anchor"class="argument methodClicker"title="Anchor (class)"data-id="Anchor">Anchor</a> screenAnchor, <ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="argument methodClicker"title="Boolean"data-id="Boolean">Boolean</a> includeEmptyLines</span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="range.html#Range"class="returnType "title="Range (class)"data-id="Range">Range</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.rectangularRangeBlock"class="ellipsis_description"><p>Gets list of ranges composing rectangular block on the screen</p>
</div><h3id="Selection.rectangularRangeBlock"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Gets list of ranges composing rectangular block on the screen</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">screenCursor</td><tdclass="argType""><ahref="https://github.com/ajaxorg/ace/blob/master/lib/ace/layer/cursor.js"class=""title="Cursor"data-id="Cursor">Cursor</a></td><tdclass="argDescription ">Required. The cursor to use</td></tr><trclass="argumentRow "><tdclass="argName ">screenAnchor</td><tdclass="argType""><ahref="anchor.html#Anchor"class=""title="Anchor (class)"data-id="Anchor">Anchor</a></td><tdclass="argDescription ">Required. The anchor to use</td></tr><trclass="argumentRow "><tdclass="argName ">includeEmptyLines</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class=""title="Boolean"data-id="Boolean">Boolean</a></td><tdclass="argDescription ">Required. If true, this includes ranges inside the block which are empty due to clipping</td></tr></table></div></div></div></div></article><articleid="Selection.selectAll"data-title="Selection.selectAll (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectAll"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectAll</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectAll"class="ellipsis_description"><p>Selects all the text in the document.</p>
</div><h3id="Selection.selectAll"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Selects all the text in the document.</p>
</div></div></div></div></article><articleid="Selection.selectAWord"data-title="Selection.selectAWord (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectAWord"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectAWord</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"><li><spanclass="label related-to">Related to <ahref="edit_session.html#EditSession.getAWordRange"class=""title="EditSession.getAWordRange (class method)"data-id="EditSession.getAWordRange">EditSession.getAWordRange</a></span></li></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectAWord"class="ellipsis_description"><p>Selects a word, including its right whitespace.</p>
</div><h3id="Selection.selectAWord"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Selects a word, including its right whitespace.</p>
</div></div></div></div></article><articleid="Selection.selectDown"data-title="Selection.selectDown (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectDown"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectDown</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectDown"class="ellipsis_description"><p>Moves the selection down one row.</p>
</div><h3id="Selection.selectDown"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection down one row.</p>
</div></div></div></div></article><articleid="Selection.selectFileEnd"data-title="Selection.selectFileEnd (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectFileEnd"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectFileEnd</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectFileEnd"class="ellipsis_description"><p>Moves the selection to the end of the file.</p>
</div><h3id="Selection.selectFileEnd"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to the end of the file.</p>
</div></div></div></div></article><articleid="Selection.selectFileStart"data-title="Selection.selectFileStart (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectFileStart"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectFileStart</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectFileStart"class="ellipsis_description"><p>Moves the selection to the start of the file.</p>
</div><h3id="Selection.selectFileStart"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to the start of the file.</p>
</div></div></div></div></article><articleid="Selection.selectLeft"data-title="Selection.selectLeft (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectLeft"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectLeft</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectLeft"class="ellipsis_description"><p>Moves the selection left one column.</p>
</div><h3id="Selection.selectLeft"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection left one column.</p>
</div></div></div></div></article><articleid="Selection.selectLine"data-title="Selection.selectLine (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectLine"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectLine</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectLine"class="ellipsis_description"><p>Selects the entire line.</p>
</div><h3id="Selection.selectLine"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Selects the entire line.</p>
</div></div></div></div></article><articleid="Selection.selectLineEnd"data-title="Selection.selectLineEnd (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectLineEnd"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectLineEnd</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectLineEnd"class="ellipsis_description"><p>Moves the selection to the end of the current line.</p>
</div><h3id="Selection.selectLineEnd"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to the end of the current line.</p>
</div></div></div></div></article><articleid="Selection.selectLineStart"data-title="Selection.selectLineStart (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectLineStart"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectLineStart</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectLineStart"class="ellipsis_description"><p>Moves the selection to the beginning of the current line.</p>
</div><h3id="Selection.selectLineStart"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to the beginning of the current line.</p>
</div></div></div></div></article><articleid="Selection.selectRight"data-title="Selection.selectRight (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectRight"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectRight</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectRight"class="ellipsis_description"><p>Moves the selection right one column.</p>
</div><h3id="Selection.selectRight"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection right one column.</p>
</div></div></div></div></article><articleid="Selection.selectTo"data-title="Selection.selectTo (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectTo"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectTo</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> row, <ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> column</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectTo"class="ellipsis_description"><p>Moves the selection cursor to the indicated row and column.</p>
</div><h3id="Selection.selectTo"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection cursor to the indicated row and column.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">row</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The row to select to</td></tr><trclass="argumentRow "><tdclass="argName ">column</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The column to select to</td></tr></table></div></div></div></div></article><articleid="Selection.selectToPosition"data-title="Selection.selectToPosition (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectToPosition"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectToPosition</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Object.html"class="argument methodClicker"title="Object"data-id="Object">Object</a> pos</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectToPosition"class="ellipsis_description"><p>Moves the selection cursor to the row and column indicated by <code>pos</code>.</p>
</div><h3id="Selection.selectToPosition"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection cursor to the row and column indicated by <code>pos</code>.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">pos</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Object.html"class=""title="Object"data-id="Object">Object</a></td><tdclass="argDescription ">Required. An object containing the row and column</td></tr></table></div></div></div></div></article><articleid="Selection.selectUp"data-title="Selection.selectUp (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectUp"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectUp</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectUp"class="ellipsis_description"><p>Moves the selection up one row.</p>
</div><h3id="Selection.selectUp"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection up one row.</p>
</div></div></div></div></article><articleid="Selection.selectWord"data-title="Selection.selectWord (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectWord"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectWord</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"><li><spanclass="label related-to">Related to <ahref="edit_session.html#EditSession.getWordRange"class=""title="EditSession.getWordRange (class method)"data-id="EditSession.getWordRange">EditSession.getWordRange</a></span></li></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectWord"class="ellipsis_description"><p>Moves the selection to highlight the entire word.</p>
</div><h3id="Selection.selectWord"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to highlight the entire word.</p>
</div></div></div></div></article><articleid="Selection.selectWordLeft"data-title="Selection.selectWordLeft (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectWordLeft"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectWordLeft</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectWordLeft"class="ellipsis_description"><p>Moves the selection to the first word on the left.</p>
</div><h3id="Selection.selectWordLeft"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to the first word on the left.</p>
</div></div></div></div></article><articleid="Selection.selectWordRight"data-title="Selection.selectWordRight (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.selectWordRight"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">selectWordRight</span></span>(<spanclass="sigArgList"></span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.selectWordRight"class="ellipsis_description"><p>Moves the selection to the first word on the right.</p>
</div><h3id="Selection.selectWordRight"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Moves the selection to the first word on the right.</p>
</div></div></div></div></article><articleid="Selection.setSelectionAnchor"data-title="Selection.setSelectionAnchor (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.setSelectionAnchor"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">setSelectionAnchor</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> row, <ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> column</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.setSelectionAnchor"class="ellipsis_description"><p>Sets the row and column position of the anchor. This function also emits the <code>'changeSelection'</code> event.</p>
</div><h3id="Selection.setSelectionAnchor"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Sets the row and column position of the anchor. This function also emits the <code>'changeSelection'</code> event.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">row</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The new row</td></tr><trclass="argumentRow "><tdclass="argName ">column</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The new column</td></tr></table></div></div></div></div></article><articleid="Selection.setSelectionRange"data-title="Selection.setSelectionRange (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.setSelectionRange"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">setSelectionRange</span></span>(<spanclass="sigArgList"><ahref="range.html#Range"class="argument methodClicker"title="Range (class)"data-id="Range">Range</a> range, <ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class="argument methodClicker"title="Boolean"data-id="Boolean">Boolean</a> reverse</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.setSelectionRange"class="ellipsis_description"><p>Sets the selection to the provided range.</p>
</div><h3id="Selection.setSelectionRange"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Sets the selection to the provided range.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">range</td><tdclass="argType""><ahref="range.html#Range"class=""title="Range (class)"data-id="Range">Range</a></td><tdclass="argDescription ">Required. The range of text to select</td></tr><trclass="argumentRow "><tdclass="argName ">reverse</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Boolean.html"class=""title="Boolean"data-id="Boolean">Boolean</a></td><tdclass="argDescription ">Required. Indicates if the range should go backwards (<code>true</code>) or not</td></tr></table></div></div></div></div></article><articleid="Selection.shiftSelection"data-title="Selection.shiftSelection (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.shiftSelection"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">shiftSelection</span></span>(<spanclass="sigArgList"><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class="argument methodClicker"title="Number"data-id="Number">Number</a> columns</span>)</li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.shiftSelection"class="ellipsis_description"><p>Shifts the selection up (or down, if <ahref="#Selection.isBackwards"class="link-short"title="Selection.isBackwards (class method)"data-id="Selection.isBackwards">isBackwards</a> is true) the given number of columns.</p>
</div><h3id="Selection.shiftSelection"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Shifts the selection up (or down, if <ahref="#Selection.isBackwards"class="link-short"title="Selection.isBackwards (class method)"data-id="Selection.isBackwards">isBackwards</a> is true) the given number of columns.</p>
<h4>Arguments</h4><tableclass="argumentTable argument-list table table-striped table-bordered"><trclass="argumentRow "><tdclass="argName ">columns</td><tdclass="argType""><ahref="http://www.nodemanual.org/latest/js_doc/Number.html"class=""title="Number"data-id="Number">Number</a></td><tdclass="argDescription ">Required. The number of columns to shift by</td></tr></table></div></div></div></div></article><articleid="Selection.substractPoint"data-title="Selection.substractPoint (class method)"class="article"><divclass="section method"><divclass="memberContent"><divclass="title"><ulclass="signatures"><liclass="signature"><ul><liclass="signature-call"><spanid="Selection.substractPoint"class="member-name methodClicker"><spanclass="sigClassName">Selection.</span><spanclass="sigMemberName">substractPoint</span></span>(<spanclass="sigArgList"><ahref="range.html#Range"class="argument methodClicker"title="Range (class)"data-id="Range">Range</a> pos</span>)<liclass="signature-returns"><ulclass="argument-types"><liclass="argument-type"><ahref="range.html#Range"class="returnType "title="Range (class)"data-id="Range">Range</a></li></ul></li></li></ul><ulclass="metaInfo"></ul></li></ul></div><divclass="sideToggler"><divid="ellipsis_Selection.substractPoint"class="ellipsis_description"><p>Removes a Range containing pos (if it exists).</p>
</div><h3id="Selection.substractPoint"class="methodToggle methodClicker inactive"> </h3><divclass="description"><p>Removes a Range containing pos (if it exists).</p>