kopia lustrzana https://github.com/c9/core
1782 wiersze
107 KiB
HTML
1782 wiersze
107 KiB
HTML
![]() |
|
||
|
<div id="documentation" class="span9">
|
||
|
<div class="classContent">
|
||
|
<div class="membersBackground"></div>
|
||
|
<div class=" members pos0">
|
||
|
<div class=" membersContent pos0">
|
||
|
<h1 class="memberHeader"><span class="name">Selection</span>
|
||
|
</h1>
|
||
|
<ul data-tabs="tabs" class="nav tabs pos0">
|
||
|
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (2)</span><b class="caret"></b></a>
|
||
|
<ul class="dropdown-menu">
|
||
|
<li id="dropdown_Selection.event.changeCursor" data-id="Selection.event.changeCursor" class="memberLink"><a href="#Selection.event.changeCursor" class="" title="Selection.event.changeCursor (event)" data-id="Selection.event.changeCursor">changeCursor</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.event.changeSelection" data-id="Selection.event.changeSelection" class="memberLink"><a href="#Selection.event.changeSelection" class="" title="Selection.event.changeSelection (event)" data-id="Selection.event.changeSelection">changeSelection</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
|
||
|
<ul class="dropdown-menu">
|
||
|
<li id="dropdown_Selection.new" data-id="Selection.new" class="memberLink"><a href="#Selection.new" class="" title="Selection.new (constructor)" data-id="Selection.new">new</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<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>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.getRange" data-id="Selection.getRange" class="memberLink"><a href="#Selection.getRange" class="" title="Selection.getRange (class method)" data-id="Selection.getRange">getRange</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.getSelectionAnchor" data-id="Selection.getSelectionAnchor" class="memberLink"><a href="#Selection.getSelectionAnchor" class="" title="Selection.getSelectionAnchor (class method)" data-id="Selection.getSelectionAnchor">getSelectionAnchor</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.getSelectionLead" data-id="Selection.getSelectionLead" class="memberLink"><a href="#Selection.getSelectionLead" class="" title="Selection.getSelectionLead (class method)" data-id="Selection.getSelectionLead">getSelectionLead</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.getWordRange" data-id="Selection.getWordRange" class="memberLink"><a href="#Selection.getWordRange" class="" title="Selection.getWordRange (class method)" data-id="Selection.getWordRange">getWordRange</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.isBackwards" data-id="Selection.isBackwards" class="memberLink"><a href="#Selection.isBackwards" class="" title="Selection.isBackwards (class method)" data-id="Selection.isBackwards">isBackwards</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.isEmpty" data-id="Selection.isEmpty" class="memberLink"><a href="#Selection.isEmpty" class="" title="Selection.isEmpty (class method)" data-id="Selection.isEmpty">isEmpty</a>
|
||
|
</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>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorFileEnd" data-id="Selection.moveCursorFileEnd" class="memberLink"><a href="#Selection.moveCursorFileEnd" class="" title="Selection.moveCursorFileEnd (class method)" data-id="Selection.moveCursorFileEnd">moveCursorFileEnd</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorFileStart" data-id="Selection.moveCursorFileStart" class="memberLink"><a href="#Selection.moveCursorFileStart" class="" title="Selection.moveCursorFileStart (class method)" data-id="Selection.moveCursorFileStart">moveCursorFileStart</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorLeft" data-id="Selection.moveCursorLeft" class="memberLink"><a href="#Selection.moveCursorLeft" class="" title="Selection.moveCursorLeft (class method)" data-id="Selection.moveCursorLeft">moveCursorLeft</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorLineEnd" data-id="Selection.moveCursorLineEnd" class="memberLink"><a href="#Selection.moveCursorLineEnd" class="" title="Selection.moveCursorLineEnd (class method)" data-id="Selection.moveCursorLineEnd">moveCursorLineEnd</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorLineStart" data-id="Selection.moveCursorLineStart" class="memberLink"><a href="#Selection.moveCursorLineStart" class="" title="Selection.moveCursorLineStart (class method)" data-id="Selection.moveCursorLineStart">moveCursorLineStart</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorLongWordLeft" data-id="Selection.moveCursorLongWordLeft" class="memberLink"><a href="#Selection.moveCursorLongWordLeft" class="" title="Selection.moveCursorLongWordLeft (class method)" data-id="Selection.moveCursorLongWordLeft">moveCursorLongWordLeft</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorLongWordRight" data-id="Selection.moveCursorLongWordRight" class="memberLink"><a href="#Selection.moveCursorLongWordRight" class="" title="Selection.moveCursorLongWordRight (class method)" data-id="Selection.moveCursorLongWordRight">moveCursorLongWordRight</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorRight" data-id="Selection.moveCursorRight" class="memberLink"><a href="#Selection.moveCursorRight" class="" title="Selection.moveCursorRight (class method)" data-id="Selection.moveCursorRight">moveCursorRight</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorShortWordLeft" data-id="Selection.moveCursorShortWordLeft" class="memberLink"><a href="#Selection.moveCursorShortWordLeft" class="" title="Selection.moveCursorShortWordLeft (class method)" data-id="Selection.moveCursorShortWordLeft">moveCursorShortWordLeft</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorShortWordRight" data-id="Selection.moveCursorShortWordRight" class="memberLink"><a href="#Selection.moveCursorShortWordRight" class="" title="Selection.moveCursorShortWordRight (class method)" data-id="Selection.moveCursorShortWordRight">moveCursorShortWordRight</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorTo" data-id="Selection.moveCursorTo" class="memberLink"><a href="#Selection.moveCursorTo" class="" title="Selection.moveCursorTo (class method)" data-id="Selection.moveCursorTo">moveCursorTo</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorToPosition" data-id="Selection.moveCursorToPosition" class="memberLink"><a href="#Selection.moveCursorToPosition" class="" title="Selection.moveCursorToPosition (class method)" data-id="Selection.moveCursorToPosition">moveCursorToPosition</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorToScreen" data-id="Selection.moveCursorToScreen" class="memberLink"><a href="#Selection.moveCursorToScreen" class="" title="Selection.moveCursorToScreen (class method)" data-id="Selection.moveCursorToScreen">moveCursorToScreen</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorUp" data-id="Selection.moveCursorUp" class="memberLink"><a href="#Selection.moveCursorUp" class="" title="Selection.moveCursorUp (class method)" data-id="Selection.moveCursorUp">moveCursorUp</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.moveCursorWordLeft" data-id="Selection.moveCursorWordLeft" class="memberLink"><a href="#Selection.moveCursorWordLeft" class="" title="Selection.moveCursorWordLeft (class method)" data-id="Selection.moveCursorWordLeft">moveCursorWordLeft</a>
|
||
|
</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>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectDown" data-id="Selection.selectDown" class="memberLink"><a href="#Selection.selectDown" class="" title="Selection.selectDown (class method)" data-id="Selection.selectDown">selectDown</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectFileEnd" data-id="Selection.selectFileEnd" class="memberLink"><a href="#Selection.selectFileEnd" class="" title="Selection.selectFileEnd (class method)" data-id="Selection.selectFileEnd">selectFileEnd</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectFileStart" data-id="Selection.selectFileStart" class="memberLink"><a href="#Selection.selectFileStart" class="" title="Selection.selectFileStart (class method)" data-id="Selection.selectFileStart">selectFileStart</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectLeft" data-id="Selection.selectLeft" class="memberLink"><a href="#Selection.selectLeft" class="" title="Selection.selectLeft (class method)" data-id="Selection.selectLeft">selectLeft</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectLine" data-id="Selection.selectLine" class="memberLink"><a href="#Selection.selectLine" class="" title="Selection.selectLine (class method)" data-id="Selection.selectLine">selectLine</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectLineEnd" data-id="Selection.selectLineEnd" class="memberLink"><a href="#Selection.selectLineEnd" class="" title="Selection.selectLineEnd (class method)" data-id="Selection.selectLineEnd">selectLineEnd</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectLineStart" data-id="Selection.selectLineStart" class="memberLink"><a href="#Selection.selectLineStart" class="" title="Selection.selectLineStart (class method)" data-id="Selection.selectLineStart">selectLineStart</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectRight" data-id="Selection.selectRight" class="memberLink"><a href="#Selection.selectRight" class="" title="Selection.selectRight (class method)" data-id="Selection.selectRight">selectRight</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectTo" data-id="Selection.selectTo" class="memberLink"><a href="#Selection.selectTo" class="" title="Selection.selectTo (class method)" data-id="Selection.selectTo">selectTo</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectToPosition" data-id="Selection.selectToPosition" class="memberLink"><a href="#Selection.selectToPosition" class="" title="Selection.selectToPosition (class method)" data-id="Selection.selectToPosition">selectToPosition</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectUp" data-id="Selection.selectUp" class="memberLink"><a href="#Selection.selectUp" class="" title="Selection.selectUp (class method)" data-id="Selection.selectUp">selectUp</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectWord" data-id="Selection.selectWord" class="memberLink"><a href="#Selection.selectWord" class="" title="Selection.selectWord (class method)" data-id="Selection.selectWord">selectWord</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectWordLeft" data-id="Selection.selectWordLeft" class="memberLink"><a href="#Selection.selectWordLeft" class="" title="Selection.selectWordLeft (class method)" data-id="Selection.selectWordLeft">selectWordLeft</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.selectWordRight" data-id="Selection.selectWordRight" class="memberLink"><a href="#Selection.selectWordRight" class="" title="Selection.selectWordRight (class method)" data-id="Selection.selectWordRight">selectWordRight</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.setSelectionAnchor" data-id="Selection.setSelectionAnchor" class="memberLink"><a href="#Selection.setSelectionAnchor" class="" title="Selection.setSelectionAnchor (class method)" data-id="Selection.setSelectionAnchor">setSelectionAnchor</a>
|
||
|
</li>
|
||
|
<li id="dropdown_Selection.setSelectionRange" data-id="Selection.setSelectionRange" class="memberLink"><a href="#Selection.setSelectionRange" class="" title="Selection.setSelectionRange (class method)" data-id="Selection.setSelectionRange">setSelectionRange</a>
|
||
|
</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">
|
||
|
<ul class="dropdown-menu">
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li data-dropdown="dropdown" class="dropdown">
|
||
|
<ul class="dropdown-menu">
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li data-dropdown="dropdown" class="dropdown">
|
||
|
<ul class="dropdown-menu">
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li data-dropdown="dropdown" class="dropdown">
|
||
|
<ul class="dropdown-menu">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<article id="Selection" data-title="Selection (class)" class="article">
|
||
|
<div class="section description">
|
||
|
<div class="memberContent"><p>Contains the cursor position and the text selection of an edit session.</p>
|
||
|
<p>The row/columns used in the selection are in document coordinates representing the coordinates as they appear in the document before applying soft wrap and folding.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<h3 class="sectionHeader">Constructors</h3>
|
||
|
<article id="Selection.new" data-title="Selection.new (constructor)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Selection.new" class="member-name methodClicker">Selection</span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.new" class="ellipsis_description"><p>Creates a new <code>Selection</code> object.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Creates a new <code>Selection</code> object.</p>
|
||
|
|
||
|
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The session to use</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<h3 class="sectionHeader">Events</h3>
|
||
|
<article id="Selection.event.changeCursor" data-title="Selection.event.changeCursor (event)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.event.changeCursor" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span class="eventObjName">Selection</span><span class="eventListenerStart">.on("</span><span id="Selection.event.changeCursor" class="member-name eventMember methodClicker">changeCursor</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><span class="eventFunctionClose">))</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.event.changeCursor" class="ellipsis_description"><p>Emitted when the cursor position changes.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Emitted when the cursor position changes.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.event.changeSelection" data-title="Selection.event.changeSelection (event)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.event.changeSelection" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span class="eventObjName">Selection</span><span class="eventListenerStart">.on("</span><span id="Selection.event.changeSelection" class="member-name eventMember methodClicker">changeSelection</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><span class="eventFunctionClose">))</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.event.changeSelection" class="ellipsis_description"><p>Emitted when the cursor selection changes.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Emitted when the cursor selection changes.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</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="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" 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="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" 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">
|
||
|
<div class="title"><i id="Selection.clearSelection" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.clearSelection" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">clearSelection</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="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>
|
||
|
<div class="description"><p>Empties the selection (by de-selecting it). This function also emits the <code>'changeSelection'</code> event.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.detach" data-title="Selection.detach (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.detach" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.detach" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">detach</span></span><span class="emptyArgumentList">()</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.detach" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.fromOrientedRange" data-title="Selection.fromOrientedRange (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.fromOrientedRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.fromOrientedRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">fromOrientedRange</span></span><span class="emptyArgumentList">()</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.fromOrientedRange" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</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><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="returnType " title="Array" data-id="Array">Array</a></li>
|
||
|
</ul>
|
||
|
</li></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>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.getCursor" data-title="Selection.getCursor (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.getCursor" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.getCursor" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getCursor</span></span><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
|
||
|
</ul>
|
||
|
</li></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.getCursor" class="ellipsis_description"><p>Gets the current position of the cursor.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Gets the current position of the cursor.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.getLineRange" data-title="Selection.getLineRange (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.getLineRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.getLineRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getLineRange</span></span><span class="emptyArgumentList">()</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.getLineRange" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.getRange" data-title="Selection.getRange (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.getRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.getRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getRange</span></span><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||
|
</ul>
|
||
|
</li></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.getRange" class="ellipsis_description"><p>Returns the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> for the selected text.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Returns the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> for the selected text.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.getSelectionAnchor" data-title="Selection.getSelectionAnchor (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.getSelectionAnchor" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.getSelectionAnchor" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getSelectionAnchor</span></span><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" 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_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>
|
||
|
<div class="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>
|
||
|
<article id="Selection.getSelectionLead" data-title="Selection.getSelectionLead (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.getSelectionLead" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.getSelectionLead" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getSelectionLead</span></span><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" 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_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>
|
||
|
<div class="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>
|
||
|
<article id="Selection.getWordRange" data-title="Selection.getWordRange (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.getWordRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.getWordRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">getWordRange</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> column</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.getWordRange" class="ellipsis_description"><p>Moves the selection to highlight the entire word.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection to highlight the entire word.</p>
|
||
|
|
||
|
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.isBackwards" data-title="Selection.isBackwards (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.isBackwards" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.isBackwards" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">isBackwards</span></span><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||
|
</ul>
|
||
|
</li></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.isBackwards" class="ellipsis_description"><p>Returns <code>true</code> if the selection is going backwards in the document.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Returns <code>true</code> if the selection is going backwards in the document.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.isEmpty" data-title="Selection.isEmpty (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.isEmpty" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.isEmpty" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">isEmpty</span></span><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||
|
</ul>
|
||
|
</li></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.isEmpty" class="ellipsis_description"><p>Returns <code>true</code> if the selection is empty.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Returns <code>true</code> if the selection is empty.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.isMultiLine" data-title="Selection.isMultiLine (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.isMultiLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.isMultiLine" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">isMultiLine</span></span><span class="emptyArgumentList">()</span>
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
|
||
|
</ul>
|
||
|
</li></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.isMultiLine" class="ellipsis_description"><p>Returns <code>true</code> if the selection is a multi-line.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Returns <code>true</code> if the selection is a multi-line.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</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><span class="emptyArgumentList">()</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>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorBy" data-title="Selection.moveCursorBy (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorBy" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorBy" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorBy</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> rows, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> chars</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="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>
|
||
|
<div class="description"><p>Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.</p>
|
||
|
|
||
|
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">rows</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The number of rows to move by</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">chars</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The number of characters to move by</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorDown" data-title="Selection.moveCursorDown (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorDown" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorDown" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorDown</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorDown" class="ellipsis_description"><p>Moves the cursor down one row.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor down one row.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorFileEnd" data-title="Selection.moveCursorFileEnd (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorFileEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorFileEnd" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorFileEnd</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorFileEnd" class="ellipsis_description"><p>Moves the cursor to the end of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor to the end of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorFileStart" data-title="Selection.moveCursorFileStart (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorFileStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorFileStart" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorFileStart</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorFileStart" class="ellipsis_description"><p>Moves the cursor to the start of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor to the start of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorLeft" data-title="Selection.moveCursorLeft (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorLeft" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorLeft</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorLeft" class="ellipsis_description"><p>Moves the cursor left one column.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor left one column.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorLineEnd" data-title="Selection.moveCursorLineEnd (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorLineEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorLineEnd" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorLineEnd</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorLineEnd" class="ellipsis_description"><p>Moves the cursor to the end of the line.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor to the end of the line.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorLineStart" data-title="Selection.moveCursorLineStart (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorLineStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorLineStart" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorLineStart</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorLineStart" class="ellipsis_description"><p>Moves the cursor to the start of the line.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor to the start of the line.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorLongWordLeft" data-title="Selection.moveCursorLongWordLeft (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorLongWordLeft" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorLongWordLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorLongWordLeft</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorLongWordLeft" class="ellipsis_description"><p>Moves the cursor to the word on the left.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor to the word on the left.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorLongWordRight" data-title="Selection.moveCursorLongWordRight (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorLongWordRight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorLongWordRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorLongWordRight</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorLongWordRight" class="ellipsis_description"><p>Moves the cursor to the word on the right.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor to the word on the right.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorRight" data-title="Selection.moveCursorRight (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorRight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorRight</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorRight" class="ellipsis_description"><p>Moves the cursor right one column.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor right one column.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorShortWordLeft" data-title="Selection.moveCursorShortWordLeft (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorShortWordLeft" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorShortWordLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorShortWordLeft</span></span><span class="emptyArgumentList">()</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.moveCursorShortWordLeft" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorShortWordRight" data-title="Selection.moveCursorShortWordRight (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorShortWordRight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorShortWordRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorShortWordRight</span></span><span class="emptyArgumentList">()</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.moveCursorShortWordRight" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorTo" data-title="Selection.moveCursorTo (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorTo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorTo" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorTo</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> keepDesiredColumn</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="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>
|
||
|
<div class="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><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to move to</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to move to</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">keepDesiredColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, the cursor move does not respect the previous column</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorToPosition" data-title="Selection.moveCursorToPosition (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorToPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorToPosition" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorToPosition</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> position</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="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>
|
||
|
<div class="description"><p>Moves the selection to the position indicated by its <code>row</code> and <code>column</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="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to move to</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorToScreen" data-title="Selection.moveCursorToScreen (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorToScreen" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorToScreen" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorToScreen</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> keepDesiredColumn</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="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>
|
||
|
<div class="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><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to move to</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to move to</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">keepDesiredColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, the cursor move does not respect the previous column</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorUp" data-title="Selection.moveCursorUp (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorUp" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorUp" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorUp</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.moveCursorUp" class="ellipsis_description"><p>Moves the cursor up one row.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the cursor up one row.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorWordLeft" data-title="Selection.moveCursorWordLeft (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorWordLeft" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorWordLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorWordLeft</span></span><span class="emptyArgumentList">()</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.moveCursorWordLeft" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.moveCursorWordRight" data-title="Selection.moveCursorWordRight (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.moveCursorWordRight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.moveCursorWordRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">moveCursorWordRight</span></span><span class="emptyArgumentList">()</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.moveCursorWordRight" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</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="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> includeEmptyLines</span>)
|
||
|
<li class="signature-returns">
|
||
|
<ul class="argument-types">
|
||
|
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
|
||
|
</ul>
|
||
|
</li></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="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" 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">
|
||
|
<div class="title"><i id="Selection.selectAll" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectAll" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectAll</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectAll" class="ellipsis_description"><p>Selects all the text in the document.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Selects all the text in the document.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectAWord" data-title="Selection.selectAWord (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectAWord" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectAWord" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectAWord</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectAWord" class="ellipsis_description"><p>Selects a word, including its right whitespace.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Selects a word, including its right whitespace.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectDown" data-title="Selection.selectDown (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectDown" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectDown" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectDown</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectDown" class="ellipsis_description"><p>Moves the selection down one row.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection down one row.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectFileEnd" data-title="Selection.selectFileEnd (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectFileEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectFileEnd" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectFileEnd</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectFileEnd" class="ellipsis_description"><p>Moves the selection to the end of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection to the end of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectFileStart" data-title="Selection.selectFileStart (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectFileStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectFileStart" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectFileStart</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectFileStart" class="ellipsis_description"><p>Moves the selection to the start of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection to the start of the file.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectLeft" data-title="Selection.selectLeft (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectLeft" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectLeft</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectLeft" class="ellipsis_description"><p>Moves the selection left one column.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection left one column.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectLine" data-title="Selection.selectLine (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectLine" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectLine</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectLine" class="ellipsis_description"><p>Selects the entire line.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Selects the entire line.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectLineEnd" data-title="Selection.selectLineEnd (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectLineEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectLineEnd" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectLineEnd</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectLineEnd" class="ellipsis_description"><p>Moves the selection to the end of the current line.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection to the end of the current line.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectLineStart" data-title="Selection.selectLineStart (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectLineStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectLineStart" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectLineStart</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectLineStart" class="ellipsis_description"><p>Moves the selection to the beginning of the current line.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection to the beginning of the current line.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectRight" data-title="Selection.selectRight (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectRight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectRight</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectRight" class="ellipsis_description"><p>Moves the selection right one column.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection right one column.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectTo" data-title="Selection.selectTo (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectTo" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectTo" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectTo</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectTo" class="ellipsis_description"><p>Moves the selection cursor to the indicated row and column.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection cursor to the indicated row and column.</p>
|
||
|
|
||
|
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to select to</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to select to</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectToPosition" data-title="Selection.selectToPosition (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectToPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectToPosition" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectToPosition</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> pos</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectToPosition" class="ellipsis_description"><p>Moves the selection cursor to the row and column indicated by <code>pos</code>.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection cursor to the row and column indicated by <code>pos</code>.</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="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object containing the row and column</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectUp" data-title="Selection.selectUp (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectUp" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectUp" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectUp</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectUp" class="ellipsis_description"><p>Moves the selection up one row.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection up one row.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectWord" data-title="Selection.selectWord (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectWord" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectWord" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectWord</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectWord" class="ellipsis_description"><p>Selects an entire word boundary.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Selects an entire word boundary.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectWordLeft" data-title="Selection.selectWordLeft (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectWordLeft" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectWordLeft" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectWordLeft</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectWordLeft" class="ellipsis_description"><p>Moves the selection to the first word on the left.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection to the first word on the left.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.selectWordRight" data-title="Selection.selectWordRight (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.selectWordRight" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.selectWordRight" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">selectWordRight</span></span><span class="emptyArgumentList">()</span></li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.selectWordRight" class="ellipsis_description"><p>Moves the selection to the first word on the right.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Moves the selection to the first word on the right.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.setSelectionAnchor" data-title="Selection.setSelectionAnchor (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.setSelectionAnchor" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.setSelectionAnchor" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">setSelectionAnchor</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="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>
|
||
|
<div class="description"><p>Sets the row and column position of the anchor. This function also emits the <code>'changeSelection'</code> event.</p>
|
||
|
|
||
|
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new row</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new column</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.setSelectionRange" data-title="Selection.setSelectionRange (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.setSelectionRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.setSelectionRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">setSelectionRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> reverse</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.setSelectionRange" class="ellipsis_description"><p>Sets the selection to the provided range.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Sets the selection to the provided range.</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 range of text to select</p>
|
||
|
</td></tr><tr class="argumentRow "><td class="argName ">reverse</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. Indicates if the range should go backwards (<code>true</code>) or not</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.shiftSelection" data-title="Selection.shiftSelection (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.shiftSelection" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.shiftSelection" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">shiftSelection</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> columns</span>)</li>
|
||
|
</ul>
|
||
|
<ul class="metaInfo">
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="sideToggler">
|
||
|
<div id="ellipsis_Selection.shiftSelection" class="ellipsis_description"><p>Shifts the selection up (or down, if <a href="#Selection.isBackwards" class="link-short" title="Selection.isBackwards (class method)" data-id="Selection.isBackwards"><code>isBackwards()</code></a> is true) the given number of columns.</p>
|
||
|
|
||
|
</div>
|
||
|
<div class="description"><p>Shifts the selection up (or down, if <a href="#Selection.isBackwards" class="link-short" title="Selection.isBackwards (class method)" data-id="Selection.isBackwards"><code>isBackwards()</code></a> is true) the given number of columns.</p>
|
||
|
|
||
|
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">columns</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The number of columns to shift by</p>
|
||
|
</td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</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><span class="emptyArgumentList">()</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>
|
||
|
|
||
|
</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><span class="emptyArgumentList">()</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">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
<article id="Selection.toOrientedRange" data-title="Selection.toOrientedRange (class method)" class="article">
|
||
|
<div class="section method">
|
||
|
<div class="memberContent">
|
||
|
<div class="title"><i id="Selection.toOrientedRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
|
||
|
<ul class="signatures">
|
||
|
<li class="signature">
|
||
|
<ul>
|
||
|
<li class="signature-call"><span id="Selection.toOrientedRange" class="member-name methodClicker"><span class="sigClassName">Selection.</span><span class="sigMemberName">toOrientedRange</span></span><span class="emptyArgumentList">()</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.toOrientedRange" class="ellipsis_description">
|
||
|
</div>
|
||
|
<div class="description">
|
||
|
</div>
|
||
|
</div>
|
||
|
</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><span class="emptyArgumentList">()</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">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
</div>
|
||
|
<script defer src="./resources/javascripts/ux.js"></script>
|
||
|
<script src="./resources/javascripts/clicker.js"></script>
|
||
|
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
|
||
|
<script defer src="./resources/javascripts/disqus-ext.js"></script>
|
||
|
<script defer src="./resources/javascripts/ga.js"></script>
|
||
|
<div id="disqus_thread"></div>
|
||
|
</div>
|