Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

2767 lines (2611 sloc) 231.845 kb
<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Ace API - edit_session</title>
<meta name="generator" content="c9-doc-build">
<meta name="description" content="Ace API documentation for the online code editor.">
<meta name="author" content="Garen J. Torikian">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="./resources/csses/bootstrap.min.css">
<link rel="stylesheet" href="./resources/csses/prettify.css">
<link rel="stylesheet" href="./resources/csses/ace_api.css">
<link href="./resources/images/favicon.ico" rel="icon" type="image/x-icon">
<script src="./resources/javascripts/jquery.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery.collapse.js"></script>
<script src="./resources/javascripts/jquery.cookie.js"></script>
<script src="./resources/javascripts/bootstrap-dropdown.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script script src="./resources/javascripts/prettify-extension.js"></script>
</head>
<body>
<div id="nonFooter">
<div id="wrapper">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container"><span class="brand"></span>
<ul class="nav topLinks">
<li id="ace_site"><a href="../index.html">Ace</a></li>
<li id="ace_api" class="active"><a href="index.html">Ace API Reference</a></li>
</ul>
<form id="searchbox" action="" class="navbar-search pull-right">
<input name="query" type="text" placeholder="Search the API" title="Search across all the documentation" class="search-query span3">
</form>
</div>
</div>
</div>
<header class="filler"></header>
<div class="container">
<div class="content">
<div class="row centerpiece">
<div class="span3 offset6 sidebarContainer">
<div id="sidebar">
<div id="well">
<h3>Ace Reference</h3>
<div class="swirl_divider"> </div>
<ul class="menu">
<li>
<div class="menu-item"><a href="ace.html" class="menuLink namespace">Ace</a></div>
</li>
<li>
<div class="menu-item"><a href="anchor.html" class="menuLink namespace">Anchor</a></div>
</li>
<li>
<div class="menu-item"><a href="background_tokenizer.html" class="menuLink namespace">BackgroundTokenizer </a></div>
</li>
<li>
<div class="menu-item"><a href="document.html" class="menuLink namespace">Document </a></div>
</li>
<li>
<div class="menu-item"><a href="edit_session.html" class="menuLink namespace">EditSession </a></div>
</li>
<li>
<div class="menu-item"><a href="editor.html" class="menuLink namespace">Editor</a></div>
</li>
<li>
<div class="menu-item"><a href="range.html" class="menuLink namespace">Range</a></div>
</li>
<li>
<div class="menu-item"><a href="scrollbar.html" class="menuLink namespace">Scrollbar</a></div>
</li>
<li>
<div class="menu-item"><a href="search.html" class="menuLink namespace">Search </a></div>
</li>
<li>
<div class="menu-item"><a href="selection.html" class="menuLink namespace">Selection </a></div>
</li>
<li>
<div class="menu-item"><a href="token_iterator.html" class="menuLink namespace">TokenIterator</a></div>
</li>
<li>
<div class="menu-item"><a href="tokenizer.html" class="menuLink namespace">Tokenizer</a></div>
</li>
<li>
<div class="menu-item"><a href="undomanager.html" class="menuLink namespace">UndoManager</a></div>
</li>
<li>
<div class="menu-item"><a href="virtual_renderer.html" class="menuLink namespace">VirtualRenderer</a></div>
</li>
</ul>
</div>
</div>
</div>
<div class="span9 mainContent">
<div id="documentation">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">EditSession<span class="editInC9"><a href='http://c9.io/open/git/?url=git%3A%2F%2Fgithub.com%2Fajaxorg%2Face.git' title='Edit in Cloud9 IDE'>[edit]</a></span></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 (3)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li data-id="EditSession@onChange" class="memberLink"><a href="#EditSession@onChange" class="" title="EditSession@onChange (event)" data-id="EditSession@onChange">onChange</a>
</li>
<li data-id="EditSession@onChangeFold" class="memberLink"><a href="#EditSession@onChangeFold" class="" title="EditSession@onChangeFold (event)" data-id="EditSession@onChangeFold">onChangeFold</a>
</li>
<li data-id="EditSession@onReloadTokenizer" class="memberLink"><a href="#EditSession@onReloadTokenizer" class="" title="EditSession@onReloadTokenizer (event)" data-id="EditSession@onReloadTokenizer">onReloadTokenizer</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 data-id="new EditSession" class="memberLink"><a href="#EditSession.new" class="" title="new EditSession (constructor)" data-id="new EditSession">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (72)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li data-id="EditSession.addMarker" class="memberLink"><a href="#EditSession.addMarker" class="" title="EditSession.addMarker (class method)" data-id="EditSession.addMarker">addMarker</a>
</li>
<li data-id="EditSession.clearAnnotations" class="memberLink"><a href="#EditSession.clearAnnotations" class="" title="EditSession.clearAnnotations (class method)" data-id="EditSession.clearAnnotations">clearAnnotations</a>
</li>
<li data-id="EditSession.clearBreakpoint" class="memberLink"><a href="#EditSession.clearBreakpoint" class="" title="EditSession.clearBreakpoint (class method)" data-id="EditSession.clearBreakpoint">clearBreakpoint</a>
</li>
<li data-id="EditSession.clearBreakpoints" class="memberLink"><a href="#EditSession.clearBreakpoints" class="" title="EditSession.clearBreakpoints (class method)" data-id="EditSession.clearBreakpoints">clearBreakpoints</a>
</li>
<li data-id="EditSession.documentToScreenPosition" class="memberLink"><a href="#EditSession.documentToScreenPosition" class="" title="EditSession.documentToScreenPosition (class method)" data-id="EditSession.documentToScreenPosition">documentToScreenPosition</a>
</li>
<li data-id="EditSession.duplicateLines" class="memberLink"><a href="#EditSession.duplicateLines" class="" title="EditSession.duplicateLines (class method)" data-id="EditSession.duplicateLines">duplicateLines</a>
</li>
<li data-id="EditSession.getAnnotations" class="memberLink"><a href="#EditSession.getAnnotations" class="" title="EditSession.getAnnotations (class method)" data-id="EditSession.getAnnotations">getAnnotations</a>
</li>
<li data-id="EditSession.getAWordRange" class="memberLink"><a href="#EditSession.getAWordRange" class="" title="EditSession.getAWordRange (class method)" data-id="EditSession.getAWordRange">getAWordRange</a>
</li>
<li data-id="EditSession.getBreakpoints" class="memberLink"><a href="#EditSession.getBreakpoints" class="" title="EditSession.getBreakpoints (class method)" data-id="EditSession.getBreakpoints">getBreakpoints</a>
</li>
<li data-id="EditSession.getDocument" class="memberLink"><a href="#EditSession.getDocument" class="" title="EditSession.getDocument (class method)" data-id="EditSession.getDocument">getDocument</a>
</li>
<li data-id="EditSession.getLength" class="memberLink"><a href="#EditSession.getLength" class="" title="EditSession.getLength (class method)" data-id="EditSession.getLength">getLength</a>
</li>
<li data-id="EditSession.getLine" class="memberLink"><a href="#EditSession.getLine" class="" title="EditSession.getLine (class method)" data-id="EditSession.getLine">getLine</a>
</li>
<li data-id="EditSession.getLines" class="memberLink"><a href="#EditSession.getLines" class="" title="EditSession.getLines (class method)" data-id="EditSession.getLines">getLines</a>
</li>
<li data-id="EditSession.getMarkers" class="memberLink"><a href="#EditSession.getMarkers" class="" title="EditSession.getMarkers (class method)" data-id="EditSession.getMarkers">getMarkers</a>
</li>
<li data-id="EditSession.getMode" class="memberLink"><a href="#EditSession.getMode" class="" title="EditSession.getMode (class method)" data-id="EditSession.getMode">getMode</a>
</li>
<li data-id="EditSession.getNewLineMode" class="memberLink"><a href="#EditSession.getNewLineMode" class="" title="EditSession.getNewLineMode (class method)" data-id="EditSession.getNewLineMode">getNewLineMode</a>
</li>
<li data-id="EditSession.getOverwrite" class="memberLink"><a href="#EditSession.getOverwrite" class="" title="EditSession.getOverwrite (class method)" data-id="EditSession.getOverwrite">getOverwrite</a>
</li>
<li data-id="EditSession.getRowHeight" class="memberLink"><a href="#EditSession.getRowHeight" class="" title="EditSession.getRowHeight (class method)" data-id="EditSession.getRowHeight">getRowHeight</a>
</li>
<li data-id="EditSession.getRowLength" class="memberLink"><a href="#EditSession.getRowLength" class="" title="EditSession.getRowLength (class method)" data-id="EditSession.getRowLength">getRowLength</a>
</li>
<li data-id="EditSession.getScreenLength" class="memberLink"><a href="#EditSession.getScreenLength" class="" title="EditSession.getScreenLength (class method)" data-id="EditSession.getScreenLength">getScreenLength</a>
</li>
<li data-id="EditSession.getScreenTabSize" class="memberLink"><a href="#EditSession.getScreenTabSize" class="" title="EditSession.getScreenTabSize (class method)" data-id="EditSession.getScreenTabSize">getScreenTabSize</a>
</li>
<li data-id="EditSession.getScreenWidth" class="memberLink"><a href="#EditSession.getScreenWidth" class="" title="EditSession.getScreenWidth (class method)" data-id="EditSession.getScreenWidth">getScreenWidth</a>
</li>
<li data-id="EditSession.getScrollLeft" class="memberLink"><a href="#EditSession.getScrollLeft" class="" title="EditSession.getScrollLeft (class method)" data-id="EditSession.getScrollLeft">getScrollLeft</a>
</li>
<li data-id="EditSession.getScrollTop" class="memberLink"><a href="#EditSession.getScrollTop" class="" title="EditSession.getScrollTop (class method)" data-id="EditSession.getScrollTop">getScrollTop</a>
</li>
<li data-id="EditSession.getSelection" class="memberLink"><a href="#EditSession.getSelection" class="" title="EditSession.getSelection (class method)" data-id="EditSession.getSelection">getSelection</a>
</li>
<li data-id="EditSession.getState" class="memberLink"><a href="#EditSession.getState" class="" title="EditSession.getState (class method)" data-id="EditSession.getState">getState</a>
</li>
<li data-id="EditSession.getTabSize" class="memberLink"><a href="#EditSession.getTabSize" class="" title="EditSession.getTabSize (class method)" data-id="EditSession.getTabSize">getTabSize</a>
</li>
<li data-id="EditSession.getTabString" class="memberLink"><a href="#EditSession.getTabString" class="" title="EditSession.getTabString (class method)" data-id="EditSession.getTabString">getTabString</a>
</li>
<li data-id="EditSession.getTextRange" class="memberLink"><a href="#EditSession.getTextRange" class="" title="EditSession.getTextRange (class method)" data-id="EditSession.getTextRange">getTextRange</a>
</li>
<li data-id="EditSession.getTokenAt" class="memberLink"><a href="#EditSession.getTokenAt" class="" title="EditSession.getTokenAt (class method)" data-id="EditSession.getTokenAt">getTokenAt</a>
</li>
<li data-id="EditSession.getTokens" class="memberLink"><a href="#EditSession.getTokens" class="" title="EditSession.getTokens (class method)" data-id="EditSession.getTokens">getTokens</a>
</li>
<li data-id="EditSession.getUndoManager" class="memberLink"><a href="#EditSession.getUndoManager" class="" title="EditSession.getUndoManager (class method)" data-id="EditSession.getUndoManager">getUndoManager</a>
</li>
<li data-id="EditSession.getUseSoftTabs" class="memberLink"><a href="#EditSession.getUseSoftTabs" class="" title="EditSession.getUseSoftTabs (class method)" data-id="EditSession.getUseSoftTabs">getUseSoftTabs</a>
</li>
<li data-id="EditSession.getUseWorker" class="memberLink"><a href="#EditSession.getUseWorker" class="" title="EditSession.getUseWorker (class method)" data-id="EditSession.getUseWorker">getUseWorker</a>
</li>
<li data-id="EditSession.getUseWrapMode" class="memberLink"><a href="#EditSession.getUseWrapMode" class="" title="EditSession.getUseWrapMode (class method)" data-id="EditSession.getUseWrapMode">getUseWrapMode</a>
</li>
<li data-id="EditSession.getValue" class="memberLink"><a href="#EditSession.getValue" class="" title="EditSession.getValue (class method)" data-id="EditSession.getValue">getValue</a>
</li>
<li data-id="EditSession.getWidth" class="memberLink"><a href="#EditSession.getWidth" class="" title="EditSession.getWidth (class method)" data-id="EditSession.getWidth">getWidth</a>
</li>
<li data-id="EditSession.getWordRange" class="memberLink"><a href="#EditSession.getWordRange" class="" title="EditSession.getWordRange (class method)" data-id="EditSession.getWordRange">getWordRange</a>
</li>
<li data-id="EditSession.getWrapLimit" class="memberLink"><a href="#EditSession.getWrapLimit" class="" title="EditSession.getWrapLimit (class method)" data-id="EditSession.getWrapLimit">getWrapLimit</a>
</li>
<li data-id="EditSession.getWrapLimitRange" class="memberLink"><a href="#EditSession.getWrapLimitRange" class="" title="EditSession.getWrapLimitRange (class method)" data-id="EditSession.getWrapLimitRange">getWrapLimitRange</a>
</li>
<li data-id="EditSession.indentRows" class="memberLink"><a href="#EditSession.indentRows" class="" title="EditSession.indentRows (class method)" data-id="EditSession.indentRows">indentRows</a>
</li>
<li data-id="EditSession.insert" class="memberLink"><a href="#EditSession.insert" class="" title="EditSession.insert (class method)" data-id="EditSession.insert">insert</a>
</li>
<li data-id="EditSession.isTabStop" class="memberLink"><a href="#EditSession.isTabStop" class="" title="EditSession.isTabStop (class method)" data-id="EditSession.isTabStop">isTabStop</a>
</li>
<li data-id="EditSession.moveLinesDown" class="memberLink"><a href="#EditSession.moveLinesDown" class="" title="EditSession.moveLinesDown (class method)" data-id="EditSession.moveLinesDown">moveLinesDown</a>
</li>
<li data-id="EditSession.moveLinesUp" class="memberLink"><a href="#EditSession.moveLinesUp" class="" title="EditSession.moveLinesUp (class method)" data-id="EditSession.moveLinesUp">moveLinesUp</a>
</li>
<li data-id="EditSession.moveText" class="memberLink"><a href="#EditSession.moveText" class="" title="EditSession.moveText (class method)" data-id="EditSession.moveText">moveText</a>
</li>
<li data-id="EditSession.outdentRows" class="memberLink"><a href="#EditSession.outdentRows" class="" title="EditSession.outdentRows (class method)" data-id="EditSession.outdentRows">outdentRows</a>
</li>
<li data-id="EditSession.redoChanges" class="memberLink"><a href="#EditSession.redoChanges" class="" title="EditSession.redoChanges (class method)" data-id="EditSession.redoChanges">redoChanges</a>
</li>
<li data-id="EditSession.remove" class="memberLink"><a href="#EditSession.remove" class="" title="EditSession.remove (class method)" data-id="EditSession.remove">remove</a>
</li>
<li data-id="EditSession.removeMarker" class="memberLink"><a href="#EditSession.removeMarker" class="" title="EditSession.removeMarker (class method)" data-id="EditSession.removeMarker">removeMarker</a>
</li>
<li data-id="EditSession.replace" class="memberLink"><a href="#EditSession.replace" class="" title="EditSession.replace (class method)" data-id="EditSession.replace">replace</a>
</li>
<li data-id="EditSession.screenToDocumentPosition" class="memberLink"><a href="#EditSession.screenToDocumentPosition" class="" title="EditSession.screenToDocumentPosition (class method)" data-id="EditSession.screenToDocumentPosition">screenToDocumentPosition</a>
</li>
<li data-id="EditSession.setAnnotations" class="memberLink"><a href="#EditSession.setAnnotations" class="" title="EditSession.setAnnotations (class method)" data-id="EditSession.setAnnotations">setAnnotations</a>
</li>
<li data-id="EditSession.setBreakpoint" class="memberLink"><a href="#EditSession.setBreakpoint" class="" title="EditSession.setBreakpoint (class method)" data-id="EditSession.setBreakpoint">setBreakpoint</a>
</li>
<li data-id="EditSession.setBreakpoints" class="memberLink"><a href="#EditSession.setBreakpoints" class="" title="EditSession.setBreakpoints (class method)" data-id="EditSession.setBreakpoints">setBreakpoints</a>
</li>
<li data-id="EditSession.setDocument" class="memberLink"><a href="#EditSession.setDocument" class="" title="EditSession.setDocument (class method)" data-id="EditSession.setDocument">setDocument</a>
</li>
<li data-id="EditSession.setMode" class="memberLink"><a href="#EditSession.setMode" class="" title="EditSession.setMode (class method)" data-id="EditSession.setMode">setMode</a>
</li>
<li data-id="EditSession.setNewLineMode" class="memberLink"><a href="#EditSession.setNewLineMode" class="" title="EditSession.setNewLineMode (class method)" data-id="EditSession.setNewLineMode">setNewLineMode</a>
</li>
<li data-id="EditSession.setOverwrite" class="memberLink"><a href="#EditSession.setOverwrite" class="" title="EditSession.setOverwrite (class method)" data-id="EditSession.setOverwrite">setOverwrite</a>
</li>
<li data-id="EditSession.setScrollLeft" class="memberLink"><a href="#EditSession.setScrollLeft" class="" title="EditSession.setScrollLeft (class method)" data-id="EditSession.setScrollLeft">setScrollLeft</a>
</li>
<li data-id="EditSession.setScrollTop" class="memberLink"><a href="#EditSession.setScrollTop" class="" title="EditSession.setScrollTop (class method)" data-id="EditSession.setScrollTop">setScrollTop</a>
</li>
<li data-id="EditSession.setTabSize" class="memberLink"><a href="#EditSession.setTabSize" class="" title="EditSession.setTabSize (class method)" data-id="EditSession.setTabSize">setTabSize</a>
</li>
<li data-id="EditSession.setUndoManager" class="memberLink"><a href="#EditSession.setUndoManager" class="" title="EditSession.setUndoManager (class method)" data-id="EditSession.setUndoManager">setUndoManager</a>
</li>
<li data-id="EditSession.setUndoSelect" class="memberLink"><a href="#EditSession.setUndoSelect" class="" title="EditSession.setUndoSelect (class method)" data-id="EditSession.setUndoSelect">setUndoSelect</a>
</li>
<li data-id="EditSession.setUseSoftTabs" class="memberLink"><a href="#EditSession.setUseSoftTabs" class="" title="EditSession.setUseSoftTabs (class method)" data-id="EditSession.setUseSoftTabs">setUseSoftTabs</a>
</li>
<li data-id="EditSession.setUseWorker" class="memberLink"><a href="#EditSession.setUseWorker" class="" title="EditSession.setUseWorker (class method)" data-id="EditSession.setUseWorker">setUseWorker</a>
</li>
<li data-id="EditSession.setUseWrapMode" class="memberLink"><a href="#EditSession.setUseWrapMode" class="" title="EditSession.setUseWrapMode (class method)" data-id="EditSession.setUseWrapMode">setUseWrapMode</a>
</li>
<li data-id="EditSession.setValue" class="memberLink"><a href="#EditSession.setValue" class="" title="EditSession.setValue (class method)" data-id="EditSession.setValue">setValue</a>
</li>
<li data-id="EditSession.setWrapLimitRange" class="memberLink"><a href="#EditSession.setWrapLimitRange" class="" title="EditSession.setWrapLimitRange (class method)" data-id="EditSession.setWrapLimitRange">setWrapLimitRange</a>
</li>
<li data-id="EditSession.toggleOverwrite" class="memberLink"><a href="#EditSession.toggleOverwrite" class="" title="EditSession.toggleOverwrite (class method)" data-id="EditSession.toggleOverwrite">toggleOverwrite</a>
</li>
<li data-id="EditSession.toString" class="memberLink"><a href="#EditSession.toString" class="" title="EditSession.toString (class method)" data-id="EditSession.toString">toString</a>
</li>
<li data-id="EditSession.undoChanges" class="memberLink"><a href="#EditSession.undoChanges" class="" title="EditSession.undoChanges (class method)" data-id="EditSession.undoChanges">undoChanges</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
</li>
<li data-dropdown="dropdown" class="dropdown">
</li>
<li data-dropdown="dropdown" class="dropdown">
</li>
<li data-dropdown="dropdown" class="dropdown">
</li>
</ul>
</div>
</div>
<article id="EditSession" data-title="EditSession (class)" class="article">
<div class="section description">
<div class="memberContent"><p>Stores various states related to a <a href="document.html#Document" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a>. A single <code>EditSession</code> can be in charge of several <code>Document</code>s.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="EditSession.new" data-title="new EditSession (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="new EditSession" class="member-name methodClicker">EditSession</span>(<span class="sigArgList"><a href="document.html#Document" class="argument methodClicker" title="Document (class)" data-id="Document">Document</a> | <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text, <a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js" class="argument methodClicker" title="TextMode" data-id="TextMode">TextMode</a> mode</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_new EditSession" class="ellipsis_description"><p>Sets up a new <code>EditSession</code> and associates it with the given <code>Document</code> and <code>TextMode</code>. ...</p>
</div>
<div id="short_new EditSession" class="short_description hiddenSpan"><p>Sets up a new <code>EditSession</code> and associates it with the given <code>Document</code> and <code>TextMode</code>.</p>
</div>
<h3 id="new EditSession" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="document.html#Document" class="" title="Document (class)" data-id="Document">Document</a> | <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription ">Required. If <code>text</code> is a <code>Document</code>, it associates the <code>EditSession</code> with it. Otherwise, a new <code>Document</code> is created, with the initial text</td></tr><tr class="argumentRow "><td class="argName ">mode</td><td class="argType" "><a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js" class="" title="TextMode" data-id="TextMode">TextMode</a></td><td class="argDescription ">Required. The inital language mode to use for the document</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Events</h3>
<article id="EditSession.event.onChange" data-title="EditSession@onChange (event)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="eventObjName">EditSession</span><span class="eventListenerStart">.on("</span><span id="EditSession@onChange" class="member-name eventMember methodClicker">onChange</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span>e<span class="eventFunctionClose">))</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession@onChange" class="ellipsis_description"><p>Emitted when the document changes. ...</p>
</div>
<div id="short_EditSession@onChange" class="short_description hiddenSpan"><p>Emitted when the document changes.</p>
</div>
<h3 id="EditSession@onChange" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.event.onChangeFold" data-title="EditSession@onChangeFold (event)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="eventObjName">EditSession</span><span class="eventListenerStart">.on("</span><span id="EditSession@onChangeFold" class="member-name eventMember methodClicker">onChangeFold</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span>e<span class="eventFunctionClose">))</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession@onChangeFold" class="ellipsis_description"><p>Emitted when a code fold changes its state. ...</p>
</div>
<div id="short_EditSession@onChangeFold" class="short_description hiddenSpan"><p>Emitted when a code fold changes its state.</p>
</div>
<h3 id="EditSession@onChangeFold" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.event.onReloadTokenizer" data-title="EditSession@onReloadTokenizer (event)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="eventObjName">EditSession</span><span class="eventListenerStart">.on("</span><span id="EditSession@onReloadTokenizer" class="member-name eventMember methodClicker">onReloadTokenizer</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span>e<span class="eventFunctionClose">))</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession@onReloadTokenizer" class="ellipsis_description"><p>Reloads all the tokens on the current session. This function calls [[BackgroundTokenizer.start `BackgroundTokenizer....</p>
</div>
<div id="short_EditSession@onReloadTokenizer" class="short_description hiddenSpan"><p>Reloads all the tokens on the current session. This function calls <a href="background_tokenizer.html#BackgroundTokenizer.start" class="link-short" title="BackgroundTokenizer.start (class method)" data-id="BackgroundTokenizer.start"><code>BackgroundTokenizer.start ()</code></a> to all the rows; it also emits the <code>&#39;tokenizerUpdate&#39;</code> event.</p>
</div>
<h3 id="EditSession@onReloadTokenizer" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="EditSession.addMarker" data-title="EditSession.addMarker (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.addMarker" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">addMarker</span></span>(<span class="sigArgList"><a href="range.html#Range" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> clazz, <a href="http://www.nodemanual.org/latest/js_doc/Function.html" class="argument methodClicker" title="Function" data-id="Function">Function</a> | <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> type = "line", <a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> inFront</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.addMarker" class="ellipsis_description"><p>Adds a new marker to the given <code>Range</code>. If <code>inFront</code> is <code>true</code>, a front marker is defined, and the `&#39;changeFrontMark...</p>
</div>
<div id="short_EditSession.addMarker" class="short_description hiddenSpan"><p>Adds a new marker to the given <code>Range</code>. If <code>inFront</code> is <code>true</code>, a front marker is defined, and the <code>&#39;changeFrontMarker&#39;</code> event fires; otherwise, the <code>&#39;changeBackMarker&#39;</code> event fires.</p>
</div>
<h3 id="EditSession.addMarker" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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#Range" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription ">Required. Define the range of the marker</td></tr><tr class="argumentRow "><td class="argName ">clazz</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription ">Required. Set the CSS class for the marker</td></tr><tr class="argumentRow "><td class="argName ">type</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Function.html" class="" title="Function" data-id="Function">Function</a> | <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription ">Required. Identify the type of the marker</td></tr><tr class="argumentRow "><td class="argName ">inFront</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription ">Required. Set to <code>true</code> to establish a front marker</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.clearAnnotations" data-title="EditSession.clearAnnotations (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.clearAnnotations" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">clearAnnotations</span></span>(<span class="sigArgList"></span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.clearAnnotations" class="ellipsis_description"><p>Clears all the annotations for this session. This function also triggers the <code>&#39;changeAnnotation&#39;</code> event. ...</p>
</div>
<div id="short_EditSession.clearAnnotations" class="short_description hiddenSpan"><p>Clears all the annotations for this session. This function also triggers the <code>&#39;changeAnnotation&#39;</code> event.</p>
</div>
<h3 id="EditSession.clearAnnotations" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.clearBreakpoint" data-title="EditSession.clearBreakpoint (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.clearBreakpoint" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">clearBreakpoint</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.clearBreakpoint" class="ellipsis_description"><p>Removes a breakpoint on the row number given by <code>rows</code>. This function also emites the <code>&#39;changeBreakpoint&#39;</code> event. ...</p>
</div>
<div id="short_EditSession.clearBreakpoint" class="short_description hiddenSpan"><p>Removes a breakpoint on the row number given by <code>rows</code>. This function also emites the <code>&#39;changeBreakpoint&#39;</code> event.</p>
</div>
<h3 id="EditSession.clearBreakpoint" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. A row index</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.clearBreakpoints" data-title="EditSession.clearBreakpoints (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.clearBreakpoints" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">clearBreakpoints</span></span>(<span class="sigArgList"></span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.clearBreakpoints" class="ellipsis_description"><p>Removes all breakpoints on the rows. This function also emites the <code>&#39;changeBreakpoint&#39;</code> event. ...</p>
</div>
<div id="short_EditSession.clearBreakpoints" class="short_description hiddenSpan"><p>Removes all breakpoints on the rows. This function also emites the <code>&#39;changeBreakpoint&#39;</code> event.</p>
</div>
<h3 id="EditSession.clearBreakpoints" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.documentToScreenPosition" data-title="EditSession.documentToScreenPosition (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.documentToScreenPosition" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">documentToScreenPosition</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> docRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> docColumn</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="#EditSession.screenToDocumentPosition" class="" title="EditSession.screenToDocumentPosition (class method)" data-id="EditSession.screenToDocumentPosition">EditSession.screenToDocumentPosition</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.documentToScreenPosition" class="ellipsis_description"><p>Converts document coordinates to screen coordinates. This takes into account code folding, word wrap, tab size, and any other visual modifications. ...</p>
</div>
<div id="short_EditSession.documentToScreenPosition" class="short_description hiddenSpan"><p>Converts document coordinates to screen coordinates. This takes into account code folding, word wrap, tab size, and any other visual modifications.</p>
</div>
<h3 id="EditSession.documentToScreenPosition" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">docRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The document row to check</td></tr><tr class="argumentRow "><td class="argName ">docColumn</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The document column to check</td></tr></table>
<h4>Returns</h4><table class="returnTable return-list table table-striped table-bordered"><tr class=" "><td class="returnType "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="returnDescription ">The object returned by this method has two properties: <code>row</code> and <code>column</code>.</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.duplicateLines" data-title="EditSession.duplicateLines (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.duplicateLines" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">duplicateLines</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.duplicateLines" class="ellipsis_description"><p>Duplicates all the text between <code>firstRow</code> and <code>lastRow</code>. ...</p>
</div>
<div id="short_EditSession.duplicateLines" class="short_description hiddenSpan"><p>Duplicates all the text between <code>firstRow</code> and <code>lastRow</code>.</p>
</div>
<h3 id="EditSession.duplicateLines" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The starting row to duplicate</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The final row to duplicate</td></tr></table>
<h4>Returns</h4><table class="returnTable return-list table table-striped table-bordered"><tr class=" "><td class="returnType "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="returnDescription ">Returns the number of new rows added; in other words, <code>lastRow - firstRow + 1</code>.</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getAnnotations" data-title="EditSession.getAnnotations (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getAnnotations" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getAnnotations</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getAnnotations" class="ellipsis_description"><p>Returns the annotations for the <code>EditSession</code>. ...</p>
</div>
<div id="short_EditSession.getAnnotations" class="short_description hiddenSpan"><p>Returns the annotations for the <code>EditSession</code>.</p>
</div>
<h3 id="EditSession.getAnnotations" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getAWordRange" data-title="EditSession.getAWordRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getAWordRange" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getAWordRange</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html#Range" 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_EditSession.getAWordRange" class="ellipsis_description"><p>Gets the range of a word, including its right whitespace. ...</p>
</div>
<div id="short_EditSession.getAWordRange" class="short_description hiddenSpan"><p>Gets the range of a word, including its right whitespace.</p>
</div>
<h3 id="EditSession.getAWordRange" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row number to start from</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The column number to start from</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getBreakpoints" data-title="EditSession.getBreakpoints (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getBreakpoints" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getBreakpoints</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" 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_EditSession.getBreakpoints" class="ellipsis_description"><p>Returns an array of numbers, indicating which rows have breakpoints. ...</p>
</div>
<div id="short_EditSession.getBreakpoints" class="short_description hiddenSpan"><p>Returns an array of numbers, indicating which rows have breakpoints.</p>
</div>
<h3 id="EditSession.getBreakpoints" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getDocument" data-title="EditSession.getDocument (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getDocument" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getDocument</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="document.html#Document" class="returnType " title="Document (class)" data-id="Document">Document</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getDocument" class="ellipsis_description"><p>Returns the <code>Document</code> associated with this session. ...</p>
</div>
<div id="short_EditSession.getDocument" class="short_description hiddenSpan"><p>Returns the <code>Document</code> associated with this session.</p>
</div>
<h3 id="EditSession.getDocument" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getLength" data-title="EditSession.getLength (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getLength" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getLength</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.getLength" class="" title="Document.getLength (class method)" data-id="Document.getLength">Document.getLength</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getLength" class="ellipsis_description"><p>Returns the number of rows in the document. ...</p>
</div>
<div id="short_EditSession.getLength" class="short_description hiddenSpan"><p>Returns the number of rows in the document.</p>
</div>
<h3 id="EditSession.getLength" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getLine" data-title="EditSession.getLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getLine" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getLine</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.getLine" class="" title="Document.getLine (class method)" data-id="Document.getLine">Document.getLine</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getLine" class="ellipsis_description"><p>Returns a verbatim copy of the given line as it is in the document ...</p>
</div>
<div id="short_EditSession.getLine" class="short_description hiddenSpan"><p>Returns a verbatim copy of the given line as it is in the document</p>
</div>
<h3 id="EditSession.getLine" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row to retrieve from</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getLines" data-title="EditSession.getLines (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getLines" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getLines</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" class="returnType " title="Array" data-id="Array">Array</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.getLines" class="" title="Document.getLines (class method)" data-id="Document.getLines">Document.getLines</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getLines" class="ellipsis_description"><p>Returns an array of strings of the rows between <code>firstRow</code> and <code>lastRow</code>. This function is inclusive of <code>lastRow</code>. ...</p>
</div>
<div id="short_EditSession.getLines" class="short_description hiddenSpan"><p>Returns an array of strings of the rows between <code>firstRow</code> and <code>lastRow</code>. This function is inclusive of <code>lastRow</code>.</p>
</div>
<h3 id="EditSession.getLines" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The first row index to retrieve</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The final row index to retrieve</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getMarkers" data-title="EditSession.getMarkers (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getMarkers" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getMarkers</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> inFront</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" 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_EditSession.getMarkers" class="ellipsis_description"><p>Returns an array containing the IDs of all the markers, either front or back. ...</p>
</div>
<div id="short_EditSession.getMarkers" class="short_description hiddenSpan"><p>Returns an array containing the IDs of all the markers, either front or back.</p>
</div>
<h3 id="EditSession.getMarkers" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">inFront</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription ">Required. If <code>true</code>, indicates you only want front markers; <code>false</code> indicates only back markers</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getMode" data-title="EditSession.getMode (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getMode" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getMode</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js" class="returnType " title="TextMode" data-id="TextMode">TextMode</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getMode" class="ellipsis_description"><p>Returns the current text mode. ...</p>
</div>
<div id="short_EditSession.getMode" class="short_description hiddenSpan"><p>Returns the current text mode.</p>
</div>
<h3 id="EditSession.getMode" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getNewLineMode" data-title="EditSession.getNewLineMode (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getNewLineMode" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getNewLineMode</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.getNewLineMode" class="" title="Document.getNewLineMode (class method)" data-id="Document.getNewLineMode">Document.getNewLineMode</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getNewLineMode" class="ellipsis_description"><p>Returns the current new line mode. ...</p>
</div>
<div id="short_EditSession.getNewLineMode" class="short_description hiddenSpan"><p>Returns the current new line mode.</p>
</div>
<h3 id="EditSession.getNewLineMode" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getOverwrite" data-title="EditSession.getOverwrite (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getOverwrite" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getOverwrite</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" 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_EditSession.getOverwrite" class="ellipsis_description"><p>Returns <code>true</code> if overwrites are enabled; <code>false</code> otherwise. ...</p>
</div>
<div id="short_EditSession.getOverwrite" class="short_description hiddenSpan"><p>Returns <code>true</code> if overwrites are enabled; <code>false</code> otherwise.</p>
</div>
<h3 id="EditSession.getOverwrite" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getRowHeight" data-title="EditSession.getRowHeight (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getRowHeight" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getRowHeight</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> config, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getRowHeight" class="ellipsis_description"><p>Returns the height of the indicated row. This is mostly relevant for situations where wrapping occurs, and a single ...</p>
</div>
<div id="short_EditSession.getRowHeight" class="short_description hiddenSpan"><p>Returns the height of the indicated row. This is mostly relevant for situations where wrapping occurs, and a single line spans across multiple rows.</p>
</div>
<h3 id="EditSession.getRowHeight" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">config</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription ">Required. An object containing a parameter indicating the <code>lineHeight</code>.</td></tr><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row number to check</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getRowLength" data-title="EditSession.getRowLength (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getRowLength" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getRowLength</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getRowLength" class="ellipsis_description"><p>Returns the length of the indicated row. ...</p>
</div>
<div id="short_EditSession.getRowLength" class="short_description hiddenSpan"><p>Returns the length of the indicated row.</p>
</div>
<h3 id="EditSession.getRowLength" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row number to check</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getScreenLength" data-title="EditSession.getScreenLength (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getScreenLength" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getScreenLength</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getScreenLength" class="ellipsis_description"><p>Returns the length of the screen. ...</p>
</div>
<div id="short_EditSession.getScreenLength" class="short_description hiddenSpan"><p>Returns the length of the screen.</p>
</div>
<h3 id="EditSession.getScreenLength" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getScreenTabSize" data-title="EditSession.getScreenTabSize (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getScreenTabSize" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getScreenTabSize</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> screenColumn</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getScreenTabSize" class="ellipsis_description"><p>The distance to the next tab stop at the specified screen column. ...</p>
</div>
<div id="short_EditSession.getScreenTabSize" class="short_description hiddenSpan"><p>The distance to the next tab stop at the specified screen column.</p>
</div>
<h3 id="EditSession.getScreenTabSize" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">screenColumn</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The screen column to check</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getScreenWidth" data-title="EditSession.getScreenWidth (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getScreenWidth" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getScreenWidth</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getScreenWidth" class="ellipsis_description"><p>Returns the width of the screen. ...</p>
</div>
<div id="short_EditSession.getScreenWidth" class="short_description hiddenSpan"><p>Returns the width of the screen.</p>
</div>
<h3 id="EditSession.getScreenWidth" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getScrollLeft" data-title="EditSession.getScrollLeft (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getScrollLeft" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getScrollLeft</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getScrollLeft" class="ellipsis_description"><p>[Returns the value of the distance between the left of the editor and the leftmost part of the visible content.]{: #...</p>
</div>
<div id="short_EditSession.getScrollLeft" class="short_description hiddenSpan"><p>Returns the value of the distance between the left of the editor and the leftmost part of the visible content.</p>
</div>
<h3 id="EditSession.getScrollLeft" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getScrollTop" data-title="EditSession.getScrollTop (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getScrollTop" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getScrollTop</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getScrollTop" class="ellipsis_description"><p>[Returns the value of the distance between the top of the editor and the topmost part of the visible content.]{: #Ed...</p>
</div>
<div id="short_EditSession.getScrollTop" class="short_description hiddenSpan"><p>Returns the value of the distance between the top of the editor and the topmost part of the visible content.</p>
</div>
<h3 id="EditSession.getScrollTop" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getSelection" data-title="EditSession.getSelection (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getSelection" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getSelection</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getSelection" class="ellipsis_description"><p>Returns the string of the current selection. ...</p>
</div>
<div id="short_EditSession.getSelection" class="short_description hiddenSpan"><p>Returns the string of the current selection.</p>
</div>
<h3 id="EditSession.getSelection" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getState" data-title="EditSession.getState (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getState" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getState</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" class="returnType " title="Array" data-id="Array">Array</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="background_tokenizer.html#BackgroundTokenizer.getState" class="" title="BackgroundTokenizer.getState (class method)" data-id="BackgroundTokenizer.getState">BackgroundTokenizer.getState</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getState" class="ellipsis_description"><p>Returns the state of tokenization for a row. ...</p>
</div>
<div id="short_EditSession.getState" class="short_description hiddenSpan"><p>Returns the state of tokenization for a row.</p>
</div>
<h3 id="EditSession.getState" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row to start at</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getTabSize" data-title="EditSession.getTabSize (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getTabSize" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getTabSize</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getTabSize" class="ellipsis_description"><p>Returns the current tab size. ...</p>
</div>
<div id="short_EditSession.getTabSize" class="short_description hiddenSpan"><p>Returns the current tab size.</p>
</div>
<h3 id="EditSession.getTabSize" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getTabString" data-title="EditSession.getTabString (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getTabString" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getTabString</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getTabString" class="ellipsis_description"><p>Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by [[Ed...</p>
</div>
<div id="short_EditSession.getTabString" class="short_description hiddenSpan"><p>Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by <a href="#EditSession.getTabSize" class="link-short" title="EditSession.getTabSize (class method)" data-id="EditSession.getTabSize">getTabSize</a>); otherwise it&#39;s simply <code>&#39;\t&#39;</code>.</p>
</div>
<h3 id="EditSession.getTabString" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getTextRange" data-title="EditSession.getTextRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getTextRange" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getTextRange</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> range</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" class="returnType " title="Array" data-id="Array">Array</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.getTextRange" class="" title="Document.getTextRange (class method)" data-id="Document.getTextRange">Document.getTextRange</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getTextRange" class="ellipsis_description"><p>Given a range within the document, this function returns all the text within that range as a single string. ...</p>
</div>
<div id="short_EditSession.getTextRange" class="short_description hiddenSpan"><p>Given a range within the document, this function returns all the text within that range as a single string.</p>
</div>
<h3 id="EditSession.getTextRange" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription ">Required. The range to work with</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getTokenAt" data-title="EditSession.getTokenAt (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getTokenAt" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getTokenAt</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" 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_EditSession.getTokenAt" class="ellipsis_description"><p>Returns an array of tokens at the indicated row and column. ...</p>
</div>
<div id="short_EditSession.getTokenAt" class="short_description hiddenSpan"><p>Returns an array of tokens at the indicated row and column.</p>
</div>
<h3 id="EditSession.getTokenAt" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row number to retrieve from</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The column number to retrieve from</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getTokens" data-title="EditSession.getTokens (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getTokens" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getTokens</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" class="returnType " title="Array" data-id="Array">Array</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="background_tokenizer.html#BackgroundTokenizer.getTokens" class="" title="BackgroundTokenizer.getTokens (class method)" data-id="BackgroundTokenizer.getTokens">BackgroundTokenizer.getTokens</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getTokens" class="ellipsis_description"><p>Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows. ...</p>
</div>
<div id="short_EditSession.getTokens" class="short_description hiddenSpan"><p>Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows.</p>
</div>
<h3 id="EditSession.getTokens" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row to start at</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row to finish at</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getUndoManager" data-title="EditSession.getUndoManager (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getUndoManager" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getUndoManager</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="undomanager.html#UndoManager" class="returnType " title="UndoManager (class)" data-id="UndoManager">UndoManager</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getUndoManager" class="ellipsis_description"><p>Returns the current undo manager. ...</p>
</div>
<div id="short_EditSession.getUndoManager" class="short_description hiddenSpan"><p>Returns the current undo manager.</p>
</div>
<h3 id="EditSession.getUndoManager" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getUseSoftTabs" data-title="EditSession.getUseSoftTabs (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getUseSoftTabs" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getUseSoftTabs</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" 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_EditSession.getUseSoftTabs" class="ellipsis_description"><p>Returns <code>true</code> if soft tabs are being used, <code>false</code> otherwise. ...</p>
</div>
<div id="short_EditSession.getUseSoftTabs" class="short_description hiddenSpan"><p>Returns <code>true</code> if soft tabs are being used, <code>false</code> otherwise.</p>
</div>
<h3 id="EditSession.getUseSoftTabs" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getUseWorker" data-title="EditSession.getUseWorker (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getUseWorker" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getUseWorker</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" 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_EditSession.getUseWorker" class="ellipsis_description"><p>Returns <code>true</code> if workers are being used. ...</p>
</div>
<div id="short_EditSession.getUseWorker" class="short_description hiddenSpan"><p>Returns <code>true</code> if workers are being used.</p>
</div>
<h3 id="EditSession.getUseWorker" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getUseWrapMode" data-title="EditSession.getUseWrapMode (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getUseWrapMode" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getUseWrapMode</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" 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_EditSession.getUseWrapMode" class="ellipsis_description"><p>Returns <code>true</code> if wrap mode is being used; <code>false</code> otherwise. ...</p>
</div>
<div id="short_EditSession.getUseWrapMode" class="short_description hiddenSpan"><p>Returns <code>true</code> if wrap mode is being used; <code>false</code> otherwise.</p>
</div>
<h3 id="EditSession.getUseWrapMode" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getValue" data-title="EditSession.getValue (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getValue" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getValue</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label alias single">Aliased as: <a href="#EditSession.toString" class="" title="EditSession.toString (class method)" data-id="EditSession.toString">EditSession.toString</a></span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getValue" class="ellipsis_description"><p>Returns the current <a href="document.html#Document" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a> as a string. ...</p>
</div>
<div id="short_EditSession.getValue" class="short_description hiddenSpan"><p>Returns the current <a href="document.html#Document" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a> as a string.</p>
</div>
<h3 id="EditSession.getValue" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getWidth" data-title="EditSession.getWidth (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getWidth" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getWidth</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getWidth" class="ellipsis_description"><p>Returns the width of the document. ...</p>
</div>
<div id="short_EditSession.getWidth" class="short_description hiddenSpan"><p>Returns the width of the document.</p>
</div>
<h3 id="EditSession.getWidth" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getWordRange" data-title="EditSession.getWordRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getWordRange" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getWordRange</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html#Range" 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_EditSession.getWordRange" class="ellipsis_description"><p>Given a starting row and column, this method returns the <code>Range</code> of the first word boundary it finds. ...</p>
</div>
<div id="short_EditSession.getWordRange" class="short_description hiddenSpan"><p>Given a starting row and column, this method returns the <code>Range</code> of the first word boundary it finds.</p>
</div>
<h3 id="EditSession.getWordRange" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The row to start at</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The column to start at</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getWrapLimit" data-title="EditSession.getWrapLimit (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getWrapLimit" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getWrapLimit</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getWrapLimit" class="ellipsis_description"><p>Returns the value of wrap limit. ...</p>
</div>
<div id="short_EditSession.getWrapLimit" class="short_description hiddenSpan"><p>Returns the value of wrap limit.</p>
</div>
<h3 id="EditSession.getWrapLimit" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.getWrapLimitRange" data-title="EditSession.getWrapLimitRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.getWrapLimitRange" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">getWrapLimitRange</span></span>(<span class="sigArgList"></span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.getWrapLimitRange" class="ellipsis_description"><p>Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:
...</p>
</div>
<div id="short_EditSession.getWrapLimitRange" class="short_description hiddenSpan"><p>Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:
</p>
</div>
<h3 id="EditSession.getWrapLimitRange" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description"><pre><code>{ min: wrapLimitRange_min, max: wrapLimitRange_max }</code></pre>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.indentRows" data-title="EditSession.indentRows (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.indentRows" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">indentRows</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> endRow, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> indentString</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.indentRows" class="ellipsis_description"><p>Indents all the rows, from <code>startRow</code> to <code>endRow</code> (inclusive), by prefixing each row with the token in <code>indentString</code>.
...</p>
</div>
<div id="short_EditSession.indentRows" class="short_description hiddenSpan"><p>Indents all the rows, from <code>startRow</code> to <code>endRow</code> (inclusive), by prefixing each row with the token in <code>indentString</code>.
</p>
</div>
<h3 id="EditSession.indentRows" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description"><p>If <code>indentString</code> contains the <code>&#39;\t&#39;</code> character, it&#39;s replaced by whatever is defined by <a href="#EditSession.getTabString" class="link-short" title="EditSession.getTabString (class method)" data-id="EditSession.getTabString">getTabString</a>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. Starting row</td></tr><tr class="argumentRow "><td class="argName ">endRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. Ending row</td></tr><tr class="argumentRow "><td class="argName ">indentString</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription ">Required. The indent token</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.insert" data-title="EditSession.insert (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.insert" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">insert</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> position, <a href="http://www.nodemanual.org/latest/js_doc/String.html" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.insert" class="" title="Document.insert (class method)" data-id="Document.insert">Document.insert</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.insert" class="ellipsis_description"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>. ...</p>
</div>
<div id="short_EditSession.insert" class="short_description hiddenSpan"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>.</p>
</div>
<h3 id="EditSession.insert" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The position to start inserting at</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/String.html" class="" title="String" data-id="String">String</a></td><td class="argDescription ">Required. A chunk of text to insert</td></tr></table>
<h4>Returns</h4><table class="returnTable return-list table table-striped table-bordered"><tr class=" "><td class="returnType "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="returnDescription ">The position of the last line of <code>text</code>. If the length of <code>text</code> is 0, this function simply returns <code>position</code>.</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.isTabStop" data-title="EditSession.isTabStop (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.isTabStop" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">isTabStop</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> position</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" 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_EditSession.isTabStop" class="ellipsis_description"><p>Returns <code>true</code> if the character at the position is a soft tab. ...</p>
</div>
<div id="short_EditSession.isTabStop" class="short_description hiddenSpan"><p>Returns <code>true</code> if the character at the position is a soft tab.</p>
</div>
<h3 id="EditSession.isTabStop" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription ">Required. The position to check</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.moveLinesDown" data-title="EditSession.moveLinesDown (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.moveLinesDown" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">moveLinesDown</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.insertLines" class="" title="Document.insertLines (class method)" data-id="Document.insertLines">Document.insertLines</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.moveLinesDown" class="ellipsis_description"><p> ...</p>
</div>
<div id="short_EditSession.moveLinesDown" class="short_description hiddenSpan">
</div>
<h3 id="EditSession.moveLinesDown" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The starting row to move down</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The final row to move down</td></tr></table>
<h4>Returns</h4><table class="returnTable return-list table table-striped table-bordered"><tr class=" "><td class="returnType "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="returnDescription ">If <code>firstRow</code> is less-than or equal to 0, this function returns 0. Otherwise, on success, it returns -1.</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.moveLinesUp" data-title="EditSession.moveLinesUp (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.moveLinesUp" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">moveLinesUp</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.insertLines" class="" title="Document.insertLines (class method)" data-id="Document.insertLines">Document.insertLines</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.moveLinesUp" class="ellipsis_description"><p>Shifts all the lines in the document up one, starting from <code>firstRow</code> and ending at <code>lastRow</code>. ...</p>
</div>
<div id="short_EditSession.moveLinesUp" class="short_description hiddenSpan"><p>Shifts all the lines in the document up one, starting from <code>firstRow</code> and ending at <code>lastRow</code>.</p>
</div>
<h3 id="EditSession.moveLinesUp" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The starting row to move up</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription ">Required. The final row to move up</td></tr></table>
<h4>Returns</h4><table class="returnTable return-list table table-striped table-bordered"><tr class=" "><td class="returnType "><a href="http://www.nodemanual.org/latest/js_doc/Number.html" class="" title="Number" data-id="Number">Number</a></td><td class="returnDescription ">If <code>firstRow</code> is less-than or equal to 0, this function returns 0. Otherwise, on success, it returns -1.</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.moveText" data-title="EditSession.moveText (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.moveText" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">moveText</span></span>(<span class="sigArgList"><a href="range.html#Range" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> fromRange, <a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="argument methodClicker" title="Object" data-id="Object">Object</a> toPosition</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html#Range" 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_EditSession.moveText" class="ellipsis_description"><p>{ row: newRowLocation, column: newColumnLocation } ...</p>
</div>
<div id="short_EditSession.moveText" class="short_description hiddenSpan"><p>{ row: newRowLocation, column: newColumnLocation }</p>
</div>
<h3 id="EditSession.moveText" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">fromRange</td><td class="argType" "><a href="range.html#Range" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription ">Required. The range of text you want moved within the document</td></tr><tr class="argumentRow "><td class="argName ">toPosition</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription ">Required. The location (row and column) where you want to move the text to</td></tr></table>
<h4>Returns</h4><table class="returnTable return-list table table-striped table-bordered"><tr class=" "><td class="returnType "><a href="range.html#Range" class="" title="Range (class)" data-id="Range">Range</a></td><td class="returnDescription ">The new range where the text was moved to. Moves a range of text from the given range to the given position. <code>toPosition</code> is an object that looks like this:</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.outdentRows" data-title="EditSession.outdentRows (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.outdentRows" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">outdentRows</span></span>(<span class="sigArgList"><a href="range.html#Range" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.outdentRows" class="ellipsis_description"><p>Outdents all the rows defined by the <code>start</code> and <code>end</code> properties of <code>range</code>. ...</p>
</div>
<div id="short_EditSession.outdentRows" class="short_description hiddenSpan"><p>Outdents all the rows defined by the <code>start</code> and <code>end</code> properties of <code>range</code>.</p>
</div>
<h3 id="EditSession.outdentRows" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<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#Range" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription ">Required. A range of rows</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.redoChanges" data-title="EditSession.redoChanges (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.redoChanges" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">redoChanges</span></span>(<span class="sigArgList"><a href="http://www.nodemanual.org/latest/js_doc/Array.html" class="argument methodClicker" title="Array" data-id="Array">Array</a> deltas, <a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> dontSelect</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html#Range" 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_EditSession.redoChanges" class="ellipsis_description"><p>Re-implements a previously undone change to your document. ...</p>
</div>
<div id="short_EditSession.redoChanges" class="short_description hiddenSpan"><p>Re-implements a previously undone change to your document.</p>
</div>
<h3 id="EditSession.redoChanges" class="methodToggle methodClicker inactive">&nbsp;&nbsp;&nbsp;</h3>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">deltas</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Array.html" class="" title="Array" data-id="Array">Array</a></td><td class="argDescription ">Required. An array of previous changes</td></tr><tr class="argumentRow "><td class="argName ">dontSelect</td><td class="argType" "><a href="http://www.nodemanual.org/latest/js_doc/Boolean.html" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription ">Required. If <code>true</code>, doesn&#39;t select the range of where the change occured</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="EditSession.remove" data-title="EditSession.remove (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title">
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="EditSession.remove" class="member-name methodClicker"><span class="sigClassName">EditSession.</span><span class="sigMemberName">remove</span></span>(<span class="sigArgList"><a href="range.html#Range" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="http://www.nodemanual.org/latest/js_doc/Object.html" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label related-to">Related to <a href="document.html#Document.remove" class="" title="Document.remove (class method)" data-id="Document.remove">Document.remove</a> </span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_EditSession.remove" class="ellipsis_description"><p>Removes the <code>range</code> from the document. ...</p>