diff --git a/api/ace.html b/api/ace.html index 787a8efb..c9a86d36 100644 --- a/api/ace.html +++ b/api/ace.html @@ -1,5 +1,85 @@ -

The main class required to set up an Ace instance in the browser.

-

Methods

This method embeds the Ace editor into the DOM, at the element provided by el.

-

This method embeds the Ace editor into the DOM, at the element provided by el.

-

Arguments

elString | DOMElement

Required. Either the id of an element, or the element itself

-
\ No newline at end of file + +
+
+
+
+
+

Ace [edit] +

+ +
+
+
+
+

The main class required to set up an Ace instance in the browser.

+ +
+
+
+

Methods

+
+
+
+
+ +
+
+

Embeds the Ace editor into the DOM, at the element provided by el.

+ +
+

Embeds the Ace editor into the DOM, at the element provided by el.

+ +

Arguments

elString | DOMElement

Required. Either the id of an element, or the element itself

+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/anchor.html b/api/anchor.html index f3f25cd1..49c62fd4 100644 --- a/api/anchor.html +++ b/api/anchor.html @@ -1,33 +1,275 @@ -

Defines the floating pointer in the document. Whenever text is inserted or deleted before the cursor, the position of the cursor is updated

-

Constructors

Creates a new Anchor and associates it with a document.

-

Creates a new Anchor and associates it with a document.

-

Arguments

docDocument

Required. The document to associate with the anchor

-
rowNumber

Required. The starting row position

-
columnNumber

Required. The starting column position

-

Events

    • Anchor.on("change", function(Object e))

    Fires whenever the anchor position changes.

    -

    Fires whenever the anchor position changes.

    -

    Events that can trigger this function include setPosition().

    -

    Arguments

    eObject

    Required. An object containing information about the anchor position. It has two properties:

    -
      -
    • old: An object describing the old Anchor position

      -
    • -
    • value: An object describing the new Anchor position

      + +
      +
      +
      +
      +
      +

      Anchor [edit] +

      + +
      +
      +
      +
      +

      Defines the floating pointer in the document. Whenever text is inserted or deleted before the cursor, the position of the cursor is updated.

      + +
      +
      +
      +

      Constructors

      +
      +
      +
      +
      + +
      +
      +

      Creates a new Anchor and associates it with a document.

      + +
      +

      Creates a new Anchor and associates it with a document.

      + +

      Arguments

      docDocument

      Required. The document to associate with the anchor

      +
      rowNumber

      Required. The starting row position

      +
      columnNumber

      Required. The starting column position

      +
      +
      +
      +
      +
      +
      +

      Events

      +
      +
      +
      +
      +
        +
      • +
          +
        • Anchor.on("change", function(Object e))
        • +
        +
          +
        +
      • +
      +
      +
      +

      Fires whenever the anchor position changes.

      + +
      +

      Fires whenever the anchor position changes.

      Both of these objects have a row and column property corresponding to the position.

      -
    • +

      Events that can trigger this function include setPosition().

      + +

      Arguments

      eObject

      Required. An object containing information about the anchor position. It has two properties:

      +
        +
      • old: An object describing the old Anchor position
      • +
      • value: An object describing the new Anchor position
      -

      Methods

        • Internal

      Clips the anchor position to the specified row and column.

      -

      Clips the anchor position to the specified row and column.

      -

      Arguments

      rowNumber

      Required. The row index to clip the anchor to

      -
      columnNumber

      Required. The column index to clip the anchor to

      -
        • Anchor.detach()

        When called, the 'change' event listener is removed.

        -

        When called, the 'change' event listener is removed.

        -

        Returns the current document.

        -

        Returns the current document.

        -

        Returns an object identifying the row and column position of the current anchor.

        -

        Returns an object identifying the row and column position of the current anchor.

        -

        Sets the anchor position to the specified row and column. If noClip is true, the position is not clipped.

        -

        Sets the anchor position to the specified row and column. If noClip is true, the position is not clipped.

        -

        Arguments

        rowNumber

        Required. The row index to move the anchor to

        -
        columnNumber

        Required. The column index to move the anchor to

        -
        noClipBoolean

        Required. Identifies if you want the position to be clipped

        -
        \ No newline at end of file +
      +
      +
      +
      +
      +
      +

      Methods

      +
      +
      +
      +
      +
        +
      • +
          +
        • Anchor.detach
        • +
        +
          +
        +
      • +
      +
      +
      +

      When called, the 'change' event listener is removed.

      + +
      +

      When called, the 'change' event listener is removed.

      + +

      Arguments

      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
        +
      • +
          +
        • Anchor.getDocument +
        • + +
        • +
        +
          +
        +
      • +
      +
      +
      +

      Returns the current document.

      + +
      +

      Returns the current document.

      + +

      Arguments

      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
        +
      • +
          +
        • Anchor.getPosition +
        • + +
        • +
        +
          +
        +
      • +
      +
      +
      +

      Returns an object identifying the row and column position of the current anchor.

      + +
      +

      Returns an object identifying the row and column position of the current anchor.

      + +

      Arguments

      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
        +
      • +
          +
        • Anchor.onChange
        • +
        +
          +
        • Incomplete
        • +
        +
      • +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      + +
      +
      +

      Sets the anchor position to the specified row and column. If noClip is true, the position is not clipped.

      + +
      +

      Sets the anchor position to the specified row and column. If noClip is true, the position is not clipped.

      + +

      Arguments

      rowNumber

      Required. The row index to move the anchor to

      +
      columnNumber

      Required. The column index to move the anchor to

      +
      noClipBoolean

      Required. Identifies if you want the position to be clipped

      +
      +
      +
      +
      +
      +
      +
      + + + + + +
      +
      \ No newline at end of file diff --git a/api/background_tokenizer.html b/api/background_tokenizer.html index 8a11bcee..2bf3a1c5 100644 --- a/api/background_tokenizer.html +++ b/api/background_tokenizer.html @@ -1,30 +1,321 @@ -

      Tokenizes the current Document in the background, and caches the tokenized rows for future use. If a certain row is changed, everything below that row is re-tokenized.

      -

      Constructors

      Creates a new BackgroundTokenizer object.

      -

      Creates a new BackgroundTokenizer object.

      -

      Arguments

      tokenizerTokenizer

      Required. The tokenizer to use

      -
      editorEditor

      Required. The editor to associate with

      -

      Events

        • BackgroundTokenizer.on("update", function(Object e))

        Fires whenever the background tokeniziers between a range of rows are going to be updated.

        -

        Fires whenever the background tokeniziers between a range of rows are going to be updated.

        -

        Arguments

        eObject

        Required. An object containing two properties, first and last, which indicate the rows of the region being updated.

        -

        Methods

          • BackgroundTokenizer.fireUpdateEvent(Number firstRow, Number lastRow)

          Emits the 'update' event. firstRow and lastRow are used to define the boundaries of the region to be updated.

          -

          Emits the 'update' event. firstRow and lastRow are used to define the boundaries of the region to be updated.

          -

          Arguments

          firstRowNumber

          Required. The starting row region

          -
          lastRowNumber

          Required. The final row region

          -

          Returns the state of tokenization at the end of a row.

          -

          Returns the state of tokenization at the end of a row.

          -

          Arguments

          rowNumber

          Required. The row to get state at

          -

          Gives list of tokens of the row. (tokens are cached)

          -

          Gives list of tokens of the row. (tokens are cached)

          -

          Arguments

          rowNumber

          Required. The row to get tokens at

          -
            • BackgroundTokenizer.setDocument(Document doc)

            Sets a new document to associate with this object.

            -

            Sets a new document to associate with this object.

            -

            Arguments

            docDocument

            Required. The new document to associate with

            -
              • BackgroundTokenizer.setTokenizer(Tokenizer tokenizer)

              Sets a new tokenizer for this object.

              -

              Sets a new tokenizer for this object.

              -

              Arguments

              tokenizerTokenizer

              Required. The new tokenizer to use

              -
                • BackgroundTokenizer.start(Number startRow)

                Starts tokenizing at the row indicated.

                -

                Starts tokenizing at the row indicated.

                -

                Arguments

                startRowNumber

                Required. The row to start at

                -
                  • BackgroundTokenizer.stop()

                  Stops tokenizing.

                  -

                  Stops tokenizing.

                  -
                  \ No newline at end of file + +
                  +
                  +
                  +
                  +
                  +

                  BackgroundTokenizer [edit] +

                  + +
                  +
                  +
                  +
                  +

                  Tokenizes the current Document in the background, and caches the tokenized rows for future use.

                  +

                  If a certain row is changed, everything below that row is re-tokenized.

                  + +
                  +
                  +
                  +

                  Constructors

                  +
                  +
                  +
                  +
                  +
                    +
                  • + +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Creates a new BackgroundTokenizer object.

                  + +
                  +

                  Creates a new BackgroundTokenizer object.

                  + +

                  Arguments

                  tokenizerTokenizer

                  Required. The tokenizer to use

                  +
                  editorEditor

                  Required. The editor to associate with

                  +
                  +
                  +
                  +
                  +
                  +
                  +

                  Events

                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.on("update", function(Object e))
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Fires whenever the background tokeniziers between a range of rows are going to be updated.

                  + +
                  +

                  Fires whenever the background tokeniziers between a range of rows are going to be updated.

                  + +

                  Arguments

                  eObject

                  Required. An object containing two properties, first and last, which indicate the rows of the region being updated.

                  +
                  +
                  +
                  +
                  +
                  +
                  +

                  Methods

                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.fireUpdateEvent(Number firstRow, Number lastRow)
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Emits the 'update' event. firstRow and lastRow are used to define the boundaries of the region to be updated.

                  + +
                  +

                  Emits the 'update' event. firstRow and lastRow are used to define the boundaries of the region to be updated.

                  + +

                  Arguments

                  firstRowNumber

                  Required. The starting row region

                  +
                  lastRowNumber

                  Required. The final row region

                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.getState(Number row)
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Returns the state of tokenization at the end of a row.

                  + +
                  +

                  Returns the state of tokenization at the end of a row.

                  + +

                  Arguments

                  rowNumber

                  Required. The row to get state at

                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.getTokens(Number row)
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Gives list of tokens of the row. (tokens are cached)

                  + +
                  +

                  Gives list of tokens of the row. (tokens are cached)

                  + +

                  Arguments

                  rowNumber

                  Required. The row to get tokens at

                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.setDocument(Document doc)
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Sets a new document to associate with this object.

                  + +
                  +

                  Sets a new document to associate with this object.

                  + +

                  Arguments

                  docDocument

                  Required. The new document to associate with

                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.setTokenizer(Tokenizer tokenizer)
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Sets a new tokenizer for this object.

                  + +
                  +

                  Sets a new tokenizer for this object.

                  + +

                  Arguments

                  tokenizerTokenizer

                  Required. The new tokenizer to use

                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.start(Number startRow)
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Starts tokenizing at the row indicated.

                  + +
                  +

                  Starts tokenizing at the row indicated.

                  + +

                  Arguments

                  startRowNumber

                  Required. The row to start at

                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                  +
                    +
                  • +
                      +
                    • BackgroundTokenizer.stop
                    • +
                    +
                      +
                    +
                  • +
                  +
                  +
                  +

                  Stops tokenizing.

                  + +
                  +

                  Stops tokenizing.

                  + +

                  Arguments

                  +
                  +
                  +
                  +
                  +
                  +
                  + + + + + +
                  +
                  \ No newline at end of file diff --git a/api/command_manager.html b/api/command_manager.html index b580d309..24afeae8 100644 --- a/api/command_manager.html +++ b/api/command_manager.html @@ -1,5 +1,55 @@ -

                  Constructors

                  TODO

                  -

                  TODO

                  -

                  Arguments

                  platformString

                  Required. Identifier for the platform; must be either 'mac' or 'win'

                  -
                  commandsArray

                  Required. A list of commands

                  -
                  \ No newline at end of file + +
                  +
                  +
                  +
                  +
                  +

                  CommandManager [edit] +

                  + +
                  +
                  +
                  +
                  +

                  new CommandManager(platform, commands)

                  + +
                  +
                  +
                  +
                  + + + + + +
                  +
                  \ No newline at end of file diff --git a/api/document.html b/api/document.html index 577fe66f..1043bd47 100644 --- a/api/document.html +++ b/api/document.html @@ -1,146 +1,849 @@ -

                  Contains the text of the document. Document can be attached to several EditSessions. At its core, Documents are just an array of strings, with each row in the document matching up to the array index.

                  -

                  Constructors

                  Creates a new Document. If text is included, the Document contains those strings; otherwise, it's empty.

                  -

                  Creates a new Document. If text is included, the Document contains those strings; otherwise, it's empty.

                  -

                  Arguments

                  textString | Array

                  Required. The starting text

                  -

                  Events

                    • Document.on("change", function(Object e))

                    Fires whenever the document changes.

                    -

                    Fires whenever the document changes.

                    + +
                    +
                    +
                    +
                    +
                    +

                    Document [edit] +

                    + +
                    +
                    +
                    +
                    +

                    Contains the text of the document. Document can be attached to several EditSessions.

                    +

                    At its core, Documents are just an array of strings, with each row in the document matching up to the array index.

                    + +
                    +
                    +
                    +

                    Constructors

                    +
                    +
                    +
                    +
                    + +
                    +
                    +

                    Creates a new Document. If text is included, the Document contains those strings; otherwise, it's empty.

                    + +
                    +

                    Creates a new Document. If text is included, the Document contains those strings; otherwise, it's empty.

                    + +

                    Arguments

                    textString | Array

                    Required. The starting text

                    +
                    +
                    +
                    +
                    +
                    +
                    +

                    Events

                    +
                    +
                    +
                    +
                    +
                      +
                    • +
                        +
                      • Document.on("change", function(Object e))
                      • +
                      +
                        +
                      +
                    • +
                    +
                    +
                    +

                    Fires whenever the document changes.

                    + +
                    +

                    Fires whenever the document changes.

                    Several methods trigger different "change" events. Below is a list of each action type, followed by each property that's also available:

                    -

                    Arguments

                    eObject

                    Required. Contains at least one property called "action". "action" indicates the action that triggered the change. Each action also has a set of additional properties.

                    -

                    Methods

                      • Document.$clipPosition(position)
                      • Internal
                      • Document.$detectNewLine(text)
                        • Void
                      • Internal

                    Splits a string of text on any newline (\n) or carriage-return ('\r') characters.

                    -

                    Splits a string of text on any newline (\n) or carriage-return ('\r') characters.

                    -

                    Arguments

                    textString

                    Required. The text to work with

                    -

                    Returns

                    Array of Strings

                    A String array, with each index containing a piece of the original text string.

                    -
                      • Document.applyDeltas(deltas)
                        • Void

                      Applies all the changes previously accumulated. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                      -

                      Applies all the changes previously accumulated. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                      -

                      Creates a new Anchor to define a floating point in the document.

                      -

                      Creates a new Anchor to define a floating point in the document.

                      -

                      Arguments

                      rowNumber

                      Required. The row number to use

                      -
                      columnNumber

                      Required. The column number to use

                      -
                        • Document.getAllLines()

                        Returns all lines in the document as string array. Warning: The caller should not modify this array!

                        -

                        Returns all lines in the document as string array. Warning: The caller should not modify this array!

                        -

                        Returns the number of rows in the document.

                        -

                        Returns the number of rows in the document.

                        -

                        Returns a verbatim copy of the given line as it is in the document

                        -

                        Returns a verbatim copy of the given line as it is in the document

                        -

                        Arguments

                        rowNumber

                        Required. The row index to retrieve

                        -

                        Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                        -

                        Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                        -

                        Arguments

                        firstRowNumber

                        Required. The first row index to retrieve

                        -
                        lastRowNumber

                        Required. The final row index to retrieve

                        -
                          • Document.getNewLineCharacter()

                          Returns the newline character that's being used, depending on the value of newLineMode.

                          -

                          Returns the newline character that's being used, depending on the value of newLineMode.

                          -

                          Returns

                          String

                          If newLineMode == windows, \r\n is returned.

                          -
                            -
                          • If newLineMode == unix, \n is returned.

                            -
                          • -
                          • If newLineMode == auto, the value of autoNewLine is returned.

                            -
                          • -
                          -
                            • Document.getNewLineMode()

                            Returns the type of newlines being used; either windows, unix, or auto

                            -

                            Returns the type of newlines being used; either windows, unix, or auto

                            -

                            Given a range within the document, this function returns all the text within that range as a single string.

                            -

                            Given a range within the document, this function returns all the text within that range as a single string.

                            -

                            Arguments

                            rangeRange

                            Required. The range to work with

                            -

                            Returns all the lines in the document as a single string, split by the new line character.

                            -

                            Returns all the lines in the document as a single string, split by the new line character.

                            -

                            Arguments

                            positionNumber

                            Required. The position to start inserting at

                            -
                            textString

                            Required. A chunk of text to insert

                            -

                            Returns

                            Number

                            The position of the last line of text. If the length of text is 0, this function simply returns position.

                            -
                              -
                            • Inserts a block of text and the indicated position.
                            • -
                            -

                            Inserts text into the position at the current row. This method also triggers the 'change' event.

                            -

                            Inserts text into the position at the current row. This method also triggers the 'change' event.

                            -

                            Arguments

                            positionNumber

                            Required. The position to insert at

                            -
                            textString

                            Required. A chunk of text

                            -

                            Returns

                            Object

                            Returns an object containing the final row and column, like this:

                            -
                              -
                            • {row: endRow, column: 0}
                            • -
                            -
                            Number

                            If text is empty, this function returns the value of position

                            -

                            Inserts the elements in lines into the document, starting at the row index given by row. This method also triggers the 'change' event.

                            -

                            Inserts the elements in lines into the document, starting at the row index given by row. This method also triggers the 'change' event.

                            -

                            Arguments

                            rowNumber

                            Required. The index of the row to insert at

                            -
                            linesArray

                            Required. An array of strings

                            -

                            Returns

                            Object

                            Returns an object containing the final row and column, like this:

                            -
                              -
                            • {row: endRow, column: 0}

                              -
                            • -
                            • If lines is empty, this function returns an object containing the current row, and column, like this:

                              -
                            • -
                            • {row: row, column: 0}

                              -
                            • -
                            -

                            Inserts a new line into the document at the current row's position. This method also triggers the 'change' event.

                            -

                            Inserts a new line into the document at the current row's position. This method also triggers the 'change' event.

                            -

                            Arguments

                            positionString

                            Required. The position to insert at

                            -

                            Returns

                            Object

                            Returns an object containing the final row and column, like this:

                            -
                              -
                            • {row: endRow, column: 0}
                            • -
                            -

                            Returns true if text is a newline character (either \r\n, \r, or \n).

                            -

                            Returns true if text is a newline character (either \r\n, \r, or \n).

                            -

                            Arguments

                            textString

                            Required. The text to check

                            -

                            Removes the range from the document.

                            -

                            Removes the range from the document.

                            -

                            Arguments

                            rangeRange

                            Required. A specified Range to remove

                            -

                            Returns

                            Object

                            Returns the new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.

                            -

                            Removes the specified columns from the row. This method also triggers the 'change' event.

                            -

                            Removes the specified columns from the row. This method also triggers the 'change' event.

                            -

                            Arguments

                            rowNumber

                            Required. The row to remove from

                            -
                            startColumnNumber

                            Required. The column to start removing at

                            -
                            endColumnNumber

                            Required. The column to stop removing at

                            -

                            Returns

                            Object

                            Returns an object containing startRow and startColumn, indicating the new row and column values.
                            If startColumn is equal to endColumn, this function returns nothing.

                            -

                            Removes a range of full lines. This method also triggers the 'change' event.

                            -

                            Removes a range of full lines. This method also triggers the 'change' event.

                            -

                            Arguments

                            firstRowNumber

                            Required. The first row to be removed

                            -
                            lastRowNumber

                            Required. The last row to be removed

                            -

                            Returns

                            Array of Strings

                            Returns all the removed lines.

                            -
                              • Document.removeNewLine(Number row)
                                • Void

                              Removes the new line between row and the row immediately following it. This method also triggers the 'change' event.

                              -

                              Removes the new line between row and the row immediately following it. This method also triggers the 'change' event.

                              -

                              Arguments

                              rowNumber

                              Required. The row to check

                              -

                              Replaces a range in the document with the new text.

                              -

                              Replaces a range in the document with the new text.

                              -

                              Arguments

                              rangeRange

                              Required. A specified Range to replace

                              -
                              textString

                              Required. The new text to use as a replacement

                              -

                              Returns

                              Object

                              Returns an object containing the final row and column, like this:

                              -
                                -
                              • {row: endRow, column: 0}

                                -
                              • -
                              • If the text and range are empty, this function returns an object containing the current range.start value.

                                -
                              • -
                              • If the text is the exact same as what currently exists, this function returns an object containing the current range.end value.

                                -
                              • -
                              -
                                • Document.revertDeltas(deltas)
                                  • Void

                                Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                                -

                                Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                                -
                                  • Document.setNewLineMode(String newLineMode)
                                    • Void

                                  Sets the new line mode.

                                  -

                                  Sets the new line mode.

                                  -

                                  Arguments

                                  newLineModeString

                                  Required. The newline mode to use; can be either windows, unix, or auto

                                  -
                                    • Document.setValue(String text)
                                      • Void

                                    Replaces all the lines in the current Document with the value of text.

                                    -

                                    Replaces all the lines in the current Document with the value of text.

                                    -

                                    Arguments

                                    textString

                                    Required. The text to use

                                    -
                                    \ No newline at end of file + +

                                    Arguments

                                    eObject

                                    Required. Contains at least one property called "action". "action" indicates the action that triggered the change. Each action also has a set of additional properties.

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +

                                    Methods

                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.applyDeltas(Object deltas)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Applies all the changes previously accumulated. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                                    + +
                                    +

                                    Applies all the changes previously accumulated. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                                    + +

                                    Arguments

                                    deltasObject

                                    Required.

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • + +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Creates a new Anchor to define a floating point in the document.

                                    + +
                                    +

                                    Creates a new Anchor to define a floating point in the document.

                                    + +

                                    Arguments

                                    rowNumber

                                    Required. The row number to use

                                    +
                                    columnNumber

                                    Required. The column number to use

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.getAllLines
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns all lines in the document as string array. Warning: The caller should not modify this array!

                                    + +
                                    +

                                    Returns all lines in the document as string array. Warning: The caller should not modify this array!

                                    + +

                                    Arguments

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.getLength
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns the number of rows in the document.

                                    + +
                                    +

                                    Returns the number of rows in the document.

                                    + +

                                    Arguments

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.getLine(Number row)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns a verbatim copy of the given line as it is in the document

                                    + +
                                    +

                                    Returns a verbatim copy of the given line as it is in the document

                                    + +

                                    Arguments

                                    rowNumber

                                    Required. The row index to retrieve

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • + +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                                    + +
                                    +

                                    Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                                    + +

                                    Arguments

                                    firstRowNumber

                                    Required. The first row index to retrieve

                                    +
                                    lastRowNumber

                                    Required. The final row index to retrieve

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.getNewLineCharacter +
                                      • + +
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns the newline character that's being used, depending on the value of newLineMode.

                                    + +
                                    +

                                    Returns the newline character that's being used, depending on the value of newLineMode.

                                    + +

                                    Arguments

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.getNewLineMode
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns the type of newlines being used; either windows, unix, or auto

                                    + +
                                    +

                                    Returns the type of newlines being used; either windows, unix, or auto

                                    + +

                                    Arguments

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.getTextRange(Range range)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Given a range within the document, this function returns all the text within that range as a single string.

                                    + +
                                    +

                                    Given a range within the document, this function returns all the text within that range as a single string.

                                    + +

                                    Arguments

                                    rangeRange

                                    Required. The range to work with

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.getValue
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns all the lines in the document as a single string, split by the new line character.

                                    + +
                                    +

                                    Returns all the lines in the document as a single string, split by the new line character.

                                    + +

                                    Arguments

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + +
                                    +
                                    +

                                    Inserts a block of text and the indicated position.

                                    + +
                                    +

                                    Inserts a block of text and the indicated position.

                                    + +

                                    Arguments

                                    positionNumber

                                    Required. The position to start inserting at

                                    +
                                    textString

                                    Required. A chunk of text to insert

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + +
                                    +
                                    +

                                    Inserts text into the position at the current row. This method also triggers the 'change' event.

                                    + +
                                    +

                                    Inserts text into the position at the current row. This method also triggers the 'change' event.

                                    + +

                                    Arguments

                                    positionNumber

                                    Required. The position to insert at

                                    +
                                    textString

                                    Required. A chunk of text

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + +
                                    +
                                    +

                                    Inserts the elements in lines into the document, starting at the row index given by row. This method also triggers the 'change' event.

                                    + +
                                    +

                                    Inserts the elements in lines into the document, starting at the row index given by row. This method also triggers the 'change' event.

                                    + +

                                    Arguments

                                    rowNumber

                                    Required. The index of the row to insert at

                                    +
                                    linesArray

                                    Required. An array of strings

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.insertNewLine(String position) +
                                      • + +
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Inserts a new line into the document at the current row's position. This method also triggers the 'change' event.

                                    + +
                                    +

                                    Inserts a new line into the document at the current row's position. This method also triggers the 'change' event.

                                    + +

                                    Arguments

                                    positionString

                                    Required. The position to insert at

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.isNewLine(String text)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Returns true if text is a newline character (either \r\n, \r, or \n).

                                    + +
                                    +

                                    Returns true if text is a newline character (either \r\n, \r, or \n).

                                    + +

                                    Arguments

                                    textString

                                    Required. The text to check

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • + +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Removes the range from the document.

                                    + +
                                    +

                                    Removes the range from the document.

                                    + +

                                    Arguments

                                    rangeRange

                                    Required. A specified Range to remove

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + +
                                    +
                                    +

                                    Removes the specified columns from the row. This method also triggers the 'change' event.

                                    + +
                                    +

                                    Removes the specified columns from the row. This method also triggers the 'change' event.

                                    + +

                                    Arguments

                                    rowNumber

                                    Required. The row to remove from

                                    +
                                    startColumnNumber

                                    Required. The column to start removing at

                                    +
                                    endColumnNumber

                                    Required. The column to stop removing at

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + +
                                    +
                                    +

                                    Removes a range of full lines. This method also triggers the 'change' event.

                                    + +
                                    +

                                    Removes a range of full lines. This method also triggers the 'change' event.

                                    + +

                                    Arguments

                                    firstRowNumber

                                    Required. The first row to be removed

                                    +
                                    lastRowNumber

                                    Required. The last row to be removed

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.removeNewLine(Number row)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Removes the new line between row and the row immediately following it. This method also triggers the 'change' event.

                                    + +
                                    +

                                    Removes the new line between row and the row immediately following it. This method also triggers the 'change' event.

                                    + +

                                    Arguments

                                    rowNumber

                                    Required. The row to check

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + +
                                    +
                                    +

                                    Replaces a range in the document with the new text.

                                    + +
                                    +

                                    Replaces a range in the document with the new text.

                                    + +

                                    Arguments

                                    rangeRange

                                    Required. A specified Range to replace

                                    +
                                    textString

                                    Required. The new text to use as a replacement

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.revertDeltas(Object deltas)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                                    + +
                                    +

                                    Reverts any changes previously applied. These can be either 'includeText', 'insertLines', 'removeText', and 'removeLines'.

                                    + +

                                    Arguments

                                    deltasObject

                                    Required.

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.setNewLineMode(String newLineMode)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Sets the new line mode.

                                    + +
                                    +

                                    Sets the new line mode.

                                    + +

                                    Arguments

                                    newLineModeString

                                    Required. The newline mode to use; can be either windows, unix, or auto

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                      +
                                    • +
                                        +
                                      • Document.setValue(String text)
                                      • +
                                      +
                                        +
                                      +
                                    • +
                                    +
                                    +
                                    +

                                    Replaces all the lines in the current Document with the value of text.

                                    + +
                                    +

                                    Replaces all the lines in the current Document with the value of text.

                                    + +

                                    Arguments

                                    textString

                                    Required. The text to use

                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + + + + + +
                                    +
                                    \ No newline at end of file diff --git a/api/edit_session.html b/api/edit_session.html index 398d61c3..d83a0e29 100644 --- a/api/edit_session.html +++ b/api/edit_session.html @@ -1,306 +1,3295 @@ -

                                    EditSession [edit]

                                    Stores all the data about Editor state providing easy way to change editors state. EditSession can be attached to only one Document. Same Document can be attached to several EditSessions.

                                    -

                                    Constructors

                                    Sets up a new EditSession and associates it with the given Document and TextMode.

                                    -

                                    Sets up a new EditSession and associates it with the given Document and TextMode.

                                    -

                                    Arguments

                                    textDocument | String

                                    Required. If text is a Document, it associates the EditSession with it. Otherwise, a new Document is created, with the initial text

                                    -
                                    modeTextMode

                                    Required. The inital language mode to use for the document

                                    -

                                    Events

                                      • EditSession.on("change", function(Object e))

                                      Emitted when the document changes.

                                      -

                                      Emitted when the document changes.

                                      -

                                      Arguments

                                      eObject

                                      Required. An object containing a delta of information about the change.

                                      -
                                        • EditSession.on("changeBackMarker", function())

                                        Emitted when a back marker changes.

                                        -

                                        Emitted when a back marker changes.

                                        -
                                          • EditSession.on("changeBreakpoint", function())

                                          Emitted when the gutter changes, either by setting or removing breakpoints, or when the gutter decorations change.

                                          -

                                          Emitted when the gutter changes, either by setting or removing breakpoints, or when the gutter decorations change.

                                          -
                                            • EditSession.on("changeFold", function(e))

                                            Emitted when a code fold is added or removed.

                                            -

                                            Emitted when a code fold is added or removed.

                                            -
                                              • EditSession.on("changeFrontMarker", function())

                                              Emitted when a front marker changes.

                                              -

                                              Emitted when a front marker changes.

                                              -
                                                • EditSession.on("changeMode", function())

                                                Emitted when the current mode changes.

                                                -

                                                Emitted when the current mode changes.

                                                -
                                                  • EditSession.on("changeScrollLeft", function(Number scrollLeft))

                                                  Emitted when the scroll left changes.

                                                  -

                                                  Emitted when the scroll left changes.

                                                  -

                                                  Arguments

                                                  scrollLeftNumber

                                                  Required. The new scroll left value

                                                  -
                                                    • EditSession.on("changeScrollTop", function(Number scrollTop))

                                                    Emitted when the scroll top changes.

                                                    -

                                                    Emitted when the scroll top changes.

                                                    -

                                                    Arguments

                                                    scrollTopNumber

                                                    Required. The new scroll top value

                                                    -
                                                      • EditSession.on("changeWrapLimit", function())

                                                      Emitted when the wrapping limit changes.

                                                      -

                                                      Emitted when the wrapping limit changes.

                                                      -
                                                        • EditSession.on("changeWrapMode", function())

                                                        Emitted when the wrap mode changes.

                                                        -

                                                        Emitted when the wrap mode changes.

                                                        -
                                                          • EditSession.on("loadMode", function(e))
                                                            • EditSession.on("tokenizerUpdate", function(Object e))

                                                            Emitted when a background tokenizer asynchronously processes new rows.

                                                            -

                                                            Emitted when a background tokenizer asynchronously processes new rows.

                                                            -

                                                            Arguments

                                                            eObject

                                                            Required. An object containing one property, "data", that contains information about the changing rows

                                                            -

                                                            Methods

                                                              • EditSession.$computeWrapSplits(tokens, wrapLimit)
                                                              • Internal
                                                              • EditSession.$constrainWrapLimit(wrapLimit)
                                                              • Internal
                                                              • EditSession.$detectNewLine(String text)
                                                              • Internal

                                                            If text contains either the newline (\n) or carriage-return ('\r') characters, $autoNewLine stores that value.

                                                            -

                                                            If text contains either the newline (\n) or carriage-return ('\r') characters, $autoNewLine stores that value.

                                                            -

                                                            Arguments

                                                            textString

                                                            Required. A block of text

                                                            -

                                                            Given a string, returns an array of the display characters, including tabs and spaces.

                                                            -

                                                            Given a string, returns an array of the display characters, including tabs and spaces.

                                                            -

                                                            Arguments

                                                            strString

                                                            Required. The string to check

                                                            -
                                                            offsetNumber

                                                            Required. The value to start at

                                                            -

                                                            Calculates the width of the string str on the screen while assuming that the string starts at the first column on the screen.

                                                            -

                                                            Calculates the width of the string str on the screen while assuming that the string starts at the first column on the screen.

                                                            -

                                                            Arguments

                                                            strString

                                                            Required. The string to calculate the screen width of

                                                            -
                                                            maxScreenColumnNumber

                                                            Required.

                                                            -
                                                            screenColumnNumber

                                                            Required.

                                                            -

                                                            Returns

                                                            Array of Numbers

                                                            Returns an int[] array with two elements:

                                                            -
                                                              -
                                                            • The first position indicates the number of columns for str on screen.

                                                              -
                                                            • -
                                                            • The second value contains the position of the document column that this function read until.

                                                              -
                                                            • -
                                                            -
                                                              • EditSession.$getUndoSelection(deltas, isUndo, lastUndoRange)
                                                              • Internal
                                                              • EditSession.$resetRowCache(Number row)
                                                              • Internal

                                                            Arguments

                                                            rowNumber

                                                            Required. The row to work with

                                                            -
                                                              • EditSession.$startWorker()
                                                              • Internal
                                                              • EditSession.$syncInformUndoManager()
                                                              • Internal
                                                              • EditSession.$updateInternalDataOnChange()
                                                              • Internal
                                                              • EditSession.$updateWrapData(firstRow, lastRow)
                                                              • Internal

                                                            Adds a dynamic marker to the session.

                                                            -

                                                            Adds a dynamic marker to the session.

                                                            -

                                                            Arguments

                                                            markerObject

                                                            Required. object with update method

                                                            -
                                                            inFrontBoolean

                                                            Required. Set to true to establish a front marker

                                                            -
                                                              • EditSession.addGutterDecoration(Number row, String className)
                                                                • Void

                                                              Adds className to the row, to be used for CSS stylings and whatnot.

                                                              -

                                                              Adds className to the row, to be used for CSS stylings and whatnot.

                                                              -

                                                              Arguments

                                                              rowNumber

                                                              Required. The row number

                                                              -
                                                              classNameString

                                                              Required. The class to add

                                                              -

                                                              Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.

                                                              -

                                                              Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.

                                                              -

                                                              Arguments

                                                              rangeRange

                                                              Required. Define the range of the marker

                                                              -
                                                              clazzString

                                                              Required. Set the CSS class for the marker

                                                              -
                                                              typeFunction | String

                                                              Required. Identify the type of the marker

                                                              -
                                                              inFrontBoolean

                                                              Required. Set to true to establish a front marker

                                                              -

                                                              This should generally only be called by the renderer when a resize is detected.

                                                              -

                                                              This should generally only be called by the renderer when a resize is detected.

                                                              -

                                                              Arguments

                                                              desiredLimitNumber

                                                              Required. The new wrap limit

                                                              -
                                                                • EditSession.clearAnnotations()

                                                                Clears all the annotations for this session. This function also triggers the 'changeAnnotation' event.

                                                                -

                                                                Clears all the annotations for this session. This function also triggers the 'changeAnnotation' event.

                                                                -
                                                                  • EditSession.clearBreakpoint(Number row)

                                                                  Removes a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                  -

                                                                  Removes a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                  -

                                                                  Arguments

                                                                  rowNumber

                                                                  Required. A row index

                                                                  -
                                                                    • EditSession.clearBreakpoints()

                                                                    Removes all breakpoints on the rows. This function also emites the 'changeBreakpoint' event.

                                                                    -

                                                                    Removes all breakpoints on the rows. This function also emites the 'changeBreakpoint' event.

                                                                    -
                                                                      • EditSession.documentToScreenColumn(row, docColumn)
                                                                      • Internal

                                                                    Converts document coordinates to screen coordinates. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                    -

                                                                    Converts document coordinates to screen coordinates. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                    -

                                                                    Arguments

                                                                    docRowNumber

                                                                    Required. The document row to check

                                                                    -
                                                                    docColumnNumber

                                                                    Required. The document column to check

                                                                    -

                                                                    Returns

                                                                    Object

                                                                    The object returned by this method has two properties: row and column.

                                                                    -
                                                                      • EditSession.documentToScreenRow(docRow, docColumn)
                                                                      • Internal

                                                                    Duplicates all the text between firstRow and lastRow.

                                                                    -

                                                                    Duplicates all the text between firstRow and lastRow.

                                                                    -

                                                                    Arguments

                                                                    firstRowNumber

                                                                    Required. The starting row to duplicate

                                                                    -
                                                                    lastRowNumber

                                                                    Required. The final row to duplicate

                                                                    -

                                                                    Returns

                                                                    Number

                                                                    Returns the number of new rows added; in other words, lastRow - firstRow + 1.

                                                                    -
                                                                      • EditSession.getAnnotations()

                                                                      Returns the annotations for the EditSession.

                                                                      -

                                                                      Returns the annotations for the EditSession.

                                                                      -

                                                                      Gets the range of a word, including its right whitespace.

                                                                      -

                                                                      Gets the range of a word, including its right whitespace.

                                                                      -

                                                                      Arguments

                                                                      rowNumber

                                                                      Required. The row number to start from

                                                                      -
                                                                      columnNumber

                                                                      Required. The column number to start from

                                                                      -
                                                                        • EditSession.getBreakpoints()

                                                                        Returns an array of numbers, indicating which rows have breakpoints.

                                                                        -

                                                                        Returns an array of numbers, indicating which rows have breakpoints.

                                                                        -

                                                                        Returns the Document associated with this session.

                                                                        -

                                                                        Returns the Document associated with this session.

                                                                        -

                                                                        Arguments

                                                                        docRowNumber

                                                                        Required.

                                                                        + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +

                                                                        EditSession [edit] +

                                                                        + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +

                                                                        Stores all the data about Editor state providing easy way to change editors state.

                                                                        +

                                                                        EditSession can be attached to only one Document. Same Document can be attached to several EditSessions.

                                                                        + +
                                                                        +
                                                                        +
                                                                        +

                                                                        Constructors

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + +
                                                                        +
                                                                        +

                                                                        Sets up a new EditSession and associates it with the given Document and TextMode.

                                                                        + +
                                                                        +

                                                                        Sets up a new EditSession and associates it with the given Document and TextMode.

                                                                        + +

                                                                        Arguments

                                                                        textDocument | String

                                                                        Required. If text is a Document, it associates the EditSession with it. Otherwise, a new Document is created, with the initial text

                                                                        +
                                                                        modeTextMode

                                                                        Required. The inital language mode to use for the document

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +

                                                                        Events

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("change", function(Object e))
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the document changes.

                                                                        + +
                                                                        +

                                                                        Emitted when the document changes.

                                                                        + +

                                                                        Arguments

                                                                        eObject

                                                                        Required. An object containing a delta of information about the change.

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeBackMarker", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when a back marker changes.

                                                                        + +
                                                                        +

                                                                        Emitted when a back marker changes.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeBreakpoint", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the gutter changes, either by setting or removing breakpoints, or when the gutter decorations change.

                                                                        + +
                                                                        +

                                                                        Emitted when the gutter changes, either by setting or removing breakpoints, or when the gutter decorations change.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeFold", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when a code fold is added or removed.

                                                                        + +
                                                                        +

                                                                        Emitted when a code fold is added or removed.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeFrontMarker", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when a front marker changes.

                                                                        + +
                                                                        +

                                                                        Emitted when a front marker changes.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeMode", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the current mode changes.

                                                                        + +
                                                                        +

                                                                        Emitted when the current mode changes.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeOverwrite", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the ability to overwrite text changes, via EditSession.setOverwrite().

                                                                        + +
                                                                        +

                                                                        Emitted when the ability to overwrite text changes, via EditSession.setOverwrite().

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeScrollLeft", function(Number scrollLeft))
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the scroll left changes.

                                                                        + +
                                                                        +

                                                                        Emitted when the scroll left changes.

                                                                        + +

                                                                        Arguments

                                                                        scrollLeftNumber

                                                                        Required. The new scroll left value

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeScrollTop", function(Number scrollTop))
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the scroll top changes.

                                                                        + +
                                                                        +

                                                                        Emitted when the scroll top changes.

                                                                        + +

                                                                        Arguments

                                                                        scrollTopNumber

                                                                        Required. The new scroll top value

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeWrapLimit", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the wrapping limit changes.

                                                                        + +
                                                                        +

                                                                        Emitted when the wrapping limit changes.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("changeWrapMode", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the wrap mode changes.

                                                                        + +
                                                                        +

                                                                        Emitted when the wrap mode changes.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("loadMode", function())
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when the mode is loaded.

                                                                        + +
                                                                        +

                                                                        Emitted when the mode is loaded.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.on("tokenizerUpdate", function(Object e))
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Emitted when a background tokenizer asynchronously processes new rows.

                                                                        + +
                                                                        +

                                                                        Emitted when a background tokenizer asynchronously processes new rows.

                                                                        + +

                                                                        Arguments

                                                                        eObject

                                                                        Required. An object containing one property, "data", that contains information about the changing rows

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +

                                                                        Methods

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession._loadMode
                                                                          • +
                                                                          +
                                                                            +
                                                                          • Incomplete
                                                                          • +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.addDynamicMarker(Object marker, Boolean inFront)
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Adds a dynamic marker to the session.

                                                                        + +
                                                                        +

                                                                        Adds a dynamic marker to the session.

                                                                        + +

                                                                        Arguments

                                                                        markerObject

                                                                        Required. object with update method

                                                                        +
                                                                        inFrontBoolean

                                                                        Required. Set to true to establish a front marker

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.addGutterDecoration(Number row, String className)
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Adds className to the row, to be used for CSS stylings and whatnot.

                                                                        + +
                                                                        +

                                                                        Adds className to the row, to be used for CSS stylings and whatnot.

                                                                        + +

                                                                        Arguments

                                                                        rowNumber

                                                                        Required. The row number

                                                                        +
                                                                        classNameString

                                                                        Required. The class to add

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + +
                                                                        +
                                                                        +

                                                                        Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.

                                                                        + +
                                                                        +

                                                                        Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the 'changeFrontMarker' event fires; otherwise, the 'changeBackMarker' event fires.

                                                                        + +

                                                                        Arguments

                                                                        rangeRange

                                                                        Required. Define the range of the marker

                                                                        +
                                                                        clazzString

                                                                        Required. Set the CSS class for the marker

                                                                        +
                                                                        typeFunction | String

                                                                        Required. Identify the type of the marker

                                                                        +
                                                                        inFrontBoolean

                                                                        Required. Set to true to establish a front marker

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.clearAnnotations
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Clears all the annotations for this session. This function also triggers the 'changeAnnotation' event.

                                                                        + +
                                                                        +

                                                                        Clears all the annotations for this session. This function also triggers the 'changeAnnotation' event.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.clearBreakpoint(Number row)
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Removes a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                        + +
                                                                        +

                                                                        Removes a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                        + +

                                                                        Arguments

                                                                        rowNumber

                                                                        Required. A row index

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.clearBreakpoints
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        Removes all breakpoints on the rows. This function also emites the 'changeBreakpoint' event.

                                                                        + +
                                                                        +

                                                                        Removes all breakpoints on the rows. This function also emites the 'changeBreakpoint' event.

                                                                        + +

                                                                        Arguments

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                        • +
                                                                            +
                                                                          • EditSession.documentToScreenColumn(Number row, Number docColumn)
                                                                          • +
                                                                          +
                                                                            +
                                                                          +
                                                                        • +
                                                                        +
                                                                        +
                                                                        +

                                                                        For the given document row and column, returns the screen column.

                                                                        + +
                                                                        +

                                                                        For the given document row and column, returns the screen column.

                                                                        + +

                                                                        Arguments

                                                                        rowNumber

                                                                        Required.

                                                                        docColumnNumber

                                                                        Required.

                                                                        -
                                                                          • EditSession.getDocumentLastRowColumnPosition(docRow, docColumn)
                                                                          • Internal
                                                                          • Related to:

                                                                        Returns the number of rows in the document.

                                                                        -

                                                                        Returns the number of rows in the document.

                                                                        -

                                                                        Returns a verbatim copy of the given line as it is in the document

                                                                        -

                                                                        Returns a verbatim copy of the given line as it is in the document

                                                                        -

                                                                        Arguments

                                                                        rowNumber

                                                                        Required. The row to retrieve from

                                                                        -

                                                                        Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                                                                        -

                                                                        Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                                                                        -

                                                                        Arguments

                                                                        firstRowNumber

                                                                        Required. The first row index to retrieve

                                                                        -
                                                                        lastRowNumber

                                                                        Required. The final row index to retrieve

                                                                        -

                                                                        Returns an array containing the IDs of all the markers, either front or back.

                                                                        -

                                                                        Returns an array containing the IDs of all the markers, either front or back.

                                                                        -

                                                                        Arguments

                                                                        inFrontBoolean

                                                                        Required. If true, indicates you only want front markers; false indicates only back markers

                                                                        -

                                                                        Returns the current text mode.

                                                                        -

                                                                        Returns the current text mode.

                                                                        -
                                                                          • EditSession.getNewLineMode()
                                                                          • Related to:

                                                                        Returns the current new line mode.

                                                                        -

                                                                        Returns the current new line mode.

                                                                        -

                                                                        Returns true if overwrites are enabled; false otherwise.

                                                                        -

                                                                        Returns true if overwrites are enabled; false otherwise.

                                                                        -

                                                                        Returns number of screenrows in a wrapped line.

                                                                        -

                                                                        Returns number of screenrows in a wrapped line.

                                                                        -

                                                                        Arguments

                                                                        rowNumber

                                                                        Required. The row number to check

                                                                        -
                                                                          • EditSession.getRowSplitData(row)
                                                                          • Internal
                                                                          • Internal
                                                                          • Related to:

                                                                        Returns the column position (on screen) for the last character in the provided row.

                                                                        -

                                                                        Returns the column position (on screen) for the last character in the provided row.

                                                                        -

                                                                        Arguments

                                                                        screenRowNumber

                                                                        Required. The screen row to check

                                                                        -
                                                                          • EditSession.getScreenLength()

                                                                          Returns the length of the screen.

                                                                          -

                                                                          Returns the length of the screen.

                                                                          -

                                                                          The distance to the next tab stop at the specified screen column.

                                                                          -

                                                                          The distance to the next tab stop at the specified screen column.

                                                                          -

                                                                          Arguments

                                                                          screenColumnNumber

                                                                          Required. The screen column to check

                                                                          -
                                                                            • EditSession.getScreenWidth()

                                                                            Returns the width of the screen.

                                                                            -

                                                                            Returns the width of the screen.

                                                                            -
                                                                              • EditSession.getScrollLeft()

                                                                              Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                              -

                                                                              Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                              -
                                                                                • EditSession.getScrollTop()

                                                                                Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                -

                                                                                Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                -

                                                                                Returns the string of the current selection.

                                                                                -

                                                                                Returns the string of the current selection.

                                                                                -

                                                                                Returns the state of tokenization at the end of a row.

                                                                                -

                                                                                Returns the state of tokenization at the end of a row.

                                                                                -

                                                                                Arguments

                                                                                rowNumber

                                                                                Required. The row to start at

                                                                                -
                                                                                  • EditSession.getTabSize()

                                                                                  Returns the current tab size.

                                                                                  -

                                                                                  Returns the current tab size.

                                                                                  -
                                                                                    • EditSession.getTabString()

                                                                                    Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.

                                                                                    -

                                                                                    Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.

                                                                                    -
                                                                                      • Related to:

                                                                                    Given a range within the document, this function returns all the text within that range as a single string.

                                                                                    -

                                                                                    Given a range within the document, this function returns all the text within that range as a single string.

                                                                                    -

                                                                                    Arguments

                                                                                    rangeRange

                                                                                    Required. The range to work with

                                                                                    -

                                                                                    Returns an object indicating the token at the current row. The object has two properties: index and start.

                                                                                    -

                                                                                    Returns an object indicating the token at the current row. The object has two properties: index and start.

                                                                                    -

                                                                                    Arguments

                                                                                    rowNumber

                                                                                    Required. The row number to retrieve from

                                                                                    -
                                                                                    columnNumber

                                                                                    Required. The column number to retrieve from

                                                                                    -

                                                                                    Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows.

                                                                                    -

                                                                                    Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows.

                                                                                    -

                                                                                    Arguments

                                                                                    rowNumber

                                                                                    Required. The row to start at

                                                                                    -

                                                                                    Returns the current undo manager.

                                                                                    -

                                                                                    Returns the current undo manager.

                                                                                    -
                                                                                      • EditSession.getUseSoftTabs()

                                                                                      Returns true if soft tabs are being used, false otherwise.

                                                                                      -

                                                                                      Returns true if soft tabs are being used, false otherwise.

                                                                                      -

                                                                                      Returns true if workers are being used.

                                                                                      -

                                                                                      Returns true if workers are being used.

                                                                                      -
                                                                                        • EditSession.getUseWrapMode()

                                                                                        Returns true if wrap mode is being used; false otherwise.

                                                                                        -

                                                                                        Returns true if wrap mode is being used; false otherwise.

                                                                                        -

                                                                                        Given a starting row and column, this method returns the Range of the first word boundary it finds.

                                                                                        -

                                                                                        Given a starting row and column, this method returns the Range of the first word boundary it finds.

                                                                                        -

                                                                                        Arguments

                                                                                        rowNumber

                                                                                        Required. The row to start at

                                                                                        -
                                                                                        columnNumber

                                                                                        Required. The column to start at

                                                                                        -
                                                                                          • EditSession.getWrapLimit()

                                                                                          Returns the value of wrap limit.

                                                                                          -

                                                                                          Returns the value of wrap limit.

                                                                                          -
                                                                                            • EditSession.getWrapLimitRange()

                                                                                            Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:

                                                                                            -

                                                                                            Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:

                                                                                            -
                                                                                            { min: wrapLimitRange_min, max: wrapLimitRange_max }
                                                                                            -

                                                                                            Indents all the rows, from startRow to endRow (inclusive), by prefixing each row with the token in indentString.

                                                                                            -

                                                                                            Indents all the rows, from startRow to endRow (inclusive), by prefixing each row with the token in indentString.

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.documentToScreenPosition(Number docRow, Number docColumn) +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Converts document coordinates to screen coordinates. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                                            + +
                                                                                            +

                                                                                            Converts document coordinates to screen coordinates. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                                            + +

                                                                                            Arguments

                                                                                            docRowNumber

                                                                                            Required. The document row to check

                                                                                            +
                                                                                            docColumnNumber

                                                                                            Required. The document column to check

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.documentToScreenRow(Number docRow, Number docColumn)
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            For the given document row and column, returns the screen row.

                                                                                            + +
                                                                                            +

                                                                                            For the given document row and column, returns the screen row.

                                                                                            + +

                                                                                            Arguments

                                                                                            docRowNumber

                                                                                            Required.

                                                                                            +
                                                                                            docColumnNumber

                                                                                            Required.

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Duplicates all the text between firstRow and lastRow.

                                                                                            + +
                                                                                            +

                                                                                            Duplicates all the text between firstRow and lastRow.

                                                                                            + +

                                                                                            Arguments

                                                                                            firstRowNumber

                                                                                            Required. The starting row to duplicate

                                                                                            +
                                                                                            lastRowNumber

                                                                                            Required. The final row to duplicate

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getAnnotations +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the annotations for the EditSession.

                                                                                            + +
                                                                                            +

                                                                                            Returns the annotations for the EditSession.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Gets the range of a word, including its right whitespace.

                                                                                            + +
                                                                                            +

                                                                                            Gets the range of a word, including its right whitespace.

                                                                                            + +

                                                                                            Arguments

                                                                                            rowNumber

                                                                                            Required. The row number to start from

                                                                                            +
                                                                                            columnNumber

                                                                                            Required. The column number to start from

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getBreakpoints
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns an array of numbers, indicating which rows have breakpoints.

                                                                                            + +
                                                                                            +

                                                                                            Returns an array of numbers, indicating which rows have breakpoints.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getDocument +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the Document associated with this session.

                                                                                            + +
                                                                                            +

                                                                                            Returns the Document associated with this session.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getDocumentLastRowColumn(Number docRow, Number docColumn)
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            For the given document row and column, this returns the column position of the last screen row.

                                                                                            + +
                                                                                            +

                                                                                            For the given document row and column, this returns the column position of the last screen row.

                                                                                            + +

                                                                                            Arguments

                                                                                            docRowNumber

                                                                                            Required.

                                                                                            +
                                                                                            docColumnNumber

                                                                                            Required.

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getDocumentLastRowColumnPosition(Number docRow, Number docColumn)
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            For the given document row and column, this returns the document position of the last row.

                                                                                            + +
                                                                                            +

                                                                                            For the given document row and column, this returns the document position of the last row.

                                                                                            + +

                                                                                            Arguments

                                                                                            docRowNumber

                                                                                            Required.

                                                                                            +
                                                                                            docColumnNumber

                                                                                            Required.

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getLength +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the number of rows in the document.

                                                                                            + +
                                                                                            +

                                                                                            Returns the number of rows in the document.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns a verbatim copy of the given line as it is in the document

                                                                                            + +
                                                                                            +

                                                                                            Returns a verbatim copy of the given line as it is in the document

                                                                                            + +

                                                                                            Arguments

                                                                                            rowNumber

                                                                                            Required. The row to retrieve from

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                                                                                            + +
                                                                                            +

                                                                                            Returns an array of strings of the rows between firstRow and lastRow. This function is inclusive of lastRow.

                                                                                            + +

                                                                                            Arguments

                                                                                            firstRowNumber

                                                                                            Required. The first row index to retrieve

                                                                                            +
                                                                                            lastRowNumber

                                                                                            Required. The final row index to retrieve

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getMarkers(Boolean inFront) +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns an array containing the IDs of all the markers, either front or back.

                                                                                            + +
                                                                                            +

                                                                                            Returns an array containing the IDs of all the markers, either front or back.

                                                                                            + +

                                                                                            Arguments

                                                                                            inFrontBoolean

                                                                                            Required. If true, indicates you only want front markers; false indicates only back markers

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getMode +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the current text mode.

                                                                                            + +
                                                                                            +

                                                                                            Returns the current text mode.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getNewLineMode
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the current new line mode.

                                                                                            + +
                                                                                            +

                                                                                            Returns the current new line mode.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getOverwrite
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns true if overwrites are enabled; false otherwise.

                                                                                            + +
                                                                                            +

                                                                                            Returns true if overwrites are enabled; false otherwise.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns number of screenrows in a wrapped line.

                                                                                            + +
                                                                                            +

                                                                                            Returns number of screenrows in a wrapped line.

                                                                                            + +

                                                                                            Arguments

                                                                                            rowNumber

                                                                                            Required. The row number to check

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getRowSplitData(Object row) +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            For the given row, this returns the split data.

                                                                                            + +
                                                                                            +

                                                                                            For the given row, this returns the split data.

                                                                                            + +

                                                                                            Arguments

                                                                                            rowObject

                                                                                            Required.

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getScreenLastRowColumn(Number screenRow)
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the position (on screen) for the last character in the provided screen row.

                                                                                            + +
                                                                                            +

                                                                                            Returns the position (on screen) for the last character in the provided screen row.

                                                                                            + +

                                                                                            Arguments

                                                                                            screenRowNumber

                                                                                            Required. The screen row to check

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getScreenLength +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the length of the screen.

                                                                                            + +
                                                                                            +

                                                                                            Returns the length of the screen.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getScreenTabSize(Number screenColumn) +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            The distance to the next tab stop at the specified screen column.

                                                                                            + +
                                                                                            +

                                                                                            The distance to the next tab stop at the specified screen column.

                                                                                            + +

                                                                                            Arguments

                                                                                            screenColumnNumber

                                                                                            Required. The screen column to check

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getScreenWidth +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the width of the screen.

                                                                                            + +
                                                                                            +

                                                                                            Returns the width of the screen.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getScrollLeft +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                            + +
                                                                                            +

                                                                                            Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getScrollTop +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                            + +
                                                                                            +

                                                                                            Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getSelection
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the string of the current selection.

                                                                                            + +
                                                                                            +

                                                                                            Returns the string of the current selection.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getState(Number row)
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the state of tokenization at the end of a row.

                                                                                            + +
                                                                                            +

                                                                                            Returns the state of tokenization at the end of a row.

                                                                                            + +

                                                                                            Arguments

                                                                                            rowNumber

                                                                                            Required. The row to start at

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getTabSize
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the current tab size.

                                                                                            + +
                                                                                            +

                                                                                            Returns the current tab size.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getTabString
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.

                                                                                            + +
                                                                                            +

                                                                                            Returns the current value for tabs. If the user is using soft tabs, this will be a series of spaces (defined by getTabSize()); otherwise it's simply '\t'.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getTextRange(Range range) +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Given a range within the document, this function returns all the text within that range as a single string.

                                                                                            + +
                                                                                            +

                                                                                            Given a range within the document, this function returns all the text within that range as a single string.

                                                                                            + +

                                                                                            Arguments

                                                                                            rangeRange

                                                                                            Required. The range to work with

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns an object indicating the token at the current row. The object has two properties: index and start.

                                                                                            + +
                                                                                            +

                                                                                            Returns an object indicating the token at the current row. The object has two properties: index and start.

                                                                                            + +

                                                                                            Arguments

                                                                                            rowNumber

                                                                                            Required. The row number to retrieve from

                                                                                            +
                                                                                            columnNumber

                                                                                            Required. The column number to retrieve from

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getTokens(Number row)
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows.

                                                                                            + +
                                                                                            +

                                                                                            Starts tokenizing at the row indicated. Returns a list of objects of the tokenized rows.

                                                                                            + +

                                                                                            Arguments

                                                                                            rowNumber

                                                                                            Required. The row to start at

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getUndoManager
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the current undo manager.

                                                                                            + +
                                                                                            +

                                                                                            Returns the current undo manager.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getUseSoftTabs +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns true if soft tabs are being used, false otherwise.

                                                                                            + +
                                                                                            +

                                                                                            Returns true if soft tabs are being used, false otherwise.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getUseWorker
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns true if workers are being used.

                                                                                            + +
                                                                                            +

                                                                                            Returns true if workers are being used.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getUseWrapMode +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns true if wrap mode is being used; false otherwise.

                                                                                            + +
                                                                                            +

                                                                                            Returns true if wrap mode is being used; false otherwise.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getValue
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the current Document as a string.

                                                                                            + +
                                                                                            +

                                                                                            Returns the current Document as a string.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Given a starting row and column, this method returns the Range of the first word boundary it finds.

                                                                                            + +
                                                                                            +

                                                                                            Given a starting row and column, this method returns the Range of the first word boundary it finds.

                                                                                            + +

                                                                                            Arguments

                                                                                            rowNumber

                                                                                            Required. The row to start at

                                                                                            +
                                                                                            columnNumber

                                                                                            Required. The column to start at

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getWrapLimit
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns the value of wrap limit.

                                                                                            + +
                                                                                            +

                                                                                            Returns the value of wrap limit.

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.getWrapLimitRange +
                                                                                              • + +
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:

                                                                                            + +
                                                                                            +

                                                                                            Returns an object that defines the minimum and maximum of the wrap limit; it looks something like this:

                                                                                            +

                                                                                            { min: wrapLimitRange_min, max: wrapLimitRange_max }

                                                                                            + +

                                                                                            Arguments

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.highlight
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              • Incomplete
                                                                                              • +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • +
                                                                                                +
                                                                                              • EditSession.highlightLines
                                                                                              • +
                                                                                              +
                                                                                                +
                                                                                              • Incomplete
                                                                                              • +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + +
                                                                                                +
                                                                                              +
                                                                                            • +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Indents all the rows, from startRow to endRow (inclusive), by prefixing each row with the token in indentString.

                                                                                            + +
                                                                                            +

                                                                                            Indents all the rows, from startRow to endRow (inclusive), by prefixing each row with the token in indentString.

                                                                                            If indentString contains the '\t' character, it's replaced by whatever is defined by getTabString().

                                                                                            -

                                                                                            Arguments

                                                                                            startRowNumber

                                                                                            Required. Starting row

                                                                                            -
                                                                                            endRowNumber

                                                                                            Required. Ending row

                                                                                            -
                                                                                            indentStringString

                                                                                            Required. The indent token

                                                                                            -

                                                                                            Inserts a block of text and the indicated position.

                                                                                            -

                                                                                            Inserts a block of text and the indicated position.

                                                                                            -

                                                                                            Arguments

                                                                                            positionNumber

                                                                                            Required. The position to start inserting at

                                                                                            -
                                                                                            textString

                                                                                            Required. A chunk of text to insert

                                                                                            -

                                                                                            Returns

                                                                                            Number

                                                                                            The position of the last line of text. If the length of text is 0, this function simply returns position.

                                                                                            -

                                                                                            Returns true if the character at the position is a soft tab.

                                                                                            -

                                                                                            Returns true if the character at the position is a soft tab.

                                                                                            -

                                                                                            Arguments

                                                                                            positionObject

                                                                                            Required. The position to check

                                                                                            -

                                                                                            Arguments

                                                                                            firstRowNumber

                                                                                            Required. The starting row to move down

                                                                                            -
                                                                                            lastRowNumber

                                                                                            Required. The final row to move down

                                                                                            -

                                                                                            Returns

                                                                                            Number

                                                                                            If firstRow is less-than or equal to 0, this function returns 0. Otherwise, on success, it returns -1.

                                                                                            -

                                                                                            Shifts all the lines in the document up one, starting from firstRow and ending at lastRow.

                                                                                            -

                                                                                            Shifts all the lines in the document up one, starting from firstRow and ending at lastRow.

                                                                                            -

                                                                                            Arguments

                                                                                            firstRowNumber

                                                                                            Required. The starting row to move up

                                                                                            -
                                                                                            lastRowNumber

                                                                                            Required. The final row to move up

                                                                                            -

                                                                                            Returns

                                                                                            Number

                                                                                            If firstRow is less-than or equal to 0, this function returns 0. Otherwise, on success, it returns -1.

                                                                                            -

                                                                                            { row: newRowLocation, column: newColumnLocation }

                                                                                            -

                                                                                            { row: newRowLocation, column: newColumnLocation }

                                                                                            -

                                                                                            Arguments

                                                                                            fromRangeRange

                                                                                            Required. The range of text you want moved within the document

                                                                                            -
                                                                                            toPositionObject

                                                                                            Required. The location (row and column) where you want to move the text to

                                                                                            -

                                                                                            Returns

                                                                                            Range

                                                                                            The new range where the text was moved to.

                                                                                            -
                                                                                              -
                                                                                            • Moves a range of text from the given range to the given position. toPosition is an object that looks like this:
                                                                                            • -
                                                                                            -
                                                                                              • EditSession.onReloadTokenizer(e)

                                                                                              Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.

                                                                                              -

                                                                                              Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.

                                                                                              -
                                                                                                • EditSession.outdentRows(Range range)

                                                                                                Outdents all the rows defined by the start and end properties of range.

                                                                                                -

                                                                                                Outdents all the rows defined by the start and end properties of range.

                                                                                                -

                                                                                                Arguments

                                                                                                rangeRange

                                                                                                Required. A range of rows

                                                                                                -

                                                                                                Re-implements a previously undone change to your document.

                                                                                                -

                                                                                                Re-implements a previously undone change to your document.

                                                                                                -

                                                                                                Arguments

                                                                                                deltasArray

                                                                                                Required. An array of previous changes

                                                                                                -
                                                                                                dontSelectBoolean

                                                                                                Required. If true, doesn't select the range of where the change occured

                                                                                                -

                                                                                                Removes the range from the document.

                                                                                                -

                                                                                                Removes the range from the document.

                                                                                                -

                                                                                                Arguments

                                                                                                rangeRange

                                                                                                Required. A specified Range to remove

                                                                                                -

                                                                                                Returns

                                                                                                Object

                                                                                                The new start property of the range, which contains startRow and startColumn. If range is empty, this function returns the unmodified value of range.start.

                                                                                                -
                                                                                                  • EditSession.removeGutterDecoration(Number row, String className)
                                                                                                    • Void

                                                                                                  Removes className from the row.

                                                                                                  -

                                                                                                  Removes className from the row.

                                                                                                  -

                                                                                                  Arguments

                                                                                                  rowNumber

                                                                                                  Required. The row number

                                                                                                  -
                                                                                                  classNameString

                                                                                                  Required. The class to add

                                                                                                  -
                                                                                                    • EditSession.removeMarker(Number markerId)

                                                                                                    Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.

                                                                                                    -

                                                                                                    Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.

                                                                                                    -

                                                                                                    Arguments

                                                                                                    markerIdNumber

                                                                                                    Required. A number representing a marker

                                                                                                    -

                                                                                                    Replaces a range in the document with the new text.

                                                                                                    -

                                                                                                    Replaces a range in the document with the new text.

                                                                                                    -

                                                                                                    Arguments

                                                                                                    rangeRange

                                                                                                    Required. A specified Range to replace

                                                                                                    -
                                                                                                    textString

                                                                                                    Required. The new text to use as a replacement

                                                                                                    -

                                                                                                    Returns

                                                                                                    Object

                                                                                                    Returns an object containing the final row and column, like this:

                                                                                                    -
                                                                                                      -
                                                                                                    • {row: endRow, column: 0}

                                                                                                      -
                                                                                                    • -
                                                                                                    • If the text and range are empty, this function returns an object containing the current range.start value.

                                                                                                      -
                                                                                                    • -
                                                                                                    • If the text is the exact same as what currently exists, this function returns an object containing the current range.end value.

                                                                                                      -
                                                                                                    • -
                                                                                                    -
                                                                                                      • EditSession.screenToDocumentColumn(screenRow, screenColumn)
                                                                                                      • Internal
                                                                                                      • Related to:

                                                                                                    Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                                                    -

                                                                                                    Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                                                    -

                                                                                                    Arguments

                                                                                                    screenRowNumber

                                                                                                    Required. The screen row to check

                                                                                                    -
                                                                                                    screenColumnNumber

                                                                                                    Required. The screen column to check

                                                                                                    -

                                                                                                    Returns

                                                                                                    Object

                                                                                                    The object returned has two properties: row and column.

                                                                                                    -
                                                                                                      • EditSession.screenToDocumentRow(screenRow, screenColumn)
                                                                                                      • Internal
                                                                                                      • EditSession.setAnnotations(Array annotations)

                                                                                                      Sets annotations for the EditSession. This functions emits the 'changeAnnotation' event.

                                                                                                      -

                                                                                                      Sets annotations for the EditSession. This functions emits the 'changeAnnotation' event.

                                                                                                      -

                                                                                                      Arguments

                                                                                                      annotationsArray

                                                                                                      Required. A list of annotations

                                                                                                      -

                                                                                                      Sets a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                      -

                                                                                                      Sets a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                      -

                                                                                                      Arguments

                                                                                                      rowNumber

                                                                                                      Required. A row index

                                                                                                      -
                                                                                                      classNameString

                                                                                                      Required. Class of the breakpoint

                                                                                                      -
                                                                                                        • EditSession.setBreakpoints(Array rows)

                                                                                                        Sets a breakpoint on every row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                        -

                                                                                                        Sets a breakpoint on every row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                        -

                                                                                                        Arguments

                                                                                                        rowsArray

                                                                                                        Required. An array of row indicies

                                                                                                        -

                                                                                                        Sets the EditSession to point to a new Document. If a BackgroundTokenizer exists, it also points to doc.

                                                                                                        -

                                                                                                        Sets the EditSession to point to a new Document. If a BackgroundTokenizer exists, it also points to doc.

                                                                                                        -

                                                                                                        Arguments

                                                                                                        docDocument

                                                                                                        Required. The new Document to use

                                                                                                        -

                                                                                                        Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.

                                                                                                        -

                                                                                                        Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a BackgroundTokenizer is set, the 'tokenizerUpdate' event is also emitted.

                                                                                                        -

                                                                                                        Arguments

                                                                                                        modeTextMode

                                                                                                        Required. Set a new text mode

                                                                                                        -
                                                                                                          • EditSession.setNewLineMode(String newLineMode)
                                                                                                          • Related to:

                                                                                                        Sets the new line mode.

                                                                                                        -

                                                                                                        Sets the new line mode.

                                                                                                        -

                                                                                                        Arguments

                                                                                                        newLineModeString

                                                                                                        Required. The newline mode to use; can be either windows, unix, or auto

                                                                                                        -
                                                                                                          • EditSession.setOverwrite(Boolean overwrite)

                                                                                                          Pass in true to enable overwrites in your session, or false to disable.

                                                                                                          -

                                                                                                          Pass in true to enable overwrites in your session, or false to disable.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          startRowNumber

                                                                                                          Required. Starting row

                                                                                                          +
                                                                                                          endRowNumber

                                                                                                          Required. Ending row

                                                                                                          +
                                                                                                          indentStringString

                                                                                                          Required. The indent token

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          +

                                                                                                          Inserts a block of text and the indicated position.

                                                                                                          + +
                                                                                                          +

                                                                                                          Inserts a block of text and the indicated position.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          positionNumber

                                                                                                          Required. The position to start inserting at

                                                                                                          +
                                                                                                          textString

                                                                                                          Required. A chunk of text to insert

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.isFullWidth
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.isTabStop(Object position)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Returns true if the character at the position is a soft tab.

                                                                                                          + +
                                                                                                          +

                                                                                                          Returns true if the character at the position is a soft tab.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          positionObject

                                                                                                          Required. The position to check

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • + +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Shifts all the lines in the document down one, starting from firstRow and ending at lastRow.

                                                                                                          + +
                                                                                                          +

                                                                                                          Shifts all the lines in the document down one, starting from firstRow and ending at lastRow.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          firstRowNumber

                                                                                                          Required. The starting row to move down

                                                                                                          +
                                                                                                          lastRowNumber

                                                                                                          Required. The final row to move down

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • + +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Shifts all the lines in the document up one, starting from firstRow and ending at lastRow.

                                                                                                          + +
                                                                                                          +

                                                                                                          Shifts all the lines in the document up one, starting from firstRow and ending at lastRow.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          firstRowNumber

                                                                                                          Required. The starting row to move up

                                                                                                          +
                                                                                                          lastRowNumber

                                                                                                          Required. The final row to move up

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • + +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Moves a range of text from the given range to the given position. toPosition is an object that looks like this:

                                                                                                          +
                                                                                                             { row: newRowLocation, column: newColumnLocation }
                                                                                                          + +
                                                                                                          +

                                                                                                          Moves a range of text from the given range to the given position. toPosition is an object that looks like this:

                                                                                                          +
                                                                                                             { row: newRowLocation, column: newColumnLocation }
                                                                                                          + +

                                                                                                          Arguments

                                                                                                          fromRangeRange

                                                                                                          Required. The range of text you want moved within the document

                                                                                                          +
                                                                                                          toPositionObject

                                                                                                          Required. The location (row and column) where you want to move the text to

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.onChange
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.onChangeFold
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.onReloadTokenizer(Object e)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.

                                                                                                          + +
                                                                                                          +

                                                                                                          Reloads all the tokens on the current session. This function calls BackgroundTokenizer.start () to all the rows; it also emits the 'tokenizerUpdate' event.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          eObject

                                                                                                          Required.

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.outdentRows(Range range)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Outdents all the rows defined by the start and end properties of range.

                                                                                                          + +
                                                                                                          +

                                                                                                          Outdents all the rows defined by the start and end properties of range.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          rangeRange

                                                                                                          Required. A range of rows

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.redo
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • + +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Re-implements a previously undone change to your document.

                                                                                                          + +
                                                                                                          +

                                                                                                          Re-implements a previously undone change to your document.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          deltasArray

                                                                                                          Required. An array of previous changes

                                                                                                          +
                                                                                                          dontSelectBoolean

                                                                                                          Required. If true, doesn't select the range of where the change occured

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • + +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Removes the range from the document.

                                                                                                          + +
                                                                                                          +

                                                                                                          Removes the range from the document.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          rangeRange

                                                                                                          Required. A specified Range to remove

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.removeGutterDecoration(Number row, String className)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Removes className from the row.

                                                                                                          + +
                                                                                                          +

                                                                                                          Removes className from the row.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          rowNumber

                                                                                                          Required. The row number

                                                                                                          +
                                                                                                          classNameString

                                                                                                          Required. The class to add

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.removeMarker(Number markerId)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.

                                                                                                          + +
                                                                                                          +

                                                                                                          Removes the marker with the specified ID. If this marker was in front, the 'changeFrontMarker' event is emitted. If the marker was in the back, the 'changeBackMarker' event is emitted.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          markerIdNumber

                                                                                                          Required. A number representing a marker

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          +

                                                                                                          Replaces a range in the document with the new text.

                                                                                                          + +
                                                                                                          +

                                                                                                          Replaces a range in the document with the new text.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          rangeRange

                                                                                                          Required. A specified Range to replace

                                                                                                          +
                                                                                                          textString

                                                                                                          Required. The new text to use as a replacement

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.reset
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.resetCaches
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.screenToDocumentColumn
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.screenToDocumentPosition(Number screenRow, Number screenColumn) +
                                                                                                            • + +
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                                                          + +
                                                                                                          +

                                                                                                          Converts characters coordinates on the screen to characters coordinates within the document. This takes into account code folding, word wrap, tab size, and any other visual modifications.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          screenRowNumber

                                                                                                          Required. The screen row to check

                                                                                                          +
                                                                                                          screenColumnNumber

                                                                                                          Required. The screen column to check

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.screenToDocumentRow
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.setAnnotations(Array annotations)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Sets annotations for the EditSession. This functions emits the 'changeAnnotation' event.

                                                                                                          + +
                                                                                                          +

                                                                                                          Sets annotations for the EditSession. This functions emits the 'changeAnnotation' event.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          annotationsArray

                                                                                                          Required. A list of annotations

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.setBreakpoint(Number row, String className)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Sets a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                          + +
                                                                                                          +

                                                                                                          Sets a breakpoint on the row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          rowNumber

                                                                                                          Required. A row index

                                                                                                          +
                                                                                                          classNameString

                                                                                                          Required. Class of the breakpoint

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.setBreakpoints(Number rows)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Sets a breakpoint on every row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                          + +
                                                                                                          +

                                                                                                          Sets a breakpoint on every row number given by rows. This function also emites the 'changeBreakpoint' event.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          rowsNumber

                                                                                                          Required. An array of row indicies

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.setDocument(Document doc)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Sets the EditSession to point to a new Document. If a BackgroundTokenizer exists, it also points to doc.

                                                                                                          + +
                                                                                                          +

                                                                                                          Sets the EditSession to point to a new Document. If a BackgroundTokenizer exists, it also points to doc.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          docDocument

                                                                                                          Required. The new Document to use

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.setMode
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            • Incomplete
                                                                                                            • +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.setNewLineMode(String newLineMode)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Sets the new line mode.

                                                                                                          + +
                                                                                                          +

                                                                                                          Sets the new line mode.

                                                                                                          + +

                                                                                                          Arguments

                                                                                                          newLineModeString

                                                                                                          Required. The newline mode to use; can be either windows, unix, or auto

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • +
                                                                                                              +
                                                                                                            • EditSession.setOverwrite(Boolean overwrite)
                                                                                                            • +
                                                                                                            +
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Pass in true to enable overwrites in your session, or false to disable.

                                                                                                          + +
                                                                                                          +

                                                                                                          Pass in true to enable overwrites in your session, or false to disable.

                                                                                                          If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.

                                                                                                          -

                                                                                                          Arguments

                                                                                                          overwriteBoolean

                                                                                                          Required. Defines wheter or not to set overwrites

                                                                                                          -
                                                                                                            • EditSession.setScrollLeft(scrollLeft)

                                                                                                            Sets the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                            -

                                                                                                            Sets the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                            -
                                                                                                              • EditSession.setScrollTop(Number scrollTop)

                                                                                                              This function sets the scroll top value. It also emits the 'changeScrollTop' event.

                                                                                                              -

                                                                                                              This function sets the scroll top value. It also emits the 'changeScrollTop' event.

                                                                                                              -

                                                                                                              Arguments

                                                                                                              scrollTopNumber

                                                                                                              Required. The new scroll top value

                                                                                                              -
                                                                                                                • EditSession.setTabSize(Number tabSize)

                                                                                                                Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.

                                                                                                                -

                                                                                                                Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.

                                                                                                                -

                                                                                                                Arguments

                                                                                                                tabSizeNumber

                                                                                                                Required. The new tab size

                                                                                                                -

                                                                                                                Sets the undo manager.

                                                                                                                -

                                                                                                                Sets the undo manager.

                                                                                                                -

                                                                                                                Arguments

                                                                                                                undoManagerUndoManager

                                                                                                                Required. The new undo manager

                                                                                                                -
                                                                                                                  • EditSession.setUndoSelect(Boolean enable)

                                                                                                                  ENables or disables highlighting of the range where an undo occured.

                                                                                                                  -

                                                                                                                  ENables or disables highlighting of the range where an undo occured.

                                                                                                                  -

                                                                                                                  Arguments

                                                                                                                  enableBoolean

                                                                                                                  Required. If true, selects the range of the reinserted change

                                                                                                                  -
                                                                                                                    • EditSession.setUseSoftTabs(Boolean useSoftTabs)

                                                                                                                    Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character ('\t').

                                                                                                                    -

                                                                                                                    Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character ('\t').

                                                                                                                    -

                                                                                                                    Arguments

                                                                                                                    useSoftTabsBoolean

                                                                                                                    Required. Value indicating whether or not to use soft tabs

                                                                                                                    -
                                                                                                                      • EditSession.setUseWorker(Boolean useWorker)

                                                                                                                      Identifies if you want to use a worker for the EditSession.

                                                                                                                      -

                                                                                                                      Identifies if you want to use a worker for the EditSession.

                                                                                                                      -

                                                                                                                      Arguments

                                                                                                                      useWorkerBoolean

                                                                                                                      Required. Set to true to use a worker

                                                                                                                      -
                                                                                                                        • EditSession.setUseWrapMode(Boolean useWrapMode)

                                                                                                                        Sets whether or not line wrapping is enabled. If useWrapMode is different than the current value, the 'changeWrapMode' event is emitted.

                                                                                                                        -

                                                                                                                        Sets whether or not line wrapping is enabled. If useWrapMode is different than the current value, the 'changeWrapMode' event is emitted.

                                                                                                                        -

                                                                                                                        Arguments

                                                                                                                        useWrapModeBoolean

                                                                                                                        Required. Enable (or disable) wrap mode

                                                                                                                        -
                                                                                                                          • EditSession.setValue(String text)

                                                                                                                          Sets the session text.

                                                                                                                          -

                                                                                                                          Sets the session text.

                                                                                                                          -

                                                                                                                          Arguments

                                                                                                                          textString

                                                                                                                          Required. The new text to place

                                                                                                                          -

                                                                                                                          Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.

                                                                                                                          -

                                                                                                                          Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.

                                                                                                                          -

                                                                                                                          Arguments

                                                                                                                          minNumber

                                                                                                                          Required. The minimum wrap value (the left side wrap)

                                                                                                                          -
                                                                                                                          maxNumber

                                                                                                                          Required. The maximum wrap value (the right side wrap)

                                                                                                                          -
                                                                                                                            • EditSession.stopWorker()
                                                                                                                            • Internal
                                                                                                                            • EditSession.toggleOverwrite()

                                                                                                                            Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                            -

                                                                                                                            Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                            -

                                                                                                                            Reverts previous changes to your document.

                                                                                                                            -

                                                                                                                            Reverts previous changes to your document.

                                                                                                                            -

                                                                                                                            Arguments

                                                                                                                            deltasArray

                                                                                                                            Required. An array of previous changes

                                                                                                                            -
                                                                                                                            dontSelectBoolean

                                                                                                                            Required. If true, doesn't select the range of where the change occured

                                                                                                                            -
                                                                                                                            \ No newline at end of file + +

                                                                                                                            Arguments

                                                                                                                            overwriteBoolean

                                                                                                                            Required. Defines wheter or not to set overwrites

                                                                                                                            +
                                                                                                                            + + + + + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setScrollLeft(Object scrollLeft)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Sets the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Sets the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            scrollLeftObject

                                                                                                                            Required.

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setScrollTop(Number scrollTop)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            This function sets the scroll top value. It also emits the 'changeScrollTop' event.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            This function sets the scroll top value. It also emits the 'changeScrollTop' event.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            scrollTopNumber

                                                                                                                            Required. The new scroll top value

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setTabSize(Number tabSize)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Set the number of spaces that define a soft tab; for example, passing in 4 transforms the soft tabs to be equivalent to four spaces. This function also emits the changeTabSize event.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            tabSizeNumber

                                                                                                                            Required. The new tab size

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setUndoManager(UndoManager undoManager)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Sets the undo manager.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Sets the undo manager.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            undoManagerUndoManager

                                                                                                                            Required. The new undo manager

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setUndoSelect(Boolean enable)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Enables or disables highlighting of the range where an undo occured.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Enables or disables highlighting of the range where an undo occured.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            enableBoolean

                                                                                                                            Required. If true, selects the range of the reinserted change

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setUseSoftTabs(Boolean useSoftTabs)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character ('\t').

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character ('\t').

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            useSoftTabsBoolean

                                                                                                                            Required. Value indicating whether or not to use soft tabs

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setUseWorker(Boolean useWorker)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Identifies if you want to use a worker for the EditSession.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Identifies if you want to use a worker for the EditSession.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            useWorkerBoolean

                                                                                                                            Required. Set to true to use a worker

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setUseWrapMode(Boolean useWrapMode)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Sets whether or not line wrapping is enabled. If useWrapMode is different than the current value, the 'changeWrapMode' event is emitted.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Sets whether or not line wrapping is enabled. If useWrapMode is different than the current value, the 'changeWrapMode' event is emitted.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            useWrapModeBoolean

                                                                                                                            Required. Enable (or disable) wrap mode

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.setValue(String text)
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Sets the session text.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Sets the session text.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            textString

                                                                                                                            Required. The new text to place

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • + +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Sets the boundaries of wrap. Either value can be null to have an unconstrained wrap, or, they can be the same number to pin the limit. If the wrap limits for min or max are different, this method also emits the 'changeWrapMode' event.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            minNumber

                                                                                                                            Required. The minimum wrap value (the left side wrap)

                                                                                                                            +
                                                                                                                            maxNumber

                                                                                                                            Required. The maximum wrap value (the right side wrap)

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.toggleOverwrite
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.toString
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Returns the current Document as a string.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Returns the current Document as a string.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                                +
                                                                                                                              • EditSession.undo
                                                                                                                              • +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              • Incomplete
                                                                                                                              • +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • + +
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Reverts previous changes to your document.

                                                                                                                            + +
                                                                                                                            +

                                                                                                                            Reverts previous changes to your document.

                                                                                                                            + +

                                                                                                                            Arguments

                                                                                                                            deltasArray

                                                                                                                            Required. An array of previous changes

                                                                                                                            +
                                                                                                                            dontSelectBoolean

                                                                                                                            Required. If true, doesn't select the range of where the change occured

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            + + + + + + +
                                                                                                                            + \ No newline at end of file diff --git a/api/editor.html b/api/editor.html index f2493025..5261612d 100644 --- a/api/editor.html +++ b/api/editor.html @@ -1,343 +1,4449 @@ -

                                                                                                                            Editor [edit]

                                                                                                                            The main entry point into the Ace functionality. The Editor manages the EditSession (which manages Documents), as well as the VirtualRenderer, which draws everything to the screen. Event sessions dealing with the mouse and keyboard are bubbled up from Document to the Editor, which decides what to do with them.

                                                                                                                            -

                                                                                                                            Constructors

                                                                                                                            Creates a new Editor object.

                                                                                                                            -

                                                                                                                            Creates a new Editor object.

                                                                                                                            -

                                                                                                                            Arguments

                                                                                                                            rendererVirtualRenderer

                                                                                                                            Required. Associated VirtualRenderer that draws everything

                                                                                                                            -
                                                                                                                            sessionEditSession

                                                                                                                            Required. The EditSession to refer to

                                                                                                                            -

                                                                                                                            Events

                                                                                                                              • Editor.on("blur", function())

                                                                                                                              Emitted once the editor has been blurred.

                                                                                                                              -

                                                                                                                              Emitted once the editor has been blurred.

                                                                                                                              -
                                                                                                                                • Editor.on("change", function(Object e))

                                                                                                                                Emitted whenever the document is changed.

                                                                                                                                -

                                                                                                                                Emitted whenever the document is changed.

                                                                                                                                -

                                                                                                                                Arguments

                                                                                                                                eObject

                                                                                                                                Required. Contains a single property, data, which has the delta of changes

                                                                                                                                -
                                                                                                                                  • Editor.on("changeSelection", function())

                                                                                                                                  Emitted when the selection changes.

                                                                                                                                  -

                                                                                                                                  Emitted when the selection changes.

                                                                                                                                  -
                                                                                                                                    • Editor.on("changeSession", function(Object e))

                                                                                                                                    Emitted whenever the EditSession changes.

                                                                                                                                    -

                                                                                                                                    Emitted whenever the EditSession changes.

                                                                                                                                    -

                                                                                                                                    Arguments

                                                                                                                                    eObject

                                                                                                                                    Required. An object with two properties, oldSession and session, that represent the old and new EditSessions.

                                                                                                                                    -
                                                                                                                                      • Editor.on("copy", function(String text))

                                                                                                                                      Emitted when text is copied.

                                                                                                                                      -

                                                                                                                                      Emitted when text is copied.

                                                                                                                                      -

                                                                                                                                      Arguments

                                                                                                                                      textString

                                                                                                                                      Required. The copied text

                                                                                                                                      -
                                                                                                                                        • Editor.on("focus", function())

                                                                                                                                        Emitted once the editor comes into focus.

                                                                                                                                        -

                                                                                                                                        Emitted once the editor comes into focus.

                                                                                                                                        -
                                                                                                                                          • Editor.on("paste", function(String text))

                                                                                                                                          Emitted when text is pasted.

                                                                                                                                          -

                                                                                                                                          Emitted when text is pasted.

                                                                                                                                          -

                                                                                                                                          Arguments

                                                                                                                                          textString

                                                                                                                                          Required. The pasted text

                                                                                                                                          -

                                                                                                                                          Methods

                                                                                                                                            • Editor.$getSelectedRows()

                                                                                                                                            Returns an object indicating the currently selected rows. The object looks like this:

                                                                                                                                            -

                                                                                                                                            Returns an object indicating the currently selected rows. The object looks like this:

                                                                                                                                            -

                                                                                                                                            { first: range.start.row, last: range.end.row }

                                                                                                                                            -
                                                                                                                                              • Editor.$getVisibleRowCount()

                                                                                                                                              Returns the number of currently visibile rows.

                                                                                                                                              -

                                                                                                                                              Returns the number of currently visibile rows.

                                                                                                                                              -
                                                                                                                                                • Editor.$highlightBrackets()
                                                                                                                                                • Internal

                                                                                                                                              Executes a specific function, which can be anything that manipulates selected lines, such as copying them, duplicating them, or shifting them.

                                                                                                                                              -

                                                                                                                                              Executes a specific function, which can be anything that manipulates selected lines, such as copying them, duplicating them, or shifting them.

                                                                                                                                              -

                                                                                                                                              Arguments

                                                                                                                                              moverFunction

                                                                                                                                              Required. A method to call on each selected row

                                                                                                                                              -
                                                                                                                                                • Editor.$updateHighlightActiveLine()
                                                                                                                                                • Internal
                                                                                                                                                • Editor.addSelectionMarker(Range orientedRange)

                                                                                                                                                Adds the selection and cursor.

                                                                                                                                                -

                                                                                                                                                Adds the selection and cursor.

                                                                                                                                                -

                                                                                                                                                Arguments

                                                                                                                                                orientedRangeRange

                                                                                                                                                Required. A range containing a cursor

                                                                                                                                                -
                                                                                                                                                  • Editor.alignCursors()

                                                                                                                                                  aligns cursors or selected text

                                                                                                                                                  -

                                                                                                                                                  aligns cursors or selected text

                                                                                                                                                  -
                                                                                                                                                    • Editor.blockOutdent()
                                                                                                                                                    • Related to:

                                                                                                                                                  Outdents the current line.

                                                                                                                                                  -

                                                                                                                                                  Outdents the current line.

                                                                                                                                                  -
                                                                                                                                                    • Editor.blur()

                                                                                                                                                    Blurs the current textInput.

                                                                                                                                                    -

                                                                                                                                                    Blurs the current textInput.

                                                                                                                                                    -
                                                                                                                                                      • Editor.centerSelection()

                                                                                                                                                      Attempts to center the current selection on the screen.

                                                                                                                                                      -

                                                                                                                                                      Attempts to center the current selection on the screen.

                                                                                                                                                      -
                                                                                                                                                        • Editor.clearSelection()
                                                                                                                                                        • Related to:

                                                                                                                                                      Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                      -

                                                                                                                                                      Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                      -
                                                                                                                                                        • Related to:

                                                                                                                                                      Copies all the selected lines down one row.

                                                                                                                                                      -

                                                                                                                                                      Copies all the selected lines down one row.

                                                                                                                                                      -

                                                                                                                                                      Returns

                                                                                                                                                      Number

                                                                                                                                                      On success, returns the number of new rows added; in other words, lastRow - firstRow + 1.

                                                                                                                                                      -
                                                                                                                                                        • Related to:

                                                                                                                                                      Copies all the selected lines up one row.

                                                                                                                                                      -

                                                                                                                                                      Copies all the selected lines up one row.

                                                                                                                                                      -

                                                                                                                                                      Returns

                                                                                                                                                      Number

                                                                                                                                                      On success, returns 0.

                                                                                                                                                      -
                                                                                                                                                        • Editor.destroy()

                                                                                                                                                        Cleans up the entire editor.

                                                                                                                                                        -

                                                                                                                                                        Cleans up the entire editor.

                                                                                                                                                        -
                                                                                                                                                          • Editor.exitMultiSelectMode()
                                                                                                                                                            • Void

                                                                                                                                                          Removes all the selections except the last added one.

                                                                                                                                                          -

                                                                                                                                                          Removes all the selections except the last added one.

                                                                                                                                                          -

                                                                                                                                                          Attempts to find needle within the document. For more information on options, see Search.

                                                                                                                                                          -

                                                                                                                                                          Attempts to find needle within the document. For more information on options, see Search.

                                                                                                                                                          -

                                                                                                                                                          Arguments

                                                                                                                                                          needleString

                                                                                                                                                          Required. The text to search for (optional)

                                                                                                                                                          -
                                                                                                                                                          optionsObject

                                                                                                                                                          Required. An object defining various search properties

                                                                                                                                                          -
                                                                                                                                                          animateBoolean

                                                                                                                                                          Required. If true animate scrolling

                                                                                                                                                          -

                                                                                                                                                          Finds and selects all the occurences of needle.

                                                                                                                                                          -

                                                                                                                                                          Finds and selects all the occurences of needle.

                                                                                                                                                          -

                                                                                                                                                          Arguments

                                                                                                                                                          needleString

                                                                                                                                                          Required. The text to find

                                                                                                                                                          -
                                                                                                                                                          optionsObject

                                                                                                                                                          Required. The search options

                                                                                                                                                          -
                                                                                                                                                          additiveBoolean

                                                                                                                                                          Required. keeps

                                                                                                                                                          -

                                                                                                                                                          Performs another search for needle in the document. For more information on options, see Search.

                                                                                                                                                          -

                                                                                                                                                          Performs another search for needle in the document. For more information on options, see Search.

                                                                                                                                                          -

                                                                                                                                                          Arguments

                                                                                                                                                          optionsObject

                                                                                                                                                          Required. search options

                                                                                                                                                          -
                                                                                                                                                          animateBoolean

                                                                                                                                                          Required. If true animate scrolling

                                                                                                                                                          -

                                                                                                                                                          Performs a search for needle backwards. For more information on options, see Search.

                                                                                                                                                          -

                                                                                                                                                          Performs a search for needle backwards. For more information on options, see Search.

                                                                                                                                                          -

                                                                                                                                                          Arguments

                                                                                                                                                          optionsObject

                                                                                                                                                          Required. search options

                                                                                                                                                          -
                                                                                                                                                          animateBoolean

                                                                                                                                                          Required. If true animate scrolling

                                                                                                                                                          -
                                                                                                                                                            • Editor.focus()

                                                                                                                                                            Brings the current textInput into focus.

                                                                                                                                                            -

                                                                                                                                                            Brings the current textInput into focus.

                                                                                                                                                            -

                                                                                                                                                            Executes a command for each selection range.

                                                                                                                                                            -

                                                                                                                                                            Executes a command for each selection range.

                                                                                                                                                            -

                                                                                                                                                            Arguments

                                                                                                                                                            cmdString

                                                                                                                                                            Required. The command to execute

                                                                                                                                                            -
                                                                                                                                                            argsString

                                                                                                                                                            Required. Any arguments for the command

                                                                                                                                                            -
                                                                                                                                                              • Editor.getBehavioursEnabled()

                                                                                                                                                              Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                              -

                                                                                                                                                              Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                              -

                                                                                                                                                              Returns the string of text currently highlighted.

                                                                                                                                                              -

                                                                                                                                                              Returns the string of text currently highlighted.

                                                                                                                                                              -
                                                                                                                                                                • Editor.getCursorPosition()
                                                                                                                                                                • Related to:

                                                                                                                                                              Gets the current position of the cursor.

                                                                                                                                                              -

                                                                                                                                                              Gets the current position of the cursor.

                                                                                                                                                              -

                                                                                                                                                              Returns

                                                                                                                                                              Object

                                                                                                                                                              This returns an object that looks something like this:

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Editor [edit] +

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              The main entry point into the Ace functionality.

                                                                                                                                                              +

                                                                                                                                                              The Editor manages the EditSession (which manages Documents), as well as the VirtualRenderer, which draws everything to the screen.

                                                                                                                                                              +

                                                                                                                                                              Event sessions dealing with the mouse and keyboard are bubbled up from Document to the Editor, which decides what to do with them.

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Constructors

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Creates a new Editor object.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Creates a new Editor object.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              rendererVirtualRenderer

                                                                                                                                                              Required. Associated VirtualRenderer that draws everything

                                                                                                                                                              +
                                                                                                                                                              sessionEditSession

                                                                                                                                                              Required. The EditSession to refer to

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Events

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.on("blur", function())
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted once the editor has been blurred.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted once the editor has been blurred.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.on("change", function(Object e))
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted whenever the document is changed.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted whenever the document is changed.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              eObject

                                                                                                                                                              Required. Contains a single property, data, which has the delta of changes

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.on("changeSelectionStyle", function(Object data))
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted when the selection style changes, via Editor.setSelectionStyle().

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted when the selection style changes, via Editor.setSelectionStyle().

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              dataObject

                                                                                                                                                              Required. Contains one property, data, which indicates the new selection style

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.on("changeSession", function(Object e))
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted whenever the EditSession changes.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted whenever the EditSession changes.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              eObject

                                                                                                                                                              Required. An object with two properties, oldSession and session, that represent the old and new EditSessions.

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.on("copy", function(String text))
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted when text is copied.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted when text is copied.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              textString

                                                                                                                                                              Required. The copied text

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.on("focus", function())
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted once the editor comes into focus.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted once the editor comes into focus.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.on("paste", function(String text))
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted when text is pasted.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted when text is pasted.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              textString

                                                                                                                                                              Required. The pasted text

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Methods

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.blockOutdent
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Outdents the current line.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Outdents the current line.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.blur
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Blurs the current textInput.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Blurs the current textInput.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.centerSelection
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Attempts to center the current selection on the screen.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Attempts to center the current selection on the screen.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.clearSelection
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.copyLinesDown +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Copies all the selected lines down one row.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Copies all the selected lines down one row.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.copyLinesUp +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Copies all the selected lines up one row.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Copies all the selected lines up one row.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.destroy
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Cleans up the entire editor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Cleans up the entire editor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.duplicateSelection
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.execCommand
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Attempts to find needle within the document. For more information on options, see Search.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Attempts to find needle within the document. For more information on options, see Search.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              needleString

                                                                                                                                                              Required. The text to search for (optional)

                                                                                                                                                              +
                                                                                                                                                              optionsObject

                                                                                                                                                              Required. An object defining various search properties

                                                                                                                                                              +
                                                                                                                                                              animateBoolean

                                                                                                                                                              Required. If true animate scrolling

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Performs another search for needle in the document. For more information on options, see Search.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Performs another search for needle in the document. For more information on options, see Search.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              optionsObject

                                                                                                                                                              Required. search options

                                                                                                                                                              +
                                                                                                                                                              animateBoolean

                                                                                                                                                              Required. If true animate scrolling

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Performs a search for needle backwards. For more information on options, see Search.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Performs a search for needle backwards. For more information on options, see Search.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              optionsObject

                                                                                                                                                              Required. search options

                                                                                                                                                              +
                                                                                                                                                              animateBoolean

                                                                                                                                                              Required. If true animate scrolling

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.focus
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Brings the current textInput into focus.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Brings the current textInput into focus.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getAnimatedScroll
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getBehavioursEnabled +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the behaviors are currently enabled. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getCopyText +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the string of text currently highlighted.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the string of text currently highlighted.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getCursorPosition +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Gets the current position of the cursor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Gets the current position of the cursor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getCursorPositionScreen +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the screen position of the cursor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the screen position of the cursor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getDisplayIndentGuides
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getDragDelay +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the current mouse drag delay.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the current mouse drag delay.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getFadeFoldWidgets
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getFirstVisibleRow +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the index of the first visible row.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the index of the first visible row.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getHighlightActiveLine
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if current lines are always highlighted.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if current lines are always highlighted.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getHighlightGutterLine
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getHighlightSelectedWord +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if currently highlighted words are to be highlighted.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if currently highlighted words are to be highlighted.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getKeyboardHandler +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the keyboard handler, such as "vim" or "windows".

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the keyboard handler, such as "vim" or "windows".

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getLastSearchOptions +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns an object containing all the search options. For more information on options, see Search.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns an object containing all the search options. For more information on options, see Search.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getLastVisibleRow +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the index of the last visible row.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the index of the last visible row.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getOverwrite +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if overwrites are enabled; false otherwise.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if overwrites are enabled; false otherwise.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getPrintMarginColumn +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the column number of where the print margin is.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the column number of where the print margin is.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getReadOnly +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the editor is set to read-only mode.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the editor is set to read-only mode.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getScrollSpeed +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the value indicating how fast the mouse scroll speed is.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the value indicating how fast the mouse scroll speed is.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getSelection +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the currently highlighted selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the currently highlighted selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getSelectionRange +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the Range for the selected text.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the Range for the selected text.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getSelectionStyle +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the current selection style.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the current selection style.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the current session being used.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the current session being used.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getShowFoldWidgets
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the fold widgets are shown.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the fold widgets are shown.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getShowInvisibles +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if invisible characters are being shown.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if invisible characters are being shown.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getShowPrintMargin +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the print margin is being shown.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the print margin is being shown.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getTheme +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the path of the current theme.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the path of the current theme.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getValue +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns the current session's content.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns the current session's content.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.getWrapBehavioursEnabled
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Editor.getWrapBehavioursEnabled() -> Boolean

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Editor.getWrapBehavioursEnabled() -> Boolean

                                                                                                                                                              +

                                                                                                                                                              Returns true if the wrapping behaviors are currently enabled.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the specified line number, and also into the indiciated column.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the specified line number, and also into the indiciated column.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              lineNumberNumber

                                                                                                                                                              Required. The line number to go to

                                                                                                                                                              +
                                                                                                                                                              columnNumber

                                                                                                                                                              Required. A column number to go to

                                                                                                                                                              +
                                                                                                                                                              animateBoolean

                                                                                                                                                              Required. If true animates scolling

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.gotoPageDown
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Shifts the document to wherever "page down" is, as well as moving the cursor position.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Shifts the document to wherever "page down" is, as well as moving the cursor position.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.gotoPageUp
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Shifts the document to wherever "page up" is, as well as moving the cursor position.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Shifts the document to wherever "page up" is, as well as moving the cursor position.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.indent
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Indents the current line.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Indents the current line.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.insert(String text)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Inserts text into wherever the cursor is pointing.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Inserts text into wherever the cursor is pointing.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              textString

                                                                                                                                                              Required. The new text to add

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.isFocused
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the current textInput is in focus.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Returns true if the current textInput is in focus.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Indicates if the entire row is currently visible on the screen.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Indicates if the entire row is currently visible on the screen.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              rowNumber

                                                                                                                                                              Required. The row to check

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Indicates if the row is currently visible on the screen.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Indicates if the row is currently visible on the screen.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              rowNumber

                                                                                                                                                              Required. The row to check

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.jumpToMatching(Object select)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor's row and column to the next matching bracket.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor's row and column to the next matching bracket.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              selectObject

                                                                                                                                                              Required.

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.modifyNumber(Number amount)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Editor.modifyNumber(amount)

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Editor.modifyNumber(amount)

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              amountNumber

                                                                                                                                                              Required. The value to change the numeral by (can be negative to decrease value)

                                                                                                                                                              +

                                                                                                                                                              If the character before the cursor is a number, this functions changes its value by amount.

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the specified row and column. Note that this does not de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the specified row and column. Note that this does not de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              rowNumber

                                                                                                                                                              Required. The new row number

                                                                                                                                                              +
                                                                                                                                                              columnNumber

                                                                                                                                                              Required. The new column number

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.moveCursorToPosition(Object pos)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the position indicated by pos.row and pos.column.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the position indicated by pos.row and pos.column.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              posObject

                                                                                                                                                              Required. An object with two properties, row and column

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.moveLinesDown +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Shifts all the selected lines down one row.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Shifts all the selected lines down one row.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.moveLinesUp +
                                                                                                                                                                • + +
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Shifts all the selected lines up one row.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Shifts all the selected lines up one row.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.moveText
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateDown(Number times)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor down in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor down in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              timesNumber

                                                                                                                                                              Required. The number of times to change navigation

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateFileEnd
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the end of the current file. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the end of the current file. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateFileStart
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the start of the current file. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the start of the current file. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateLeft(Number times)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor left in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor left in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              timesNumber

                                                                                                                                                              Required. The number of times to change navigation

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateLineEnd
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the end of the current line. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the end of the current line. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateLineStart
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the start of the current line. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the start of the current line. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateRight(Number times)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor right in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor right in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              timesNumber

                                                                                                                                                              Required. The number of times to change navigation

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the specified row and column. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the specified row and column. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              rowNumber

                                                                                                                                                              Required. The new row number

                                                                                                                                                              +
                                                                                                                                                              columnNumber

                                                                                                                                                              Required. The new column number

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateUp(Number times)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor up in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor up in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              timesNumber

                                                                                                                                                              Required. The number of times to change navigation

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateWordLeft
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the word immediately to the left of the current position. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the word immediately to the left of the current position. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.navigateWordRight
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the word immediately to the right of the current position. Note that this does de-select the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the cursor to the word immediately to the right of the current position. Note that this does de-select the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onBlur
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeAnnotation
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeBackMarker
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeBreakpoint
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeFold
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeFrontMarker
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeMode
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeWrapLimit
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onChangeWrapMode
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onCommandKey
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onCompositionEnd
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onCompositionStart
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onCompositionUpdate
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onCopy
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Called whenever a text "copy" happens.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Called whenever a text "copy" happens.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onCursorChange
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Emitted when the selection changes.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Emitted when the selection changes.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onCut
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Called whenever a text "cut" happens.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Called whenever a text "cut" happens.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onDocumentChange
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onFocus
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onPaste(String text)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Called whenever a text "paste" happens.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Called whenever a text "paste" happens.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              textString

                                                                                                                                                              Required. The pasted text

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onScrollLeftChange
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onScrollTopChange
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onSelectionChange
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onTextInput
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.onTokenizerUpdate
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.redo
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.remove(String dir)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Removes words of text from the editor. A "word" is defined as a string of characters bookended by whitespace.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Removes words of text from the editor. A "word" is defined as a string of characters bookended by whitespace.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              dirString

                                                                                                                                                              Required. The direction of the deletion to occur, either "left" or "right"

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.removeLines
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Removes all the lines in the current selection

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Removes all the lines in the current selection

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.removeToLineEnd
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Removes all the words to the right of the current selection, until the end of the line.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Removes all the words to the right of the current selection, until the end of the line.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.removeToLineStart
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Removes all the words to the left of the current selection, until the start of the line.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Removes all the words to the left of the current selection, until the start of the line.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.removeWordLeft
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Removes the word directly to the left of the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Removes the word directly to the left of the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.removeWordRight
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Removes the word directly to the right of the current selection.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Removes the word directly to the right of the current selection.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Replaces the first occurance of options.needle with the value in replacement.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Replaces the first occurance of options.needle with the value in replacement.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              replacementString

                                                                                                                                                              Required. The text to replace with

                                                                                                                                                              +
                                                                                                                                                              optionsObject

                                                                                                                                                              Required. The Search options to use

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Replaces all occurances of options.needle with the value in replacement.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Replaces all occurances of options.needle with the value in replacement.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              replacementString

                                                                                                                                                              Required. The text to replace with

                                                                                                                                                              +
                                                                                                                                                              optionsObject

                                                                                                                                                              Required. The Search options to use

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              forceBoolean

                                                                                                                                                              Required. If true, recomputes the size, even if the height and width haven't changed

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.revealRange
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.scrollPageDown
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Scrolls the document to wherever "page down" is, without changing the cursor position.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Scrolls the document to wherever "page down" is, without changing the cursor position.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.scrollPageUp
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Scrolls the document to wherever "page up" is, without changing the cursor position.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Scrolls the document to wherever "page up" is, without changing the cursor position.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Scrolls to a line. If center is true, it puts the line in middle of screen (or attempts to).

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Scrolls to a line. If center is true, it puts the line in middle of screen (or attempts to).

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              lineNumber

                                                                                                                                                              Required. The line to scroll to

                                                                                                                                                              +
                                                                                                                                                              centerBoolean

                                                                                                                                                              Required. If true

                                                                                                                                                              +
                                                                                                                                                              animateBoolean

                                                                                                                                                              Required. If true animates scrolling

                                                                                                                                                              +
                                                                                                                                                              callbackFunction

                                                                                                                                                              Required. Function to be called when the animation has finished

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.scrollToRow(Object row)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Moves the editor to the specified row.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Moves the editor to the specified row.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              rowObject

                                                                                                                                                              Required.

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.selectAll
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Selects all the text in editor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Selects all the text in editor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.selectPageDown
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Selects the text from the current position of the document until where a "page down" finishes.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Selects the text from the current position of the document until where a "page down" finishes.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.selectPageUp
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Selects the text from the current position of the document until where a "page up" finishes.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Selects the text from the current position of the document until where a "page up" finishes.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setAnimatedScroll
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setBehavioursEnabled(Boolean enabled)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              enabledBoolean

                                                                                                                                                              Required. Enables or disables behaviors

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setDisplayIndentGuides
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setDragDelay(Number dragDelay)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Sets the delay (in milliseconds) of the mouse drag.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Sets the delay (in milliseconds) of the mouse drag.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              dragDelayNumber

                                                                                                                                                              Required. A value indicating the new delay

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setFadeFoldWidgets
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setFontSize(Number size)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Set a new font size (in pixels) for the editor text.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Set a new font size (in pixels) for the editor text.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              sizeNumber

                                                                                                                                                              Required. A font size

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setHighlightActiveLine(Boolean shouldHighlight)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Determines whether or not the current line should be highlighted.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Determines whether or not the current line should be highlighted.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              shouldHighlightBoolean

                                                                                                                                                              Required. Set to true to highlight the current line

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setHighlightGutterLine
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                • Incomplete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setHighlightSelectedWord(Boolean shouldHighlight)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Determines if the currently selected word should be highlighted.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Determines if the currently selected word should be highlighted.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              shouldHighlightBoolean

                                                                                                                                                              Required. Set to true to highlight the currently selected word

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setKeyboardHandler(String keyboardHandler)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Sets a new key handler, such as "vim" or "windows".

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Sets a new key handler, such as "vim" or "windows".

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              keyboardHandlerString

                                                                                                                                                              Required. The new key handler

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setOverwrite(Boolean overwrite)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              overwriteBoolean

                                                                                                                                                              Required. Defines wheter or not to set overwrites

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setPrintMarginColumn(Number showPrintMargin)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Sets the column defining where the print margin should be.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Sets the column defining where the print margin should be.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              showPrintMarginNumber

                                                                                                                                                              Required. Specifies the new print margin

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setReadOnly(Boolean readOnly)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              If readOnly is true, then the editor is set to read-only mode, and none of the content can change.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              If readOnly is true, then the editor is set to read-only mode, and none of the content can change.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              readOnlyBoolean

                                                                                                                                                              Required. Specifies whether the editor can be modified or not

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setScrollSpeed(Number speed)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Sets how fast the mouse scrolling should do.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Sets how fast the mouse scrolling should do.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              speedNumber

                                                                                                                                                              Required. A value indicating the new speed

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setSelectionStyle(String style)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Indicates how selections should occur.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Indicates how selections should occur.

                                                                                                                                                              +

                                                                                                                                                              By default, selections are set to "line". This function also emits the 'changeSelectionStyle' event.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              styleString

                                                                                                                                                              Required. The new selection style

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Sets a new editsession to use. This method also emits the 'changeSession' event.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Sets a new editsession to use. This method also emits the 'changeSession' event.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              sessionEditSession

                                                                                                                                                              Required. The new session to use

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setShowFoldWidgets(Boolean show)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Indicates whether the fold widgets are shown or not.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Indicates whether the fold widgets are shown or not.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              showBoolean

                                                                                                                                                              Required. Specifies whether the fold widgets are shown

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setShowInvisibles(Boolean showInvisibles)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              If showInvisibiles is set to true, invisible characters—like spaces or new lines—are show in the editor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              If showInvisibiles is set to true, invisible characters—like spaces or new lines—are show in the editor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              showInvisiblesBoolean

                                                                                                                                                              Required. Specifies whether or not to show invisible characters

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setShowPrintMargin(Boolean showPrintMargin)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              If showPrintMargin is set to true, the print margin is shown in the editor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              If showPrintMargin is set to true, the print margin is shown in the editor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              showPrintMarginBoolean

                                                                                                                                                              Required. Specifies whether or not to show the print margin

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setStyle(String style)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Adds a new class, style, to the editor.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Adds a new class, style, to the editor.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              styleString

                                                                                                                                                              Required. A class name

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setTheme(String theme)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              themeString

                                                                                                                                                              Required. The path to a theme

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Sets the current document to val.

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              Sets the current document to val.

                                                                                                                                                              + +

                                                                                                                                                              Arguments

                                                                                                                                                              valString

                                                                                                                                                              Required. The new value to set for the document

                                                                                                                                                              +
                                                                                                                                                              cursorPosNumber

                                                                                                                                                              Required. Where to set the new value. undefined or 0 is selectAll, -1 is at the document start, and 1 is at the end

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                                  +
                                                                                                                                                                • Editor.setWrapBehavioursEnabled(Object enabled)
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Editor.setWrapBehavioursEnabled(enabled)

                                                                                                                                                                -
                                                                                                                                                              • { row: currRow, column: currCol }
                                                                                                                                                              • +
                                                                                                                                                              • enabled (Boolean): Enables or disables wrapping behaviors
                                                                                                                                                              -
                                                                                                                                                                • Editor.getCursorPositionScreen()
                                                                                                                                                                • Related to:

                                                                                                                                                              Returns the screen position of the cursor.

                                                                                                                                                              -

                                                                                                                                                              Returns the screen position of the cursor.

                                                                                                                                                              -

                                                                                                                                                              Returns the current mouse drag delay.

                                                                                                                                                              -

                                                                                                                                                              Returns the current mouse drag delay.

                                                                                                                                                              -
                                                                                                                                                                • Editor.getFirstVisibleRow()
                                                                                                                                                                • Related to:

                                                                                                                                                              Returns the index of the first visible row.

                                                                                                                                                              -

                                                                                                                                                              Returns the index of the first visible row.

                                                                                                                                                              -
                                                                                                                                                                • Editor.getHighlightActiveLine()

                                                                                                                                                                Returns true if current lines are always highlighted.

                                                                                                                                                                -

                                                                                                                                                                Returns true if current lines are always highlighted.

                                                                                                                                                                -
                                                                                                                                                                  • Editor.getHighlightSelectedWord()

                                                                                                                                                                  Returns true if currently highlighted words are to be highlighted.

                                                                                                                                                                  -

                                                                                                                                                                  Returns true if currently highlighted words are to be highlighted.

                                                                                                                                                                  -
                                                                                                                                                                    • Editor.getKeyboardHandler()
                                                                                                                                                                    • Related to:

                                                                                                                                                                  Returns the keyboard handler.

                                                                                                                                                                  -

                                                                                                                                                                  Returns the keyboard handler.

                                                                                                                                                                  -
                                                                                                                                                                    • Editor.getLastSearchOptions()
                                                                                                                                                                    • Related to:

                                                                                                                                                                  Returns an object containing all the search options. For more information on options, see Search.

                                                                                                                                                                  -

                                                                                                                                                                  Returns an object containing all the search options. For more information on options, see Search.

                                                                                                                                                                  -
                                                                                                                                                                    • Editor.getLastVisibleRow()
                                                                                                                                                                    • Related to:

                                                                                                                                                                  Returns the index of the last visible row.

                                                                                                                                                                  -

                                                                                                                                                                  Returns the index of the last visible row.

                                                                                                                                                                  -
                                                                                                                                                                    • Related to:

                                                                                                                                                                  Returns true if overwrites are enabled; false otherwise.

                                                                                                                                                                  -

                                                                                                                                                                  Returns true if overwrites are enabled; false otherwise.

                                                                                                                                                                  -
                                                                                                                                                                    • Editor.getPrintMarginColumn()

                                                                                                                                                                    Returns the column number of where the print margin is.

                                                                                                                                                                    -

                                                                                                                                                                    Returns the column number of where the print margin is.

                                                                                                                                                                    -

                                                                                                                                                                    Returns true if the editor is set to read-only mode.

                                                                                                                                                                    -

                                                                                                                                                                    Returns true if the editor is set to read-only mode.

                                                                                                                                                                    -

                                                                                                                                                                    Returns the value indicating how fast the mouse scroll speed is.

                                                                                                                                                                    -

                                                                                                                                                                    Returns the value indicating how fast the mouse scroll speed is.

                                                                                                                                                                    -

                                                                                                                                                                    Returns the currently highlighted selection.

                                                                                                                                                                    -

                                                                                                                                                                    Returns the currently highlighted selection.

                                                                                                                                                                    -
                                                                                                                                                                      • Editor.getSelectionRange()
                                                                                                                                                                      • Related to:

                                                                                                                                                                    Returns the Range for the selected text.

                                                                                                                                                                    -

                                                                                                                                                                    Returns the Range for the selected text.

                                                                                                                                                                    -
                                                                                                                                                                      • Editor.getSelectionStyle()

                                                                                                                                                                      Returns the current selection style.

                                                                                                                                                                      -

                                                                                                                                                                      Returns the current selection style.

                                                                                                                                                                      -

                                                                                                                                                                      Returns the current session being used.

                                                                                                                                                                      -

                                                                                                                                                                      Returns the current session being used.

                                                                                                                                                                      -

                                                                                                                                                                      Returns true if the fold widgets are shown.

                                                                                                                                                                      -

                                                                                                                                                                      Returns true if the fold widgets are shown.

                                                                                                                                                                      -

                                                                                                                                                                      Returns true if invisible characters are being shown.

                                                                                                                                                                      -

                                                                                                                                                                      Returns true if invisible characters are being shown.

                                                                                                                                                                      -

                                                                                                                                                                      Returns true if the print margin is being shown.

                                                                                                                                                                      -

                                                                                                                                                                      Returns true if the print margin is being shown.

                                                                                                                                                                      -
                                                                                                                                                                        • Related to:

                                                                                                                                                                      Returns the path of the current theme.

                                                                                                                                                                      -

                                                                                                                                                                      Returns the path of the current theme.

                                                                                                                                                                      -
                                                                                                                                                                        • Related to:

                                                                                                                                                                      Returns the current session's content.

                                                                                                                                                                      -

                                                                                                                                                                      Returns the current session's content.

                                                                                                                                                                      -

                                                                                                                                                                      Moves the cursor to the specified line number, and also into the indiciated column.

                                                                                                                                                                      -

                                                                                                                                                                      Moves the cursor to the specified line number, and also into the indiciated column.

                                                                                                                                                                      -

                                                                                                                                                                      Arguments

                                                                                                                                                                      lineNumberNumber

                                                                                                                                                                      Required. The line number to go to

                                                                                                                                                                      -
                                                                                                                                                                      columnNumber

                                                                                                                                                                      Required. A column number to go to

                                                                                                                                                                      -
                                                                                                                                                                      animateBoolean

                                                                                                                                                                      Required. If true animates scolling

                                                                                                                                                                      -
                                                                                                                                                                        • Editor.gotoPageDown()

                                                                                                                                                                        Shifts the document to wherever "page down" is, as well as moving the cursor position.

                                                                                                                                                                        -

                                                                                                                                                                        Shifts the document to wherever "page down" is, as well as moving the cursor position.

                                                                                                                                                                        -
                                                                                                                                                                          • Editor.gotoPageUp()

                                                                                                                                                                          Shifts the document to wherever "page up" is, as well as moving the cursor position.

                                                                                                                                                                          -

                                                                                                                                                                          Shifts the document to wherever "page up" is, as well as moving the cursor position.

                                                                                                                                                                          -
                                                                                                                                                                            • Editor.indent()
                                                                                                                                                                            • Related to:

                                                                                                                                                                          Indents the current line.

                                                                                                                                                                          -

                                                                                                                                                                          Indents the current line.

                                                                                                                                                                          -

                                                                                                                                                                          Inserts text into wherever the cursor is pointing.

                                                                                                                                                                          -

                                                                                                                                                                          Inserts text into wherever the cursor is pointing.

                                                                                                                                                                          -

                                                                                                                                                                          Arguments

                                                                                                                                                                          textString

                                                                                                                                                                          Required. The new text to add

                                                                                                                                                                          -

                                                                                                                                                                          Returns true if the current textInput is in focus.

                                                                                                                                                                          -

                                                                                                                                                                          Returns true if the current textInput is in focus.

                                                                                                                                                                          -

                                                                                                                                                                          Indicates if the entire row is currently visible on the screen.

                                                                                                                                                                          -

                                                                                                                                                                          Indicates if the entire row is currently visible on the screen.

                                                                                                                                                                          -

                                                                                                                                                                          Arguments

                                                                                                                                                                          rowNumber

                                                                                                                                                                          Required. The row to check

                                                                                                                                                                          -

                                                                                                                                                                          Indicates if the row is currently visible on the screen.

                                                                                                                                                                          -

                                                                                                                                                                          Indicates if the row is currently visible on the screen.

                                                                                                                                                                          -

                                                                                                                                                                          Arguments

                                                                                                                                                                          rowNumber

                                                                                                                                                                          Required. The row to check

                                                                                                                                                                          -
                                                                                                                                                                            • Editor.jumpToMatching()

                                                                                                                                                                            Moves the cursor's row and column to the next matching bracket.

                                                                                                                                                                            -

                                                                                                                                                                            Moves the cursor's row and column to the next matching bracket.

                                                                                                                                                                            -

                                                                                                                                                                            Moves the cursor to the specified row and column. Note that this does not de-select the current selection.

                                                                                                                                                                            -

                                                                                                                                                                            Moves the cursor to the specified row and column. Note that this does not de-select the current selection.

                                                                                                                                                                            -

                                                                                                                                                                            Arguments

                                                                                                                                                                            rowNumber

                                                                                                                                                                            Required. The new row number

                                                                                                                                                                            -
                                                                                                                                                                            columnNumber

                                                                                                                                                                            Required. The new column number

                                                                                                                                                                            -
                                                                                                                                                                              • Editor.moveCursorToPosition(Object pos)
                                                                                                                                                                              • Related to:

                                                                                                                                                                            Moves the cursor to the position indicated by pos.row and pos.column.

                                                                                                                                                                            -

                                                                                                                                                                            Moves the cursor to the position indicated by pos.row and pos.column.

                                                                                                                                                                            -

                                                                                                                                                                            Arguments

                                                                                                                                                                            posObject

                                                                                                                                                                            Required. An object with two properties, row and column

                                                                                                                                                                            -
                                                                                                                                                                              • Related to:

                                                                                                                                                                            Shifts all the selected lines down one row.

                                                                                                                                                                            -

                                                                                                                                                                            Shifts all the selected lines down one row.

                                                                                                                                                                            -

                                                                                                                                                                            Returns

                                                                                                                                                                            Number

                                                                                                                                                                            On success, it returns -1.

                                                                                                                                                                            -
                                                                                                                                                                              • Related to:

                                                                                                                                                                            Shifts all the selected lines up one row.

                                                                                                                                                                            -

                                                                                                                                                                            Shifts all the selected lines up one row.

                                                                                                                                                                            -

                                                                                                                                                                            Returns

                                                                                                                                                                            Number

                                                                                                                                                                            On success, it returns -1.

                                                                                                                                                                            -

                                                                                                                                                                            Moves a range of text from the given range to the given position. toPosition is an object that looks like this:

                                                                                                                                                                            -

                                                                                                                                                                            Moves a range of text from the given range to the given position. toPosition is an object that looks like this:

                                                                                                                                                                            -

                                                                                                                                                                            { row: newRowLocation, column: newColumnLocation }

                                                                                                                                                                            -

                                                                                                                                                                            Arguments

                                                                                                                                                                            fromRangeRange

                                                                                                                                                                            Required. The range of text you want moved within the document

                                                                                                                                                                            -
                                                                                                                                                                            toPositionObject

                                                                                                                                                                            Required. The location (row and column) where you want to move the text to

                                                                                                                                                                            -

                                                                                                                                                                            Returns

                                                                                                                                                                            Range

                                                                                                                                                                            The new range where the text was moved to.

                                                                                                                                                                            -
                                                                                                                                                                              • Editor.navigateDown(Number times)

                                                                                                                                                                              Moves the cursor down in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                              -

                                                                                                                                                                              Moves the cursor down in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                              -

                                                                                                                                                                              Arguments

                                                                                                                                                                              timesNumber

                                                                                                                                                                              Required. The number of times to change navigation

                                                                                                                                                                              -
                                                                                                                                                                                • Editor.navigateFileEnd()

                                                                                                                                                                                Moves the cursor to the end of the current file. Note that this does de-select the current selection.

                                                                                                                                                                                -

                                                                                                                                                                                Moves the cursor to the end of the current file. Note that this does de-select the current selection.

                                                                                                                                                                                -
                                                                                                                                                                                  • Editor.navigateFileStart()

                                                                                                                                                                                  Moves the cursor to the start of the current file. Note that this does de-select the current selection.

                                                                                                                                                                                  -

                                                                                                                                                                                  Moves the cursor to the start of the current file. Note that this does de-select the current selection.

                                                                                                                                                                                  -
                                                                                                                                                                                    • Editor.navigateLeft(Number times)

                                                                                                                                                                                    Moves the cursor left in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                                    -

                                                                                                                                                                                    Moves the cursor left in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                                    -

                                                                                                                                                                                    Arguments

                                                                                                                                                                                    timesNumber

                                                                                                                                                                                    Required. The number of times to change navigation

                                                                                                                                                                                    -
                                                                                                                                                                                      • Editor.navigateLineEnd()

                                                                                                                                                                                      Moves the cursor to the end of the current line. Note that this does de-select the current selection.

                                                                                                                                                                                      -

                                                                                                                                                                                      Moves the cursor to the end of the current line. Note that this does de-select the current selection.

                                                                                                                                                                                      -
                                                                                                                                                                                        • Editor.navigateLineStart()

                                                                                                                                                                                        Moves the cursor to the start of the current line. Note that this does de-select the current selection.

                                                                                                                                                                                        -

                                                                                                                                                                                        Moves the cursor to the start of the current line. Note that this does de-select the current selection.

                                                                                                                                                                                        -
                                                                                                                                                                                          • Editor.navigateRight(Number times)

                                                                                                                                                                                          Moves the cursor right in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                                          -

                                                                                                                                                                                          Moves the cursor right in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                                          -

                                                                                                                                                                                          Arguments

                                                                                                                                                                                          timesNumber

                                                                                                                                                                                          Required. The number of times to change navigation

                                                                                                                                                                                          -

                                                                                                                                                                                          Moves the cursor to the specified row and column. Note that this does de-select the current selection.

                                                                                                                                                                                          -

                                                                                                                                                                                          Moves the cursor to the specified row and column. Note that this does de-select the current selection.

                                                                                                                                                                                          -

                                                                                                                                                                                          Arguments

                                                                                                                                                                                          rowNumber

                                                                                                                                                                                          Required. The new row number

                                                                                                                                                                                          -
                                                                                                                                                                                          columnNumber

                                                                                                                                                                                          Required. The new column number

                                                                                                                                                                                          -
                                                                                                                                                                                            • Editor.navigateUp(Number times)

                                                                                                                                                                                            Moves the cursor up in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                                            -

                                                                                                                                                                                            Moves the cursor up in the document the specified number of times. Note that this does de-select the current selection.

                                                                                                                                                                                            -

                                                                                                                                                                                            Arguments

                                                                                                                                                                                            timesNumber

                                                                                                                                                                                            Required. The number of times to change navigation

                                                                                                                                                                                            -
                                                                                                                                                                                              • Editor.navigateWordLeft()

                                                                                                                                                                                              Moves the cursor to the word immediately to the left of the current position. Note that this does de-select the current selection.

                                                                                                                                                                                              -

                                                                                                                                                                                              Moves the cursor to the word immediately to the left of the current position. Note that this does de-select the current selection.

                                                                                                                                                                                              -
                                                                                                                                                                                                • Editor.navigateWordRight()

                                                                                                                                                                                                Moves the cursor to the word immediately to the right of the current position. Note that this does de-select the current selection.

                                                                                                                                                                                                -

                                                                                                                                                                                                Moves the cursor to the word immediately to the right of the current position. Note that this does de-select the current selection.

                                                                                                                                                                                                -
                                                                                                                                                                                                  • Editor.onCopy()

                                                                                                                                                                                                  Called whenever a text "copy" happens.

                                                                                                                                                                                                  -

                                                                                                                                                                                                  Called whenever a text "copy" happens.

                                                                                                                                                                                                  -
                                                                                                                                                                                                    • Editor.onCut()

                                                                                                                                                                                                    called whenever a text "cut" happens.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    called whenever a text "cut" happens.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Called whenever a text "paste" happens.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Called whenever a text "paste" happens.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                    textString

                                                                                                                                                                                                    Required. The pasted text

                                                                                                                                                                                                    -
                                                                                                                                                                                                      • Editor.redo()
                                                                                                                                                                                                      • Related to:

                                                                                                                                                                                                    Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Removes words of text from the editor. A "word" is defined as a string of characters bookended by whitespace.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Removes words of text from the editor. A "word" is defined as a string of characters bookended by whitespace.

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                    dirString

                                                                                                                                                                                                    Required. The direction of the deletion to occur, either "left" or "right"

                                                                                                                                                                                                    -
                                                                                                                                                                                                      • Editor.removeLines()
                                                                                                                                                                                                      • Related to:

                                                                                                                                                                                                    Removes all the lines in the current selection

                                                                                                                                                                                                    -

                                                                                                                                                                                                    Removes all the lines in the current selection

                                                                                                                                                                                                    -
                                                                                                                                                                                                      • Editor.removeSelectionMarker(Range range)

                                                                                                                                                                                                      Removes the selection marker.

                                                                                                                                                                                                      -

                                                                                                                                                                                                      Removes the selection marker.

                                                                                                                                                                                                      -

                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                      rangeRange

                                                                                                                                                                                                      Required. The selection range added with addSelectionMarker().

                                                                                                                                                                                                      -
                                                                                                                                                                                                        • Editor.removeToLineEnd()

                                                                                                                                                                                                        Removes all the words to the right of the current selection, until the end of the line.

                                                                                                                                                                                                        -

                                                                                                                                                                                                        Removes all the words to the right of the current selection, until the end of the line.

                                                                                                                                                                                                        -
                                                                                                                                                                                                          • Editor.removeToLineStart()

                                                                                                                                                                                                          Removes all the words to the left of the current selection, until the start of the line.

                                                                                                                                                                                                          -

                                                                                                                                                                                                          Removes all the words to the left of the current selection, until the start of the line.

                                                                                                                                                                                                          -
                                                                                                                                                                                                            • Editor.removeWordLeft()

                                                                                                                                                                                                            Removes the word directly to the left of the current selection.

                                                                                                                                                                                                            -

                                                                                                                                                                                                            Removes the word directly to the left of the current selection.

                                                                                                                                                                                                            -
                                                                                                                                                                                                              • Editor.removeWordRight()

                                                                                                                                                                                                              Removes the word directly to the right of the current selection.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Removes the word directly to the right of the current selection.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Replaces the first occurance of options.needle with the value in replacement.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Replaces the first occurance of options.needle with the value in replacement.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                              replacementString

                                                                                                                                                                                                              Required. The text to replace with

                                                                                                                                                                                                              -
                                                                                                                                                                                                              optionsObject

                                                                                                                                                                                                              Required. The Search options to use

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Replaces all occurances of options.needle with the value in replacement.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Replaces all occurances of options.needle with the value in replacement.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                              replacementString

                                                                                                                                                                                                              Required. The text to replace with

                                                                                                                                                                                                              -
                                                                                                                                                                                                              optionsObject

                                                                                                                                                                                                              Required. The Search options to use

                                                                                                                                                                                                              -
                                                                                                                                                                                                                • Related to:

                                                                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                              forceBoolean

                                                                                                                                                                                                              Required. If true, recomputes the size, even if the height and width haven't changed

                                                                                                                                                                                                              -
                                                                                                                                                                                                                • Editor.scrollPageDown()

                                                                                                                                                                                                                Scrolls the document to wherever "page down" is, without changing the cursor position.

                                                                                                                                                                                                                -

                                                                                                                                                                                                                Scrolls the document to wherever "page down" is, without changing the cursor position.

                                                                                                                                                                                                                -
                                                                                                                                                                                                                  • Editor.scrollPageUp()

                                                                                                                                                                                                                  Scrolls the document to wherever "page up" is, without changing the cursor position.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Scrolls the document to wherever "page up" is, without changing the cursor position.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  TODO scrolls a to line, if center == true, puts line in middle of screen or attempts to)

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  TODO scrolls a to line, if center == true, puts line in middle of screen or attempts to)

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                  lineNumber

                                                                                                                                                                                                                  Required. The line to scroll to

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  centerBoolean

                                                                                                                                                                                                                  Required. If true

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  animateBoolean

                                                                                                                                                                                                                  Required. If true animates scrolling

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  callbackFunction

                                                                                                                                                                                                                  Required. Function to be called when the animation has finished

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                    • Editor.scrollToRow(Number row)
                                                                                                                                                                                                                    • Related to:

                                                                                                                                                                                                                  Moves the editor to the specified row.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Moves the editor to the specified row.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                  rowNumber

                                                                                                                                                                                                                  Required. The row to move to

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                    • Editor.selectAll()
                                                                                                                                                                                                                    • Related to:

                                                                                                                                                                                                                  Selects all the text in editor.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Selects all the text in editor.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Finds the next occurence of text in an active selection and adds it to the selections.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Finds the next occurence of text in an active selection and adds it to the selections.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                  dirNumber

                                                                                                                                                                                                                  Required. The direction of lines to select: -1 for up, 1 for down

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  skipBoolean

                                                                                                                                                                                                                  Required. If true, removes the active selection range

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Adds a cursor above or below the active cursor.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Adds a cursor above or below the active cursor.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                  dirNumber

                                                                                                                                                                                                                  Required. The direction of lines to select: -1 for up, 1 for down

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  skipBoolean

                                                                                                                                                                                                                  Required. If true, removes the active selection range

                                                                                                                                                                                                                  -
                                                                                                                                                                                                                    • Editor.selectPageDown()

                                                                                                                                                                                                                    Selects the text from the current position of the document until where a "page down" finishes.

                                                                                                                                                                                                                    -

                                                                                                                                                                                                                    Selects the text from the current position of the document until where a "page down" finishes.

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                      • Editor.selectPageUp()

                                                                                                                                                                                                                      Selects the text from the current position of the document until where a "page up" finishes.

                                                                                                                                                                                                                      -

                                                                                                                                                                                                                      Selects the text from the current position of the document until where a "page up" finishes.

                                                                                                                                                                                                                      -
                                                                                                                                                                                                                        • Editor.setBehavioursEnabled(Boolean enabled)

                                                                                                                                                                                                                        Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        Specifies whether to use behaviors or not. "Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                        enabledBoolean

                                                                                                                                                                                                                        Required. Enables or disables behaviors

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                          • Editor.setDragDelay(Number dragDelay)

                                                                                                                                                                                                                          Sets the delay (in milliseconds) of the mouse drag.

                                                                                                                                                                                                                          -

                                                                                                                                                                                                                          Sets the delay (in milliseconds) of the mouse drag.

                                                                                                                                                                                                                          -

                                                                                                                                                                                                                          Arguments

                                                                                                                                                                                                                          dragDelayNumber

                                                                                                                                                                                                                          Required. A value indicating the new delay

                                                                                                                                                                                                                          -
                                                                                                                                                                                                                            • Editor.setFontSize(Number size)

                                                                                                                                                                                                                            Set a new font size (in pixels) for the editor text.

                                                                                                                                                                                                                            -

                                                                                                                                                                                                                            Set a new font size (in pixels) for the editor text.

                                                                                                                                                                                                                            -

                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                            sizeNumber

                                                                                                                                                                                                                            Required. A font size

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                              • Editor.setHighlightActiveLine(Boolean shouldHighlight)

                                                                                                                                                                                                                              Determines whether or not the current line should be highlighted.

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              Determines whether or not the current line should be highlighted.

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                              shouldHighlightBoolean

                                                                                                                                                                                                                              Required. Set to true to highlight the current line

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                • Editor.setHighlightSelectedWord(Boolean shouldHighlight)

                                                                                                                                                                                                                                Determines if the currently selected word should be highlighted.

                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                Determines if the currently selected word should be highlighted.

                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                shouldHighlightBoolean

                                                                                                                                                                                                                                Required. Set to true to highlight the currently selected word

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                  • Editor.setKeyboardHandler(keyboardHandler)

                                                                                                                                                                                                                                  Sets a new keyboard handler.

                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                  Sets a new keyboard handler.

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                    • Editor.setOverwrite(Boolean overwrite)
                                                                                                                                                                                                                                    • Related to:

                                                                                                                                                                                                                                  Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.

                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                  Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.

                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                  overwriteBoolean

                                                                                                                                                                                                                                  Required. Defines wheter or not to set overwrites

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                    • Editor.setPrintMarginColumn(Number showPrintMargin)

                                                                                                                                                                                                                                    Sets the column defining where the print margin should be.

                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                    Sets the column defining where the print margin should be.

                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                    showPrintMarginNumber

                                                                                                                                                                                                                                    Required. Specifies the new print margin

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                      • Editor.setReadOnly(Boolean readOnly)

                                                                                                                                                                                                                                      If readOnly is true, then the editor is set to read-only mode, and none of the content can change.

                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                      If readOnly is true, then the editor is set to read-only mode, and none of the content can change.

                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                      readOnlyBoolean

                                                                                                                                                                                                                                      Required. Specifies whether the editor can be modified or not

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                        • Editor.setScrollSpeed(Number speed)

                                                                                                                                                                                                                                        Sets how fast the mouse scrolling should do.

                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                        Sets how fast the mouse scrolling should do.

                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                        speedNumber

                                                                                                                                                                                                                                        Required. A value indicating the new speed

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                          • Editor.setSelectionStyle(String style)

                                                                                                                                                                                                                                          Indicates how selections should occur. By default, selections are set to "line". This function also emits the 'changeSelectionStyle' event.

                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                          Indicates how selections should occur. By default, selections are set to "line". This function also emits the 'changeSelectionStyle' event.

                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                          Arguments

                                                                                                                                                                                                                                          styleString

                                                                                                                                                                                                                                          Required. The new selection style

                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                          Sets a new editsession to use. This method also emits the 'changeSession' event.

                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                          Sets a new editsession to use. This method also emits the 'changeSession' event.

                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                          Arguments

                                                                                                                                                                                                                                          sessionEditSession

                                                                                                                                                                                                                                          Required. The new session to use

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                            • Editor.setShowFoldWidgets(Boolean show)

                                                                                                                                                                                                                                            Indicates whether the fold widgets are shown or not.

                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                            Indicates whether the fold widgets are shown or not.

                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                            showBoolean

                                                                                                                                                                                                                                            Required. Specifies whether the fold widgets are shown

                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                              • Editor.setShowInvisibles(Boolean showInvisibles)

                                                                                                                                                                                                                                              If showInvisibiles is set to true, invisible characters—like spaces or new lines—are show in the editor.

                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                              If showInvisibiles is set to true, invisible characters—like spaces or new lines—are show in the editor.

                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                              showInvisiblesBoolean

                                                                                                                                                                                                                                              Required. Specifies whether or not to show invisible characters

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                • Editor.setShowPrintMargin(Boolean showPrintMargin)

                                                                                                                                                                                                                                                If showPrintMargin is set to true, the print margin is shown in the editor.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                If showPrintMargin is set to true, the print margin is shown in the editor.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                showPrintMarginBoolean

                                                                                                                                                                                                                                                Required. Specifies whether or not to show the print margin

                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                  • Related to:

                                                                                                                                                                                                                                                Adds a new class, style, to the editor.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Adds a new class, style, to the editor.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                styleString

                                                                                                                                                                                                                                                Required. A class name

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                themeString

                                                                                                                                                                                                                                                Required. The path to a theme

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Sets the current document to val.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Sets the current document to val.

                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                valString

                                                                                                                                                                                                                                                Required. The new value to set for the document

                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                cursorPosNumber

                                                                                                                                                                                                                                                Required. Where to set the new value. undefined or 0 is selectAll, -1 is at the document start, and 1 is at the end

                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                  • Editor.splitLine()

                                                                                                                                                                                                                                                  Splits the line at the current selection (by inserting an '\n').

                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                  Splits the line at the current selection (by inserting an '\n').

                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                    • Editor.toggleCommentLines()

                                                                                                                                                                                                                                                    Given the currently selected range, this function either comments all lines or uncomments all lines (depending on whether it's commented or not).

                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                    Given the currently selected range, this function either comments all lines or uncomments all lines (depending on whether it's commented or not).

                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                      • Editor.toggleOverwrite()
                                                                                                                                                                                                                                                      • Related to:

                                                                                                                                                                                                                                                    Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                    Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                      • Editor.toLowerCase()

                                                                                                                                                                                                                                                      Converts the current selection entirely into lowercase.

                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                      Converts the current selection entirely into lowercase.

                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                        • Editor.toUpperCase()

                                                                                                                                                                                                                                                        Converts the current selection entirely into uppercase.

                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                        Converts the current selection entirely into uppercase.

                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                          • Editor.transposeLetters()

                                                                                                                                                                                                                                                          Transposes current line.

                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                          Transposes current line.

                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                            • Editor.transposeSelections(Number dir)

                                                                                                                                                                                                                                                            Transposes the selected ranges.

                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                            Transposes the selected ranges.

                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                            dirNumber

                                                                                                                                                                                                                                                            Required. The direction to rotate selections

                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                              • Editor.undo()
                                                                                                                                                                                                                                                              • Related to:

                                                                                                                                                                                                                                                            Perform an undo operation on the document, reverting the last change. Returns the range of the undo.

                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                            Perform an undo operation on the document, reverting the last change. Returns the range of the undo.

                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                              • Editor.unsetStyle(style)
                                                                                                                                                                                                                                                              • Related to:

                                                                                                                                                                                                                                                            Removes the class style from the editor.

                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                            Removes the class style from the editor.

                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                              • Editor.updateSelectionMarkers()

                                                                                                                                                                                                                                                              Updates the cursor and marker layers.

                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                              Updates the cursor and marker layers.

                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                              \ No newline at end of file + + +

                                                                                                                                                                                                                                                              Editor.setWrapBehavioursEnabled(enabled)

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets +when such a character is typed in.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              enabledObject

                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.sortLines
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.splitLine
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Splits the line at the current selection (by inserting an '\n').

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Splits the line at the current selection (by inserting an '\n').

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.toggleCommentLines
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Given the currently selected range, this function either comments all the lines, or uncomments all of them.

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Given the currently selected range, this function either comments all the lines, or uncomments all of them.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.toggleOverwrite
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Sets the value of overwrite to the opposite of whatever it currently is.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.toLowerCase
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Converts the current selection entirely into lowercase.

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Converts the current selection entirely into lowercase.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.toUpperCase
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Converts the current selection entirely into uppercase.

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Converts the current selection entirely into uppercase.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.transposeLetters
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Transposes current line.

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Transposes current line.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.undo
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Perform an undo operation on the document, reverting the last change.

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Perform an undo operation on the document, reverting the last change.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • Editor.unsetStyle(Object style)
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Removes the class style from the editor.

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Removes the class style from the editor.

                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                              styleObject

                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                              + \ No newline at end of file diff --git a/api/index.html b/api/index.html index a4f1f307..219ad14d 100644 --- a/api/index.html +++ b/api/index.html @@ -1,4 +1,12 @@ +

                                                                                                                                                                                                                                                              Ace API Reference

                                                                                                                                                                                                                                                              Welcome to the Ace API Reference Guide. Ace is a standalone code editor written in JavaScript that you can embed onto any website. We're used in a bunch of places already, like GitHub, Google, and Facebook.

                                                                                                                                                                                                                                                              On the left, you'll find a list of all of our currently documented classes. There are plenty more to do, but these represent the "core" set. For more information on how to work with Ace, check out the main Ace website.

                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                              \ No newline at end of file + + + + + + +
                                                                                                                                                                                                                                                              + \ No newline at end of file diff --git a/api/placeholder.html b/api/placeholder.html index 98aa0b55..34a4aa50 100644 --- a/api/placeholder.html +++ b/api/placeholder.html @@ -1,24 +1,299 @@ -

                                                                                                                                                                                                                                                              TODO

                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                              Constructors

                                                                                                                                                                                                                                                              Events

                                                                                                                                                                                                                                                                • PlaceHolder.on("onCursorChange", function(e))

                                                                                                                                                                                                                                                                Emitted when the cursor changes.

                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                Emitted when the cursor changes.

                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                  • PlaceHolder.on("onUpdate", function(e))

                                                                                                                                                                                                                                                                  Emitted when the place holder updates.

                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                  Emitted when the place holder updates.

                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                                                                    • PlaceHolder.cancel()

                                                                                                                                                                                                                                                                    TODO

                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                    TODO

                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                      • PlaceHolder.detach()

                                                                                                                                                                                                                                                                      TODO

                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                      TODO

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                        • PlaceHolder.hideOtherMarkers()

                                                                                                                                                                                                                                                                        Hides all over markers in the EditSession that are not the currently selected one.

                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                        Hides all over markers in the EditSession that are not the currently selected one.

                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                          • PlaceHolder.setup()

                                                                                                                                                                                                                                                                          TODO

                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                          TODO

                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                            • PlaceHolder.showOtherMarkers()

                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            \ No newline at end of file + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder [edit] +

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Constructors

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • new PlaceHolder
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • session (Document): The document to associate with the anchor
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • length (Number): The starting row position
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • pos (Number): The starting column position
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • others (String):
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • mainClass (String):
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • othersClass (String):
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • session (Document): The document to associate with the anchor
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • length (Number): The starting row position
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • pos (Number): The starting column position
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • others (String):
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • mainClass (String):
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            • othersClass (String):
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • PlaceHolder.cancel
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.cancel()

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.cancel()

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • PlaceHolder.detach
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.detach()

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.detach()

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • PlaceHolder.hideOtherMarkers
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.hideOtherMarkers()

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.hideOtherMarkers()

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Hides all over markers in the EditSession that are not the currently selected one.

                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • PlaceHolder.onCursorChange(Object event)
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder@onCursorChange(e)

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder@onCursorChange(e)

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Emitted when the cursor changes.

                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            eventObject

                                                                                                                                                                                                                                                                            Required.

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • PlaceHolder.onUpdate(Object event)
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder@onUpdate(e)

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder@onUpdate(e)

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Emitted when the place holder updates.

                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            eventObject

                                                                                                                                                                                                                                                                            Required.

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • PlaceHolder.setup
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.setup()

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.setup()

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • PlaceHolder.showOtherMarkers
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.showOtherMarkers()

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            PlaceHolder.showOtherMarkers()

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            \ No newline at end of file diff --git a/api/range.html b/api/range.html index 19f69645..1b89f906 100644 --- a/api/range.html +++ b/api/range.html @@ -1,297 +1,962 @@ -

                                                                                                                                                                                                                                                                            This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Constructors

                                                                                                                                                                                                                                                                            Creates a new Range object with the given starting and ending row and column points.

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Creates a new Range object with the given starting and ending row and column points.

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            startRowNumber

                                                                                                                                                                                                                                                                            Required. The starting row

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            startColumnNumber

                                                                                                                                                                                                                                                                            Required. The starting column

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            endRowNumber

                                                                                                                                                                                                                                                                            Required. The ending row

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            endColumnNumber

                                                                                                                                                                                                                                                                            Required. The ending column

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                            Returns the part of the current Range that occurs within the boundaries of firstRow and lastRow as a new Range object.

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Returns the part of the current Range that occurs within the boundaries of firstRow and lastRow as a new Range object.

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                            firstRowNumber

                                                                                                                                                                                                                                                                            Required. The starting row

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                            lastRowNumber

                                                                                                                                                                                                                                                                            Required. The ending row

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Returns a duplicate of the calling range.

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Returns a duplicate of the calling range.

                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                              • Range.collapseRows()

                                                                                                                                                                                                                                                                              Returns a range containing the starting and ending rows of the original range, but with a column value of 0.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns a range containing the starting and ending rows of the original range, but with a column value of 0.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns

                                                                                                                                                                                                                                                                              Number

                                                                                                                                                                                                                                                                              This method returns one of the following numbers:

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 0 if the two points are exactly equal
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • -1 if p.row is less then the calling range
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 1 if p.row is greater than the calling range
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the starting row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is greater than or equal to the calling range's starting column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns -1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the ending row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is less than or equal to the calling range's ending column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns 1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns

                                                                                                                                                                                                                                                                              Number

                                                                                                                                                                                                                                                                              This method returns one of the following numbers:

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 0 if the two points are exactly equal
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • -1 if p.row is less then the calling range
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 1 if p.row is greater than the calling range, or if isEnd is `true.
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the starting row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is greater than or equal to the calling range's starting column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns -1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the ending row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is less than or equal to the calling range's ending column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns 1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns

                                                                                                                                                                                                                                                                              Number

                                                                                                                                                                                                                                                                              This method returns one of the following numbers:

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 1 if the ending row of the calling range is equal to row, and the ending column of the calling range is equal to column
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • -1 if the starting row of the calling range is equal to row, and the starting column of the calling range is equal to column
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • Otherwise, it returns the value after calling compare().

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points of p with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points of p with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              pRange

                                                                                                                                                                                                                                                                              Required. A point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns

                                                                                                                                                                                                                                                                              Number

                                                                                                                                                                                                                                                                              This method returns one of the following numbers:

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 0 if the two points are exactly equal
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • -1 if p.row is less then the calling range
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 1 if p.row is greater than the calling range
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the starting row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is greater than or equal to the calling range's starting column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns -1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the ending row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is less than or equal to the calling range's ending column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns 1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Compares this range (A) with another range (B).

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Compares this range (A) with another range (B).

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns

                                                                                                                                                                                                                                                                              Number

                                                                                                                                                                                                                                                                              This method returns one of the following numbers:

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • -2: (B) is in front of (A), and doesn't intersect with (A)
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • -1: (B) begins before (A) but ends inside of (A)
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 0: (B) is completely inside of (A) OR (A) is completely inside of (B)
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • +1: (B) begins inside of (A) but ends outside of (A)
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • +2: (B) is after (A) and doesn't intersect with (A)
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 42: FTW state: (B) ends in (A) but starts outside of (A)
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns

                                                                                                                                                                                                                                                                              Number

                                                                                                                                                                                                                                                                              This method returns one of the following numbers:

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 0 if the two points are exactly equal
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • -1 if p.row is less then the calling range
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • 1 if p.row is greater than the calling range, or if isStart is true.
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the starting row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is greater than or equal to the calling range's starting column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns -1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -

                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              • If the ending row of the calling range is equal to p.row, and:

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • p.column is less than or equal to the calling range's ending column, this returns 0
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                • Otherwise, it returns 1
                                                                                                                                                                                                                                                                                • -
                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                              • -
                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              this.start.row <= row <= this.end.row && - this.start.column <= column <= this.end.column

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row to check for

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column to check for

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Changes the row and column points for the calling range for both the starting and ending points. This method returns that range with a new row.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Changes the row and column points for the calling range for both the starting and ending points. This method returns that range with a new row.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A new row to extend to

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A new column to extend to

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Creates and returns a new Range based on the row and column of the given parameters.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Creates and returns a new Range based on the row and column of the given parameters.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              startRange

                                                                                                                                                                                                                                                                              Required. A starting point to use

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              endRange

                                                                                                                                                                                                                                                                              Required. An ending point to use

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's ending points.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's ending points.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's starting points.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's starting points.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if passed in range intersects with the one calling this method.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if passed in range intersects with the one calling this method.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the caller's ending row point is the same as row, and if the caller's ending column is the same as column.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the caller's ending row point is the same as row, and if the caller's ending column is the same as column.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if and only if the starting row and column, and ending tow and column, are equivalent to those given by range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if and only if the starting row and column, and ending tow and column, are equivalent to those given by range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to check against

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the range spans across multiple lines.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the range spans across multiple lines.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the caller's starting row point is the same as row, and if the caller's starting column is the same as column.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns true if the caller's starting row point is the same as row, and if the caller's starting column is the same as column.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to set

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to set

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to set

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to set

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Given the current Range, this function converts those starting and ending points into screen positions, and then returns a new Range object.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Given the current Range, this function converts those starting and ending points into screen positions, and then returns a new Range object.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              sessionEditSession

                                                                                                                                                                                                                                                                              Required. The EditSession to retrieve coordinates from

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns a string containing the range's row and column information, given like this:

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Returns a string containing the range's row and column information, given like this:

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              [start.row/start.column] -> [end.row/end.column]

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              \ No newline at end of file + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Range [edit] +

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Constructors

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Creates a new Range object with the given starting and ending row and column points.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Creates a new Range object with the given starting and ending row and column points.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              startRowNumber

                                                                                                                                                                                                                                                                              Required. The starting row

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              startColumnNumber

                                                                                                                                                                                                                                                                              Required. The starting column

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              endRowNumber

                                                                                                                                                                                                                                                                              Required. The ending row

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              endColumnNumber

                                                                                                                                                                                                                                                                              Required. The ending column

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns the part of the current Range that occurs within the boundaries of firstRow and lastRow as a new Range object.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns the part of the current Range that occurs within the boundaries of firstRow and lastRow as a new Range object.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              firstRowNumber

                                                                                                                                                                                                                                                                              Required. The starting row

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              lastRowNumber

                                                                                                                                                                                                                                                                              Required. The ending row

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • Range.clone +
                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns a duplicate of the calling range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns a duplicate of the calling range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • Range.collapseRows +
                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns a range containing the starting and ending rows of the original range, but with a column value of 0.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns a range containing the starting and ending rows of the original range, but with a column value of 0.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points of p with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points of p with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              pRange

                                                                                                                                                                                                                                                                              Required. A point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Compares this range (A) with another range (B).

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Compares this range (A) with another range (B).

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the row and column points with the row and column points of the calling range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                 this.start.row <= row <= this.end.row &&
                                                                                                                                                                                                                                                                              +   this.start.column <= column <= this.end.column
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                 this.start.row <= row <= this.end.row &&
                                                                                                                                                                                                                                                                              +   this.start.column <= column <= this.end.column
                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row to check for

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column to check for

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Changes the row and column points for the calling range for both the starting and ending points.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Changes the row and column points for the calling range for both the starting and ending points.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A new row to extend to

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A new column to extend to

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Creates and returns a new Range based on the row and column of the given parameters.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Creates and returns a new Range based on the row and column of the given parameters.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              startRange

                                                                                                                                                                                                                                                                              Required. A starting point to use

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              endRange

                                                                                                                                                                                                                                                                              Required. An ending point to use

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's ending points.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's ending points.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's starting points.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the row and column are within the given range's starting points.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if passed in range intersects with the one calling this method.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if passed in range intersects with the one calling this method.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • Range.isEmpty
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the caller's ending row point is the same as row, and if the caller's ending column is the same as column.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the caller's ending row point is the same as row, and if the caller's ending column is the same as column.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • Range.isEqual(Range range)
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if and only if the starting row and column, and ending tow and column, are equivalent to those given by range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if and only if the starting row and column, and ending tow and column, are equivalent to those given by range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rangeRange

                                                                                                                                                                                                                                                                              Required. A range to check against

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • Range.isMultiLine +
                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the range spans across multiple lines.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the range spans across multiple lines.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the caller's starting row point is the same as row, and if the caller's starting column is the same as column.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns true if the caller's starting row point is the same as row, and if the caller's starting column is the same as column.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to compare with

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to set

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to set

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Sets the starting row and column for the range.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                              Required. A row point to set

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                              Required. A column point to set

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Given the current Range, this function converts those starting and ending points into screen positions, and then returns a new Range object.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Given the current Range, this function converts those starting and ending points into screen positions, and then returns a new Range object.

                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              sessionEditSession

                                                                                                                                                                                                                                                                              Required. The EditSession to retrieve coordinates from

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • Range.toString
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns a string containing the range's row and column information, given like this:

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                 [start.row/start.column] -> [end.row/end.column]
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Returns a string containing the range's row and column information, given like this:

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                 [start.row/start.column] -> [end.row/end.column]
                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/api/renderloop.html b/api/renderloop.html index 26aa4d16..4f47d88d 100644 --- a/api/renderloop.html +++ b/api/renderloop.html @@ -1,3 +1,55 @@ -

                                                                                                                                                                                                                                                                              Batches changes (that force something to be redrawn) in the background.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Constructors

                                                                                                                                                                                                                                                                                • new RenderLoop(onRender, win)
                                                                                                                                                                                                                                                                                • Internal

                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                • RenderLoop.schedule(Array change)
                                                                                                                                                                                                                                                                                • Internal

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              changeArray

                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              \ No newline at end of file + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              RenderLoop [edit] +

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Batches changes (that force something to be redrawn) in the background.

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/api/resources/csses/ace_api.css b/api/resources/csses/ace_api.css index 7080c7a5..e90e4131 100644 --- a/api/resources/csses/ace_api.css +++ b/api/resources/csses/ace_api.css @@ -707,7 +707,7 @@ li.signature { .eventObjName { font-style: italic; } -.eventListenerStart, .eventFunctionOpen, .eventFunctionClose { +.eventListenerStart, .eventListenerClose, .eventFunctionOpen, .eventFunctionClose { color: #999999; } .eventMember { diff --git a/api/resources/javascripts/ux.js b/api/resources/javascripts/ux.js index 4a2ffdbd..724c5e31 100644 --- a/api/resources/javascripts/ux.js +++ b/api/resources/javascripts/ux.js @@ -22,7 +22,7 @@ $(function () { if (query) { input.value = ""; input.blur(); - var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org/api" + " " + query); + var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org" + " " + query); window.open(url); } return false; diff --git a/api/scrollbar.html b/api/scrollbar.html index 8ba5848c..a3a8ae2d 100644 --- a/api/scrollbar.html +++ b/api/scrollbar.html @@ -1,19 +1,262 @@ -

                                                                                                                                                                                                                                                                              A set of methods for setting and retrieving the editor's scrollbar.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Constructors

                                                                                                                                                                                                                                                                              Creates a new ScrollBar. parent is the owner of the scroll bar.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Creates a new ScrollBar. parent is the owner of the scroll bar.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                              parentDOMElement

                                                                                                                                                                                                                                                                              Required. A DOM element

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Events

                                                                                                                                                                                                                                                                                • ScrollBar.on("scroll", function(Object e))

                                                                                                                                                                                                                                                                                Emitted when the scroll bar, well, scrolls.

                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                Emitted when the scroll bar, well, scrolls.

                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                                                eObject

                                                                                                                                                                                                                                                                                Required. Contains one property, "data", which indicates the current scroll top position

                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                Methods

                                                                                                                                                                                                                                                                                Returns the width of the scroll bar.

                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                Returns the width of the scroll bar.

                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                  • ScrollBar.setHeight(Number height)

                                                                                                                                                                                                                                                                                  Sets the height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                  Sets the height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                  heightNumber

                                                                                                                                                                                                                                                                                  Required. The new height

                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                    • ScrollBar.setInnerHeight(Number height)

                                                                                                                                                                                                                                                                                    Sets the inner height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                    Sets the inner height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                    heightNumber

                                                                                                                                                                                                                                                                                    Required. The new inner height

                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                      • ScrollBar.setScrollTop(Number scrollTop)

                                                                                                                                                                                                                                                                                      Sets the scroll top of the scroll bar.

                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                      Sets the scroll top of the scroll bar.

                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                      scrollTopNumber

                                                                                                                                                                                                                                                                                      Required. The new scroll top

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      \ No newline at end of file + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      ScrollBar [edit] +

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      A set of methods for setting and retrieving the editor's scrollbar.

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Constructors

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Creates a new ScrollBar. parent is the owner of the scroll bar.

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Creates a new ScrollBar. parent is the owner of the scroll bar.

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                      parentDOMElement

                                                                                                                                                                                                                                                                                      Required. A DOM element

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Events

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • ScrollBar.on("scroll", function(Object e))
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Emitted when the scroll bar, well, scrolls.

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Emitted when the scroll bar, well, scrolls.

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                      eObject

                                                                                                                                                                                                                                                                                      Required. Contains one property, "data", which indicates the current scroll top position

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • ScrollBar.getWidth +
                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Returns the width of the scroll bar.

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Returns the width of the scroll bar.

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • ScrollBar.onScroll
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • ScrollBar.setHeight(Number height)
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Sets the height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Sets the height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                      heightNumber

                                                                                                                                                                                                                                                                                      Required. The new height

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • ScrollBar.setInnerHeight(Number height)
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Sets the inner height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Sets the inner height of the scroll bar, in pixels.

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                      heightNumber

                                                                                                                                                                                                                                                                                      Required. The new inner height

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • ScrollBar.setScrollTop(Number scrollTop)
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Sets the scroll top of the scroll bar.

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Sets the scroll top of the scroll bar.

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                      scrollTopNumber

                                                                                                                                                                                                                                                                                      Required. The new scroll top

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/api/search.html b/api/search.html index a2e1f5f3..ea462e54 100644 --- a/api/search.html +++ b/api/search.html @@ -1,35 +1,292 @@ -

                                                                                                                                                                                                                                                                                      A class designed to handle all sorts of text searches within a Document.

                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                      Constructors

                                                                                                                                                                                                                                                                                        • new Search()

                                                                                                                                                                                                                                                                                        Creates a new Search object. The following search options are avaliable:

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Creates a new Search object. The following search options are avaliable:

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Search [edit] +

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        A class designed to handle all sorts of text searches within a Document.

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Constructors

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • new Search
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Creates a new Search object. The following search options are avaliable:

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Creates a new Search object. The following search options are avaliable:

                                                                                                                                                                                                                                                                                        • needle: The string or regular expression you're looking for
                                                                                                                                                                                                                                                                                        • backwards: Whether to search backwards from where cursor currently is. Defaults to false.
                                                                                                                                                                                                                                                                                        • wrap: Whether to wrap the search back to the beginning when it hits the end. Defaults to false.
                                                                                                                                                                                                                                                                                        • caseSensitive: Whether the search ought to be case-sensitive. Defaults to false.
                                                                                                                                                                                                                                                                                        • wholeWord: Whether the search matches only on whole words. Defaults to false.
                                                                                                                                                                                                                                                                                        • -
                                                                                                                                                                                                                                                                                        • range: The Range to search within. Set this to null for the whole document
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        • range: The Range to search within. Set this to null for the whole document
                                                                                                                                                                                                                                                                                        • regExp: Whether the search is a regular expression or not. Defaults to false.
                                                                                                                                                                                                                                                                                        • -
                                                                                                                                                                                                                                                                                        • start: The starting Range or cursor position to begin the search
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        • start: The starting Range or cursor position to begin the search
                                                                                                                                                                                                                                                                                        • skipCurrent: Whether or not to include the current line in the search. Default to false.
                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                                                                                        Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                        Required. The session to search with

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                        Required. The session to search with

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Returns an object containing all the search options.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Returns an object containing all the search options.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Searches for options.needle in input, and, if found, replaces it with replacement.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Searches for options.needle in input, and, if found, replaces it with replacement.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        inputString

                                                                                                                                                                                                                                                                                        Required. The text to search in

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        replacementString

                                                                                                                                                                                                                                                                                        Required. The replacing text

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Returns

                                                                                                                                                                                                                                                                                        String

                                                                                                                                                                                                                                                                                        If options.regExp is true, this function returns input with the replacement already made. Otherwise, this function just returns replacement.

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        + + + + + +

                                                                                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                        Required. The session to search with

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                        Required. The session to search with

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • Search.getOptions +
                                                                                                                                                                                                                                                                                          • + +
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Returns an object containing all the search options.

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Returns an object containing all the search options.

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Searches for options.needle in input, and, if found, replaces it with replacement.

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Searches for options.needle in input, and, if found, replaces it with replacement.

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        inputString

                                                                                                                                                                                                                                                                                        Required. The text to search in

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        replacementString

                                                                                                                                                                                                                                                                                        Required. The replacing text

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                        • If options.needle was not found, this function returns null.
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        • (String): If options.regExp is true, this function returns input with the replacement already made. Otherwise, this function just returns replacement.
                                                                                                                                                                                                                                                                                          +If options.needle was not found, this function returns null.
                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Sets the search options via the options parameter.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Sets the search options via the options parameter.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        optionsObject

                                                                                                                                                                                                                                                                                        Required. An object containing all the new search properties

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        \ No newline at end of file +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • Chainable
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Sets the search options via the options parameter.

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Sets the search options via the options parameter.

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        optionsObject

                                                                                                                                                                                                                                                                                        Required. An object containing all the new search properties

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • Search.setOptions
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        \ No newline at end of file diff --git a/api/selection.html b/api/selection.html index bb08acd7..a7662313 100644 --- a/api/selection.html +++ b/api/selection.html @@ -1,123 +1,1577 @@ -

                                                                                                                                                                                                                                                                                        Contains the cursor position and the text selection of an edit session.

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Contains the cursor position and the text selection of an edit session.

                                                                                                                                                                                                                                                                                        The row/columns used in the selection are in document coordinates representing ths coordinates as thez appear in the document before applying soft wrap and folding.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Constructors

                                                                                                                                                                                                                                                                                        Creates a new Selection object.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Creates a new Selection object.

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                        Required. The session to use

                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                        Events

                                                                                                                                                                                                                                                                                          • Selection.on("changeCursor", function())

                                                                                                                                                                                                                                                                                          Emitted when the cursor position changes.

                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                          Emitted when the cursor position changes.

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                            • Selection.on("changeSelection", function())

                                                                                                                                                                                                                                                                                            Emitted when the cursor selection changes.

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Emitted when the cursor selection changes.

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                            Adds a range to a selection by entering multiselect mode, if necessary.

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Adds a range to a selection by entering multiselect mode, if necessary.

                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                            rangeRange

                                                                                                                                                                                                                                                                                            Required. The new range to add

                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                            $blockChangeEventsBoolean

                                                                                                                                                                                                                                                                                            Required. Whether or not to block changing events

                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                              • Selection.clearSelection()

                                                                                                                                                                                                                                                                                              Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                              Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                              Gets the current position of the cursor.

                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                              Gets the current position of the cursor.

                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                • Selection.getRange()

                                                                                                                                                                                                                                                                                                Returns the Range for the selected text.

                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                Returns the Range for the selected text.

                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                  • Selection.getSelectionAnchor()
                                                                                                                                                                                                                                                                                                  • Related to:

                                                                                                                                                                                                                                                                                                Returns an object containing the row and column of the calling selection anchor.

                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                Returns an object containing the row and column of the calling selection anchor.

                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                  • Selection.getSelectionLead()

                                                                                                                                                                                                                                                                                                  Returns an object containing the row and column of the calling selection lead.

                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                  Returns an object containing the row and column of the calling selection lead.

                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                  Returns true if the selection is going backwards in the document.

                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                  Returns true if the selection is going backwards in the document.

                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                  Returns true if the selection is empty.

                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                  Returns true if the selection is empty.

                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                  Returns true if the selection is a multi-line.

                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                  Returns true if the selection is a multi-line.

                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                    • Selection.mergeOverlappingRanges()

                                                                                                                                                                                                                                                                                                    Merges overlapping ranges ensuring consistency after changes

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                    Merges overlapping ranges ensuring consistency after changes

                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                      • Related to:

                                                                                                                                                                                                                                                                                                    Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                    Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                                    rowsNumber

                                                                                                                                                                                                                                                                                                    Required. The number of rows to move by

                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                    charsNumber

                                                                                                                                                                                                                                                                                                    Required. The number of characters to move by

                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                      • Selection.moveCursorDown()

                                                                                                                                                                                                                                                                                                      Moves the cursor down one row.

                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                      Moves the cursor down one row.

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                        • Selection.moveCursorFileEnd()

                                                                                                                                                                                                                                                                                                        Moves the cursor to the end of the file.

                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                        Moves the cursor to the end of the file.

                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                          • Selection.moveCursorFileStart()

                                                                                                                                                                                                                                                                                                          Moves the cursor to the start of the file.

                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                          Moves the cursor to the start of the file.

                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                            • Selection.moveCursorLeft()

                                                                                                                                                                                                                                                                                                            Moves the cursor left one column.

                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                            Moves the cursor left one column.

                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                              • Selection.moveCursorLineEnd()

                                                                                                                                                                                                                                                                                                              Moves the cursor to the end of the line.

                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                              Moves the cursor to the end of the line.

                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                • Selection.moveCursorLineStart()

                                                                                                                                                                                                                                                                                                                Moves the cursor to the start of the line.

                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                Moves the cursor to the start of the line.

                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                  • Selection.moveCursorLongWordLeft()

                                                                                                                                                                                                                                                                                                                  Moves the cursor to the word on the left.

                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                  Moves the cursor to the word on the left.

                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                    • Selection.moveCursorLongWordRight()

                                                                                                                                                                                                                                                                                                                    Moves the cursor to the word on the right.

                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                    Moves the cursor to the word on the right.

                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                      • Selection.moveCursorRight()

                                                                                                                                                                                                                                                                                                                      Moves the cursor right one column.

                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                      Moves the cursor right one column.

                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                      Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                      Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                      rowNumber

                                                                                                                                                                                                                                                                                                                      Required. The row to move to

                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                      columnNumber

                                                                                                                                                                                                                                                                                                                      Required. The column to move to

                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                      keepDesiredColumnBoolean

                                                                                                                                                                                                                                                                                                                      Required. If true, the cursor move does not respect the previous column

                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorToPosition(Object position)

                                                                                                                                                                                                                                                                                                                        Moves the selection to the position indicated by its row and column.

                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                        Moves the selection to the position indicated by its row and column.

                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                        positionObject

                                                                                                                                                                                                                                                                                                                        Required. The position to move to

                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                        Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                        Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                        rowNumber

                                                                                                                                                                                                                                                                                                                        Required. The row to move to

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        columnNumber

                                                                                                                                                                                                                                                                                                                        Required. The column to move to

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        keepDesiredColumnBoolean

                                                                                                                                                                                                                                                                                                                        Required. If true, the cursor move does not respect the previous column

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                          • Selection.moveCursorUp()

                                                                                                                                                                                                                                                                                                                          Moves the cursor up one row.

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                          Moves the cursor up one row.

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                          Gets list of ranges composing rectangular block on the screen

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                          Gets list of ranges composing rectangular block on the screen

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                          Arguments

                                                                                                                                                                                                                                                                                                                          screenCursorCursor

                                                                                                                                                                                                                                                                                                                          Required. The cursor to use

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                          screenAnchorAnchor

                                                                                                                                                                                                                                                                                                                          Required. The anchor to use

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                          includeEmptyLinesBoolean

                                                                                                                                                                                                                                                                                                                          Required. If true, this includes ranges inside the block which are empty due to clipping

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                            • Selection.selectAll()

                                                                                                                                                                                                                                                                                                                            Selects all the text in the document.

                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                            Selects all the text in the document.

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                              • Selection.selectAWord()
                                                                                                                                                                                                                                                                                                                              • Related to:

                                                                                                                                                                                                                                                                                                                            Selects a word, including its right whitespace.

                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                            Selects a word, including its right whitespace.

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                              • Selection.selectDown()

                                                                                                                                                                                                                                                                                                                              Moves the selection down one row.

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                              Moves the selection down one row.

                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                • Selection.selectFileEnd()

                                                                                                                                                                                                                                                                                                                                Moves the selection to the end of the file.

                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                Moves the selection to the end of the file.

                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                  • Selection.selectFileStart()

                                                                                                                                                                                                                                                                                                                                  Moves the selection to the start of the file.

                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                  Moves the selection to the start of the file.

                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                    • Selection.selectLeft()

                                                                                                                                                                                                                                                                                                                                    Moves the selection left one column.

                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                    Moves the selection left one column.

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                      • Selection.selectLine()

                                                                                                                                                                                                                                                                                                                                      Selects the entire line.

                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                      Selects the entire line.

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                        • Selection.selectLineEnd()

                                                                                                                                                                                                                                                                                                                                        Moves the selection to the end of the current line.

                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                        Moves the selection to the end of the current line.

                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                          • Selection.selectLineStart()

                                                                                                                                                                                                                                                                                                                                          Moves the selection to the beginning of the current line.

                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                          Moves the selection to the beginning of the current line.

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                            • Selection.selectRight()

                                                                                                                                                                                                                                                                                                                                            Moves the selection right one column.

                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                            Moves the selection right one column.

                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                            Moves the selection cursor to the indicated row and column.

                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                            Moves the selection cursor to the indicated row and column.

                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                            rowNumber

                                                                                                                                                                                                                                                                                                                                            Required. The row to select to

                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                            columnNumber

                                                                                                                                                                                                                                                                                                                                            Required. The column to select to

                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                              • Selection.selectToPosition(Object pos)

                                                                                                                                                                                                                                                                                                                                              Moves the selection cursor to the row and column indicated by pos.

                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                              Moves the selection cursor to the row and column indicated by pos.

                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                              posObject

                                                                                                                                                                                                                                                                                                                                              Required. An object containing the row and column

                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                • Selection.selectUp()

                                                                                                                                                                                                                                                                                                                                                Moves the selection up one row.

                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                Moves the selection up one row.

                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                  • Selection.selectWord()
                                                                                                                                                                                                                                                                                                                                                  • Related to:

                                                                                                                                                                                                                                                                                                                                                Moves the selection to highlight the entire word.

                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                Moves the selection to highlight the entire word.

                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                  • Selection.selectWordLeft()

                                                                                                                                                                                                                                                                                                                                                  Moves the selection to the first word on the left.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  Moves the selection to the first word on the left.

                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                    • Selection.selectWordRight()

                                                                                                                                                                                                                                                                                                                                                    Moves the selection to the first word on the right.

                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                    Moves the selection to the first word on the right.

                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                    Sets the row and column position of the anchor. This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                    Sets the row and column position of the anchor. This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                                                                                    rowNumber

                                                                                                                                                                                                                                                                                                                                                    Required. The new row

                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                    columnNumber

                                                                                                                                                                                                                                                                                                                                                    Required. The new column

                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                    Sets the selection to the provided range.

                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                    Sets the selection to the provided range.

                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                                                                                    rangeRange

                                                                                                                                                                                                                                                                                                                                                    Required. The range of text to select

                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                    reverseBoolean

                                                                                                                                                                                                                                                                                                                                                    Required. Indicates if the range should go backwards (true) or not

                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                      • Selection.shiftSelection(Number columns)

                                                                                                                                                                                                                                                                                                                                                      Shifts the selection up (or down, if isBackwards() is true) the given number of columns.

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Shifts the selection up (or down, if isBackwards() is true) the given number of columns.

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      columnsNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The number of columns to shift by

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Removes a Range containing pos (if it exists).

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Removes a Range containing pos (if it exists).

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      posRange

                                                                                                                                                                                                                                                                                                                                                      Required. The position to remove, as a {row, column} object

                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Constructors

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Creates a new Selection object.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Creates a new Selection object.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      sessionEditSession

                                                                                                                                                                                                                                                                                                                                                      Required. The session to use

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Events

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.on("changeCursor", function())
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Emitted when the cursor position changes.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Emitted when the cursor position changes.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.on("changeSelection", function())
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Emitted when the cursor selection changes.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Emitted when the cursor selection changes.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.clearSelection
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.detach
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.fromOrientedRange
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.getCursor +
                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Gets the current position of the cursor.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Gets the current position of the cursor.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.getLineRange
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.getRange +
                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns the Range for the selected text.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns the Range for the selected text.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.getSelectionAnchor
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns an object containing the row and column of the calling selection anchor.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns an object containing the row and column of the calling selection anchor.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.getSelectionLead +
                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns an object containing the row and column of the calling selection lead.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns an object containing the row and column of the calling selection lead.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to highlight the entire word.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to highlight the entire word.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      rowObject

                                                                                                                                                                                                                                                                                                                                                      Required.

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      columnObject

                                                                                                                                                                                                                                                                                                                                                      Required.

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.isBackwards +
                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns true if the selection is going backwards in the document.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns true if the selection is going backwards in the document.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.isEmpty +
                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns true if the selection is empty.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns true if the selection is empty.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.isMultiLine +
                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns true if the selection is a multi-line.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns true if the selection is a multi-line.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      rowsNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The number of rows to move by

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      charsNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The number of characters to move by

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorDown
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor down one row.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor down one row.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorFileEnd
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the end of the file.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the end of the file.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorFileStart
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the start of the file.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the start of the file.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorLeft
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor left one column.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor left one column.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorLineEnd
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the end of the line.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the end of the line.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorLineStart
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the start of the line.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the start of the line.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorLongWordLeft
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the word on the left.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the word on the left.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorLongWordRight
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the word on the right.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the word on the right.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorRight
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor right one column.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor right one column.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorShortWordLeft
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorShortWordRight
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the row and column provided. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      rowNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The row to move to

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      columnNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The column to move to

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      keepDesiredColumnBoolean

                                                                                                                                                                                                                                                                                                                                                      Required. If true, the cursor move does not respect the previous column

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorToPosition(Object position)
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the position indicated by its row and column.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the position indicated by its row and column.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      positionObject

                                                                                                                                                                                                                                                                                                                                                      Required. The position to move to

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      rowNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The row to move to

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      columnNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The column to move to

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      keepDesiredColumnBoolean

                                                                                                                                                                                                                                                                                                                                                      Required. If true, the cursor move does not respect the previous column

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorUp
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor up one row.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the cursor up one row.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorWordLeft
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.moveCursorWordRight
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectAll
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects all the text in the document.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects all the text in the document.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectAWord
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects a word, including its right whitespace.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects a word, including its right whitespace.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectDown
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection down one row.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection down one row.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectFileEnd
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the end of the file.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the end of the file.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectFileStart
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the start of the file.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the start of the file.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectLeft
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection left one column.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection left one column.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectLine
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects the entire line.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects the entire line.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectLineEnd
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the end of the current line.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the end of the current line.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectLineStart
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the beginning of the current line.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the beginning of the current line.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectRight
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection right one column.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection right one column.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection cursor to the indicated row and column.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection cursor to the indicated row and column.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      rowNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The row to select to

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      columnNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The column to select to

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectToPosition(Object pos)
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection cursor to the row and column indicated by pos.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection cursor to the row and column indicated by pos.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      posObject

                                                                                                                                                                                                                                                                                                                                                      Required. An object containing the row and column

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectUp
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection up one row.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection up one row.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectWord
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects an entire word boundary.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Selects an entire word boundary.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectWordLeft
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the first word on the left.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the first word on the left.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.selectWordRight
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the first word on the right.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Moves the selection to the first word on the right.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.setSelectionAnchor(Number row, Number column)
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Sets the row and column position of the anchor. This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Sets the row and column position of the anchor. This function also emits the 'changeSelection' event.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      rowNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The new row

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      columnNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The new column

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.setSelectionRange(Range range, Boolean reverse)
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Sets the selection to the provided range.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Sets the selection to the provided range.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      rangeRange

                                                                                                                                                                                                                                                                                                                                                      Required. The range of text to select

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      reverseBoolean

                                                                                                                                                                                                                                                                                                                                                      Required. Indicates if the range should go backwards (true) or not

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.shiftSelection(Number columns)
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Shifts the selection up (or down, if isBackwards() is true) the given number of columns.

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Shifts the selection up (or down, if isBackwards() is true) the given number of columns.

                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      columnsNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The number of columns to shift by

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Selection.toOrientedRange
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • Incomplete
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/api/split.html b/api/split.html index 44c46036..b5626ad4 100644 --- a/api/split.html +++ b/api/split.html @@ -1,36 +1,642 @@ -

                                                                                                                                                                                                                                                                                                                                                      Constructors

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      containerDocument

                                                                                                                                                                                                                                                                                                                                                      Required. The document to associate with the split

                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                      themeString

                                                                                                                                                                                                                                                                                                                                                      Required. The name of the initial theme

                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                      splitsNumber

                                                                                                                                                                                                                                                                                                                                                      Required. The number of initial splits

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                        • Split.blur()
                                                                                                                                                                                                                                                                                                                                                          • Void
                                                                                                                                                                                                                                                                                                                                                        • Related to:

                                                                                                                                                                                                                                                                                                                                                      Blurs the current editor.

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Blurs the current editor.

                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                        • Split.focus()
                                                                                                                                                                                                                                                                                                                                                          • Void
                                                                                                                                                                                                                                                                                                                                                        • Related to:

                                                                                                                                                                                                                                                                                                                                                      Focuses the current editor.

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Focuses the current editor.

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Executes callback on all of the available editors.

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Executes callback on all of the available editors.

                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                      callbackFunction

                                                                                                                                                                                                                                                                                                                                                      Required. A callback function to execute

                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                      scopeString

                                                                                                                                                                                                                                                                                                                                                      Required.

                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                        • Split.getCurrentEditor()

                                                                                                                                                                                                                                                                                                                                                        Returns the current editor.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns the current editor.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns the editor identified by the index idx.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns the editor identified by the index idx.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        idxNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The index of the editor you want

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                          • Internal

                                                                                                                                                                                                                                                                                                                                                        Returns the orientation.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns the orientation.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns the number of splits.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns the number of splits.

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                          • Split.resize()
                                                                                                                                                                                                                                                                                                                                                            • Void
                                                                                                                                                                                                                                                                                                                                                          • Internal
                                                                                                                                                                                                                                                                                                                                                          • Split.setFontSize(Number size)
                                                                                                                                                                                                                                                                                                                                                            • Void
                                                                                                                                                                                                                                                                                                                                                          • Related to:

                                                                                                                                                                                                                                                                                                                                                        Sets the font size, in pixels, for all the available editors.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Sets the font size, in pixels, for all the available editors.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        sizeNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The new font size

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                          • Split.setKeyboardHandler(String keybinding)
                                                                                                                                                                                                                                                                                                                                                            • Void
                                                                                                                                                                                                                                                                                                                                                          • Internal

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        keybindingString

                                                                                                                                                                                                                                                                                                                                                        Required.

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                          • Split.setOrientation(Number oriantation)
                                                                                                                                                                                                                                                                                                                                                            • Void
                                                                                                                                                                                                                                                                                                                                                          • Internal

                                                                                                                                                                                                                                                                                                                                                        Sets the orientation.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Sets the orientation.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        oriantationNumber

                                                                                                                                                                                                                                                                                                                                                        Required.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Sets a new EditSession for the indicated editor.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Sets a new EditSession for the indicated editor.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                                                                                        Required. The new edit session

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        idxNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The editor's index you're interested in

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                          • Split.setSplits(Number splits)
                                                                                                                                                                                                                                                                                                                                                            • Void
                                                                                                                                                                                                                                                                                                                                                          • Internal

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        splitsNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The new number of splits

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                          • Split.setTheme(String theme)
                                                                                                                                                                                                                                                                                                                                                            • Void
                                                                                                                                                                                                                                                                                                                                                          • Related to:

                                                                                                                                                                                                                                                                                                                                                        Sets a theme for each of the available editors.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Sets a theme for each of the available editors.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        themeString

                                                                                                                                                                                                                                                                                                                                                        Required. The name of the theme to set

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                          • Split.UndoManagerProxy()
                                                                                                                                                                                                                                                                                                                                                            • Void
                                                                                                                                                                                                                                                                                                                                                          • Internal
                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Split [edit] +

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.blur
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Blurs the current editor.

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Blurs the current editor.

                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.execute
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.focus
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Focuses the current editor.

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Focuses the current editor.

                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        callbackFunction

                                                                                                                                                                                                                                                                                                                                                        Required. A callback function to execute

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        scopeString

                                                                                                                                                                                                                                                                                                                                                        Required. The default scope for the callback

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Executes callback on all of the available editors.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.getCurrentEditor +
                                                                                                                                                                                                                                                                                                                                                          • + +
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Returns the current editor.

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Returns the current editor.

                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.getEditor(Number idx)
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        idxNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The index of the editor you want

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Returns the editor identified by the index idx.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.getOrientation
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Returns the orientation.

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Returns the orientation.

                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.getSplits +
                                                                                                                                                                                                                                                                                                                                                          • + +
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Returns the number of splits.

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Returns the number of splits.

                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.hasRedo
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.hasUndo
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.redo
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.reset
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.resize
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Split.resize() -> Void

                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Split.resize() -> Void

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Resizes the editor.

                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.setFontSize(Number size)
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        sizeNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The new font size

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Sets the font size, in pixels, for all the available editors.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.setKeyboardHandler(String keybinding)
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        keybindingString

                                                                                                                                                                                                                                                                                                                                                        Required. Sets the keyboard handler for the editor.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.setOrientation(Number orientation)
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        orientationNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The new orientation value

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Sets the orientation.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                                                                                        Required. The new edit session

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        idxNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The editor's index you're interested in

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Sets a new EditSession for the indicated editor.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.setSplits
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.setTheme(String theme)
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        themeString

                                                                                                                                                                                                                                                                                                                                                        Required. The name of the theme to set

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Sets a theme for each of the available editors.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.undo
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Split.UndoManagerProxy
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • Incomplete
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file diff --git a/api/token_iterator.html b/api/token_iterator.html index a6de2ef9..685b8b25 100644 --- a/api/token_iterator.html +++ b/api/token_iterator.html @@ -1,18 +1,248 @@ -

                                                                                                                                                                                                                                                                                                                                                        This class provides an essay way to treat the document as a stream of tokens, and provides methods to iterate over these tokens.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Constructors

                                                                                                                                                                                                                                                                                                                                                        Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                        sessionEditSession

                                                                                                                                                                                                                                                                                                                                                        Required. The session to associate with

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        initialRowNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The row to start the tokenizing at

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        initialColumnNumber

                                                                                                                                                                                                                                                                                                                                                        Required. The column to start the tokenizing at

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                                                                                                                                                          • TokenIterator.getCurrentToken()

                                                                                                                                                                                                                                                                                                                                                          Returns the current tokenized string.

                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                          Returns the current tokenized string.

                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                            • TokenIterator.getCurrentTokenColumn()

                                                                                                                                                                                                                                                                                                                                                            Returns the current column.

                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                            Returns the current column.

                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                              • TokenIterator.getCurrentTokenRow()

                                                                                                                                                                                                                                                                                                                                                              Returns the current row.

                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                              Returns the current row.

                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                • TokenIterator.stepBackward()

                                                                                                                                                                                                                                                                                                                                                                Tokenizes all the items from the current point to the row prior in the document.

                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                Tokenizes all the items from the current point to the row prior in the document.

                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                Returns

                                                                                                                                                                                                                                                                                                                                                                String

                                                                                                                                                                                                                                                                                                                                                                If the current point is not at the top of the file, this function returns null. Otherwise, it returns an array of the tokenized strings.

                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                  • TokenIterator.stepForward()

                                                                                                                                                                                                                                                                                                                                                                  Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.

                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                  Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.

                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  TokenIterator [edit] +

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  This class provides an essay way to treat the document as a stream of tokens, and provides methods to iterate over these tokens.

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Constructors

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.

                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                  sessionEditSession

                                                                                                                                                                                                                                                                                                                                                                  Required. The session to associate with

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  initialRowNumber

                                                                                                                                                                                                                                                                                                                                                                  Required. The row to start the tokenizing at

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  initialColumnNumber

                                                                                                                                                                                                                                                                                                                                                                  Required. The column to start the tokenizing at

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • TokenIterator.getCurrentToken +
                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Returns the current tokenized string.

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Returns the current tokenized string.

                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • TokenIterator.getCurrentTokenColumn +
                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Returns the current column.

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Returns the current column.

                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • TokenIterator.getCurrentTokenRow +
                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Returns the current row.

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Returns the current row.

                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • TokenIterator.stepBackward
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Tokenizes all the items from the current point to the row prior in the document.

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Tokenizes all the items from the current point to the row prior in the document.

                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • TokenIterator.stepForward +
                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.

                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/api/tokenizer.html b/api/tokenizer.html index 5ca489e9..1e677cc6 100644 --- a/api/tokenizer.html +++ b/api/tokenizer.html @@ -1,8 +1,122 @@ -

                                                                                                                                                                                                                                                                                                                                                                  Constructors

                                                                                                                                                                                                                                                                                                                                                                  Constructs a new tokenizer based on the given rules and flags.

                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                  Constructs a new tokenizer based on the given rules and flags.

                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                  rulesObject

                                                                                                                                                                                                                                                                                                                                                                  Required. The highlighting rules

                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                  flagString

                                                                                                                                                                                                                                                                                                                                                                  Required. Any additional regular expression flags to pass (like "i" for case insensitive)

                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                                                                                                                                                                    • Tokenizer.getLineTokens()

                                                                                                                                                                                                                                                                                                                                                                    Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.

                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                    Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.

                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Tokenizer [edit] +

                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                    Constructors

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Constructs a new tokenizer based on the given rules and flags.

                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Constructs a new tokenizer based on the given rules and flags.

                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                                                                                                    rulesObject

                                                                                                                                                                                                                                                                                                                                                                    Required. The highlighting rules

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    flagString

                                                                                                                                                                                                                                                                                                                                                                    Required. Any additional regular expression flags to pass (like "i" for case insensitive)

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.

                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                    Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.

                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                                                                                                    lineObject

                                                                                                                                                                                                                                                                                                                                                                    Required.

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    startStateObject

                                                                                                                                                                                                                                                                                                                                                                    Required.

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file diff --git a/api/undomanager.html b/api/undomanager.html index da876c91..4b5b53af 100644 --- a/api/undomanager.html +++ b/api/undomanager.html @@ -1,23 +1,275 @@ -

                                                                                                                                                                                                                                                                                                                                                                    This object maintains the undo stack for an EditSession.

                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                    Constructors

                                                                                                                                                                                                                                                                                                                                                                      • new UndoManager()

                                                                                                                                                                                                                                                                                                                                                                      Resets the current undo state and creates a new UndoManager.

                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                      Resets the current undo state and creates a new UndoManager.

                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                        • UndoManager.execute(Object options)
                                                                                                                                                                                                                                                                                                                                                                          • Void

                                                                                                                                                                                                                                                                                                                                                                        Provides a means for implementing your own undo manager. options has one property, args, an Array, with two elements:

                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                        Provides a means for implementing your own undo manager. options has one property, args, an Array, with two elements:

                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        UndoManager [edit] +

                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        This object maintains the undo stack for an EditSession.

                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Constructors

                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                          • new UndoManager
                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Resets the current undo state and creates a new UndoManager.

                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Resets the current undo state and creates a new UndoManager.

                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                          • UndoManager.execute(Object options)
                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Provides a means for implementing your own undo manager. options has one property, args, an Array, with two elements:

                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                        Provides a means for implementing your own undo manager. options has one property, args, an Array, with two elements:

                                                                                                                                                                                                                                                                                                                                                                        • args[0] is an array of deltas
                                                                                                                                                                                                                                                                                                                                                                        • args[1] is the document to associate with
                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                                        optionsObject

                                                                                                                                                                                                                                                                                                                                                                        Required. Contains additional properties

                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                        Returns true if there are redo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                        Returns true if there are redo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                        Returns true if there are undo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                        Returns true if there are undo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                          • UndoManager.redo(Boolean dontSelect)
                                                                                                                                                                                                                                                                                                                                                                            • Void

                                                                                                                                                                                                                                                                                                                                                                          Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                          Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                          Arguments

                                                                                                                                                                                                                                                                                                                                                                          dontSelectBoolean

                                                                                                                                                                                                                                                                                                                                                                          Required. If true, doesn't select the range of where the change occured

                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                            • UndoManager.reset()
                                                                                                                                                                                                                                                                                                                                                                              • Void

                                                                                                                                                                                                                                                                                                                                                                            Destroys the stack of undo and redo redo operations.

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Destroys the stack of undo and redo redo operations.

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Perform an undo operation on the document, reverting the last change. Returns the range of the undo.

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Perform an undo operation on the document, reverting the last change. Returns the range of the undo.

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            dontSelectBoolean

                                                                                                                                                                                                                                                                                                                                                                            Required. If true, doesn't select the range of where the change occured

                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file + +

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            optionsObject

                                                                                                                                                                                                                                                                                                                                                                            Required. Contains additional properties

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              • UndoManager.hasRedo +
                                                                                                                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Returns true if there are redo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Returns true if there are redo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              • UndoManager.hasUndo +
                                                                                                                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Returns true if there are undo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Returns true if there are undo operations left to perform.

                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              • UndoManager.redo(Boolean dontSelect)
                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Perform a redo operation on the document, reimplementing the last change.

                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            dontSelectBoolean

                                                                                                                                                                                                                                                                                                                                                                            Required. If true, doesn't select the range of where the change occured

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              • UndoManager.reset
                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Destroys the stack of undo and redo redo operations.

                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Destroys the stack of undo and redo redo operations.

                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Perform an undo operation on the document, reverting the last change.

                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Perform an undo operation on the document, reverting the last change.

                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            dontSelectBoolean

                                                                                                                                                                                                                                                                                                                                                                            Required. If true, doesn't select the range of where the change occured

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file diff --git a/api/virtual_renderer.html b/api/virtual_renderer.html index b61cb4b5..d1989466 100644 --- a/api/virtual_renderer.html +++ b/api/virtual_renderer.html @@ -1,153 +1,2194 @@ -

                                                                                                                                                                                                                                                                                                                                                                            The class that is responsible for drawing everything you see on the screen!

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Constructors

                                                                                                                                                                                                                                                                                                                                                                            Constructs a new VirtualRenderer within the container specified, applying the given theme.

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Constructs a new VirtualRenderer within the container specified, applying the given theme.

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                            containerDOMElement

                                                                                                                                                                                                                                                                                                                                                                            Required. The root element of the editor

                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                            themeString

                                                                                                                                                                                                                                                                                                                                                                            Required. The starting theme

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                                                                                              • VirtualRenderer.addGutterDecoration(row, className)
                                                                                                                                                                                                                                                                                                                                                                              • Deprecated

                                                                                                                                                                                                                                                                                                                                                                            Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                            Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                              • VirtualRenderer.adjustWrapLimit()

                                                                                                                                                                                                                                                                                                                                                                              Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.

                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                              Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.

                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.destroy()

                                                                                                                                                                                                                                                                                                                                                                                Destroys the text and cursor layers for this renderer.

                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                Destroys the text and cursor layers for this renderer.

                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.getAnimatedScroll()

                                                                                                                                                                                                                                                                                                                                                                                  Returns whether an animated scroll happens or not.

                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                  Returns whether an animated scroll happens or not.

                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                  Returns the root element containing this renderer.

                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                  Returns the root element containing this renderer.

                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                    • VirtualRenderer.getFirstFullyVisibleRow()

                                                                                                                                                                                                                                                                                                                                                                                    Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                    Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                      • VirtualRenderer.getFirstVisibleRow()

                                                                                                                                                                                                                                                                                                                                                                                      Returns the index of the first visible row.

                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                      Returns the index of the first visible row.

                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                        • VirtualRenderer.getHScrollBarAlwaysVisible()

                                                                                                                                                                                                                                                                                                                                                                                        Returns whether the horizontal scrollbar is set to be always visible.

                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                        Returns whether the horizontal scrollbar is set to be always visible.

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                          • VirtualRenderer.getLastFullyVisibleRow()

                                                                                                                                                                                                                                                                                                                                                                                          Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                          Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                            • VirtualRenderer.getLastVisibleRow()

                                                                                                                                                                                                                                                                                                                                                                                            Returns the index of the last visible row.

                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                            Returns the index of the last visible row.

                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                            Returns the element that the mouse events are attached to

                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                            Returns the element that the mouse events are attached to

                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                              • VirtualRenderer.getPrintMarginColumn()

                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the print margin column is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the print margin column is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getScrollBottomRow()

                                                                                                                                                                                                                                                                                                                                                                                                Returns the last visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                Returns the last visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.getScrollLeft()
                                                                                                                                                                                                                                                                                                                                                                                                  • Related to:

                                                                                                                                                                                                                                                                                                                                                                                                Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.getScrollTop()
                                                                                                                                                                                                                                                                                                                                                                                                  • Related to:

                                                                                                                                                                                                                                                                                                                                                                                                Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.getScrollTopRow()

                                                                                                                                                                                                                                                                                                                                                                                                  Returns the first visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                  Returns the first visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                    • VirtualRenderer.getShowGutter()

                                                                                                                                                                                                                                                                                                                                                                                                    Returns true if the gutter is being shown.

                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                    Returns true if the gutter is being shown.

                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                      • VirtualRenderer.getShowInvisibles()

                                                                                                                                                                                                                                                                                                                                                                                                      Returns whether invisible characters are being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                      Returns whether invisible characters are being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                        • VirtualRenderer.getShowPrintMargin()

                                                                                                                                                                                                                                                                                                                                                                                                        Returns whetherthe print margin is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                        Returns whetherthe print margin is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                        Returns the element to which the hidden text area is added.

                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                        Returns the element to which the hidden text area is added.

                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                          • VirtualRenderer.getTheme()

                                                                                                                                                                                                                                                                                                                                                                                                          Returns the path of the current theme.

                                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                                          Returns the path of the current theme.

                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                            • VirtualRenderer.hideComposition()

                                                                                                                                                                                                                                                                                                                                                                                                            Hides the current composition.

                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                            Hides the current composition.

                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                              • VirtualRenderer.hideCursor()

                                                                                                                                                                                                                                                                                                                                                                                                              Hides the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Hides the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Returns true if you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Returns true if you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                              deltaXNumber

                                                                                                                                                                                                                                                                                                                                                                                                              Required. The x value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              deltaYNumber

                                                                                                                                                                                                                                                                                                                                                                                                              Required. The y value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                              forceBoolean

                                                                                                                                                                                                                                                                                                                                                                                                              Required. If true, recomputes the size, even if the height and width haven't changed

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              gutterWidthNumber

                                                                                                                                                                                                                                                                                                                                                                                                              Required. The width of the gutter in pixels

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              widthNumber

                                                                                                                                                                                                                                                                                                                                                                                                              Required. The width of the editor in pixels

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              heightNumber

                                                                                                                                                                                                                                                                                                                                                                                                              Required. The hiehgt of the editor, in pixels

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.removeGutterDecoration(row, className)
                                                                                                                                                                                                                                                                                                                                                                                                                  • Void
                                                                                                                                                                                                                                                                                                                                                                                                                • Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                              Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor across both x- and y-axes.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor across both x- and y-axes.

                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                              deltaXNumber

                                                                                                                                                                                                                                                                                                                                                                                                              Required. The x value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              deltaYNumber

                                                                                                                                                                                                                                                                                                                                                                                                              Required. The y value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.scrollCursorIntoView(cursor, offset)

                                                                                                                                                                                                                                                                                                                                                                                                                Scrolls the cursor into the first visibile area of the editor

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Scrolls the cursor into the first visibile area of the editor

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Gracefully scrolls the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Gracefully scrolls the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                lineNumber

                                                                                                                                                                                                                                                                                                                                                                                                                Required. A line number

                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                centerBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                Required. If true, centers the editor the to indicated line

                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                animateBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                Required. If true animates scrolling

                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                callbackFunction

                                                                                                                                                                                                                                                                                                                                                                                                                Required. Function to be called after the animation has finished

                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.scrollToRow(Number row)
                                                                                                                                                                                                                                                                                                                                                                                                                  • Related to:

                                                                                                                                                                                                                                                                                                                                                                                                                Gracefully scrolls the top of the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Gracefully scrolls the top of the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                rowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                Required. A row id

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Scrolls the editor to the x pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Scrolls the editor to the x pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                scrollLeftNumber

                                                                                                                                                                                                                                                                                                                                                                                                                Required. The position to scroll to

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Scrolls the editor to the y pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Scrolls the editor to the y pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                scrollTopNumber

                                                                                                                                                                                                                                                                                                                                                                                                                Required. The position to scroll to

                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.setAnimatedScroll(Boolean shouldAnimate)

                                                                                                                                                                                                                                                                                                                                                                                                                  Identifies whether you want to have an animated scroll or not.

                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                  Identifies whether you want to have an animated scroll or not.

                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                  shouldAnimateBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                  Required. Set to true to show animated scrolls

                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                    • VirtualRenderer.setAnnotations(Array annotations)

                                                                                                                                                                                                                                                                                                                                                                                                                    Sets annotations for the gutter.

                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                    Sets annotations for the gutter.

                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                    annotationsArray

                                                                                                                                                                                                                                                                                                                                                                                                                    Required. An array containing annotations

                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                      • VirtualRenderer.setCompositionText(String text)

                                                                                                                                                                                                                                                                                                                                                                                                                      Sets the inner text of the current composition to text.

                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                      Sets the inner text of the current composition to text.

                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                      textString

                                                                                                                                                                                                                                                                                                                                                                                                                      Required. A string of text to use

                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                        • VirtualRenderer.setHScrollBarAlwaysVisible(Boolean alwaysVisible)

                                                                                                                                                                                                                                                                                                                                                                                                                        Identifies whether you want to show the horizontal scrollbar or not.

                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                        Identifies whether you want to show the horizontal scrollbar or not.

                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                        alwaysVisibleBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                        Required. Set to true to make the horizontal scroll bar visible

                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                          • VirtualRenderer.setPadding(Number padding)

                                                                                                                                                                                                                                                                                                                                                                                                                          Sets the padding for all the layers.

                                                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                                                          Sets the padding for all the layers.

                                                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                                                          Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                          paddingNumber

                                                                                                                                                                                                                                                                                                                                                                                                                          Required. A new padding value (in pixels)

                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                            • VirtualRenderer.setPrintMarginColumn(Boolean showPrintMargin)

                                                                                                                                                                                                                                                                                                                                                                                                                            Identifies whether you want to show the print margin column or not.

                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                            Identifies whether you want to show the print margin column or not.

                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                            showPrintMarginBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                            Required. Set to true to show the print margin column

                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                              • VirtualRenderer.setShowGutter(Boolean show)

                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the gutter or not.

                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the gutter or not.

                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                              showBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Set to true to show the gutter

                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setShowInvisibles(Boolean showInvisibles)

                                                                                                                                                                                                                                                                                                                                                                                                                                Identifies whether you want to show invisible characters or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                Identifies whether you want to show invisible characters or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                showInvisiblesBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                Required. Set to true to show invisibles

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.setShowPrintMargin(Boolean showPrintMargin)

                                                                                                                                                                                                                                                                                                                                                                                                                                  Identifies whether you want to show the print margin or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                  Identifies whether you want to show the print margin or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                  Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                  showPrintMarginBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                  Required. Set to true to show the print margin

                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                    • VirtualRenderer.setStyle(String style)

                                                                                                                                                                                                                                                                                                                                                                                                                                    Adds a new class, style, to the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                    Adds a new class, style, to the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                    Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                    styleString

                                                                                                                                                                                                                                                                                                                                                                                                                                    Required. A class name

                                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                                      • VirtualRenderer.setTheme(String theme)

                                                                                                                                                                                                                                                                                                                                                                                                                                      Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                      Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                      themeString

                                                                                                                                                                                                                                                                                                                                                                                                                                      Required. The path to a theme

                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                        • VirtualRenderer.showComposition(Number position)
                                                                                                                                                                                                                                                                                                                                                                                                                                        • Internal

                                                                                                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                      positionNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                      Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                        • VirtualRenderer.showCursor()

                                                                                                                                                                                                                                                                                                                                                                                                                                        Shows the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                        Shows the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns an object containing the pageX and pageY coordinates of the document position.

                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns an object containing the pageX and pageY coordinates of the document position.

                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                        rowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                        Required. The document row position

                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                        columnNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                        Required. The document column position

                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                          • VirtualRenderer.unsetStyle(String style)

                                                                                                                                                                                                                                                                                                                                                                                                                                          Removes the class style from the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                                                                          Removes the class style from the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                                                                          Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                          styleString

                                                                                                                                                                                                                                                                                                                                                                                                                                          Required. A class name

                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                            • VirtualRenderer.updateBackMarkers()

                                                                                                                                                                                                                                                                                                                                                                                                                                            Schedules an update to all the back markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                            Schedules an update to all the back markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                              • VirtualRenderer.updateBreakpoints()

                                                                                                                                                                                                                                                                                                                                                                                                                                              Redraw breakpoints.

                                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                                              Redraw breakpoints.

                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateCursor()

                                                                                                                                                                                                                                                                                                                                                                                                                                                Updates the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                Updates the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • VirtualRenderer.updateFontSize()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Updates the font size.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Updates the font size.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • VirtualRenderer.updateFrontMarkers()

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Schedules an update to all the front markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Schedules an update to all the front markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                                                      • VirtualRenderer.updateFull(Boolean force)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Triggers a full update of all the layers, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Triggers a full update of all the layers, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                      forceBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Required. If true, forces the changes through

                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • VirtualRenderer.updateLines(Number firstRow, Number lastRow)

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Triggers a partial update of the text, from the range given by the two parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Triggers a partial update of the text, from the range given by the two parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                        firstRowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Required. The first row to update

                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                        lastRowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Required. The last row to update

                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • VirtualRenderer.updateText()

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Triggers a full update of the text, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Triggers a full update of the text, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • VirtualRenderer.visualizeBlur()

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Blurs the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Blurs the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • VirtualRenderer.visualizeFocus()

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Focuses the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Focuses the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              VirtualRenderer [edit] +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              The class that is responsible for drawing everything you see on the screen!

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructs a new VirtualRenderer within the container specified, applying the given theme.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructs a new VirtualRenderer within the container specified, applying the given theme.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              containerDOMElement

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The root element of the editor

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              themeString

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The starting theme

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer._loadTheme
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.addGutterDecoration(Object row, Object className)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              rowObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              classNameObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.adjustWrapLimit
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.alignCursor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.animateScrolling
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.destroy
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Destroys the text and cursor layers for this renderer.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Destroys the text and cursor layers for this renderer.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getAnimatedScroll +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether an animated scroll happens or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether an animated scroll happens or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getContainerElement +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the root element containing this renderer.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the root element containing this renderer.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getDisplayIndentGuides
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getFadeFoldWidgets
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getFirstFullyVisibleRow +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getFirstVisibleRow +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the first visible row.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the first visible row.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getHighlightGutterLine
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getHScrollBarAlwaysVisible +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the horizontal scrollbar is set to be always visible.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the horizontal scrollbar is set to be always visible.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getLastFullyVisibleRow +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getLastVisibleRow +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the last visible row.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the index of the last visible row.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getMouseEventTarget +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the element that the mouse events are attached to

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the element that the mouse events are attached to

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getPrintMarginColumn +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the print margin column is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the print margin column is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getScrollBottomRow +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the last visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the last visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getScrollLeft +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the value of the distance between the left of the editor and the leftmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getScrollTop +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the value of the distance between the top of the editor and the topmost part of the visible content.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getScrollTopRow +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the first visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the first visible row, regardless of whether it's fully visible or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getShowGutter +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns true if the gutter is being shown.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns true if the gutter is being shown.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getShowInvisibles +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether invisible characters are being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether invisible characters are being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getShowPrintMargin +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the print margin is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns whether the print margin is being shown or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getTextAreaContainer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the element to which the hidden text area is added.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the element to which the hidden text area is added.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.getTheme +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the path of the current theme.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns the path of the current theme.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.hideComposition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Hides the current composition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Hides the current composition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.hideCursor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Hides the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Hides the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns true if you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns true if you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              deltaXNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The x value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              deltaYNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The y value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.onChangeTabSize
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a resize of the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              forceBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. If true, recomputes the size, even if the height and width haven't changed

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              gutterWidthNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The width of the gutter in pixels

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              widthNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The width of the editor in pixels

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              heightNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The hiehgt of the editor, in pixels

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.pixelToScreenCoordinates
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.removeGutterDecoration(Object row, Object className)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Deprecated; (moved to EditSession)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              rowObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              classNameObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.screenToTextCoordinates
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.scrollBy(Number deltaX, Number deltaY)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor across both x- and y-axes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor across both x- and y-axes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              deltaXNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The x value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              deltaYNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The y value to scroll by

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.scrollCursorIntoView(Object cursor, Object offset)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the cursor into the first visibile area of the editor

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the cursor into the first visibile area of the editor

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              cursorObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              offsetObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.scrollSelectionIntoView
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Gracefully scrolls the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Gracefully scrolls the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              lineNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. A line number

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              centerBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. If true, centers the editor the to indicated line

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              animateBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. If true animates scrolling

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              callbackFunction

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Function to be called after the animation has finished

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.scrollToRow(Number row)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Gracefully scrolls from the top of the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Gracefully scrolls from the top of the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. A row id

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.scrollToX(Number scrollLeft) +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor across the x-axis to the pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor across the x-axis to the pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              scrollLeftNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The position to scroll to

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.scrollToY(Number scrollTop) +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor to the y pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Scrolls the editor to the y pixel indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              scrollTopNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The position to scroll to

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setAnimatedScroll(Boolean shouldAnimate)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to have an animated scroll or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to have an animated scroll or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              shouldAnimateBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Set to true to show animated scrolls

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setAnnotations(Array annotations)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sets annotations for the gutter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sets annotations for the gutter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              annotationsArray

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. An array containing annotations

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setCompositionText(String text)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              textString

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. A string of text to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sets the inner text of the current composition to text.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setDisplayIndentGuides
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setFadeFoldWidgets
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setHighlightGutterLine
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setHScrollBarAlwaysVisible(Boolean alwaysVisible)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the horizontal scrollbar or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the horizontal scrollbar or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              alwaysVisibleBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Set to true to make the horizontal scroll bar visible

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setPadding(Number padding)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sets the padding for all the layers.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sets the padding for all the layers.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              paddingNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. A new padding value (in pixels)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setPrintMarginColumn(Boolean showPrintMargin)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the print margin column or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the print margin column or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              showPrintMarginBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Set to true to show the print margin column

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setSession(Object session)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Associates the renderer with an EditSession.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Associates the renderer with an EditSession.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              sessionObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setShowGutter(Boolean show)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the gutter or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the gutter or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              showBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Set to true to show the gutter

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setShowInvisibles(Boolean showInvisibles)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show invisible characters or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show invisible characters or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              showInvisiblesBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Set to true to show invisibles

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setShowPrintMargin(Boolean showPrintMargin)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the print margin or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Identifies whether you want to show the print margin or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              showPrintMarginBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. Set to true to show the print margin

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setStyle
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.setTheme(String theme)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              themeString

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The path to a theme

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.showCursor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Shows the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Shows the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns an object containing the pageX and pageY coordinates of the document position.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns an object containing the pageX and pageY coordinates of the document position.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              rowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The document row position

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              columnNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The document column position

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.unsetStyle(String style)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Removes the class style from the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Removes the class style from the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              styleString

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. A class name

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateBackMarkers
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Schedules an update to all the back markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Schedules an update to all the back markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateBreakpoints(Object rows)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Redraw breakpoints.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Redraw breakpoints.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              rowsObject

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateCharacterSize
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Incomplete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateCursor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Updates the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Updates the cursor icon.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateFontSize
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Updates the font size.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Updates the font size.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateFrontMarkers
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Schedules an update to all the front markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Schedules an update to all the front markers in the document.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateFull(Boolean force)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a full update of all the layers, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a full update of all the layers, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              forceBoolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. If true, forces the changes through

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateLines(Number firstRow, Number lastRow)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a partial update of the text, from the range given by the two parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a partial update of the text, from the range given by the two parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              firstRowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The first row to update

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              lastRowNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Required. The last row to update

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.updateText
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a full update of the text, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Triggers a full update of the text, for all the rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.visualizeBlur
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Blurs the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Blurs the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • VirtualRenderer.visualizeFocus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Focuses the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Focuses the current container.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/doc/build.js b/doc/build.js index dd64bc31..2c596dea 100644 --- a/doc/build.js +++ b/doc/build.js @@ -2,9 +2,11 @@ var fs = require("fs"); var path = require("path"); var panino = require("panino"); var srcPath = __dirname + "/../lib/ace"; +var buildType = process.argv.splice(2)[0]; var options = { title : "Ace API", + parseType : "jsd", linkFormat : function(linkHtml) { var href = linkHtml.href; var o = href.match(/(.+)\.html(#.+)/); @@ -32,9 +34,8 @@ var options = { skin : "./resources/ace/templates/layout.jade", assets : "./resources/ace/skeleton", additionalObjs : "./additionalObjs.json", - exclude : ["**/*_test.js", "**/mode/**", "**/test/**", "**/theme/**", "**/worker/**"], - index : "./index.md", - disableTests: true + exclude : ["**/*_test.js", "**/mode/**", "default_commands.js", "multi_select_commands.js", "**/test/**", "**/theme/**", "**/worker/**"], + index : "./index.md" }; files = [srcPath]; @@ -45,7 +46,7 @@ panino.parse(files, options, function (err, ast) { process.exit(1); } - panino.render('html', ast, options, function (err) { + panino.render(buildType || 'html', ast, options, function (err) { if (err) { console.error(err); process.exit(1); diff --git a/doc/package.json b/doc/package.json index 294fe73f..50796eea 100644 --- a/doc/package.json +++ b/doc/package.json @@ -2,7 +2,7 @@ "name": "ace-api", "version": "0.1.0", "dependencies": { - "panino" : ">=2.0.8", + "panino" : ">=2.2.0", "asset-smasher": "0.2.0" } } \ No newline at end of file diff --git a/doc/resources/ace/skeleton/csses/ace_api.css b/doc/resources/ace/skeleton/csses/ace_api.css index 7080c7a5..e90e4131 100644 --- a/doc/resources/ace/skeleton/csses/ace_api.css +++ b/doc/resources/ace/skeleton/csses/ace_api.css @@ -707,7 +707,7 @@ li.signature { .eventObjName { font-style: italic; } -.eventListenerStart, .eventFunctionOpen, .eventFunctionClose { +.eventListenerStart, .eventListenerClose, .eventFunctionOpen, .eventFunctionClose { color: #999999; } .eventMember { diff --git a/doc/resources/ace/skeleton/javascripts/ux.js b/doc/resources/ace/skeleton/javascripts/ux.js index 4a2ffdbd..724c5e31 100644 --- a/doc/resources/ace/skeleton/javascripts/ux.js +++ b/doc/resources/ace/skeleton/javascripts/ux.js @@ -22,7 +22,7 @@ $(function () { if (query) { input.value = ""; input.blur(); - var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org/api" + " " + query); + var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org" + " " + query); window.open(url); } return false; diff --git a/doc/resources/ace/templates/ace_menu.jade b/doc/resources/ace/templates/ace_menu.jade deleted file mode 100644 index 7bf9599a..00000000 --- a/doc/resources/ace/templates/ace_menu.jade +++ /dev/null @@ -1,59 +0,0 @@ -div#well - form(id='searchbox', action='', class='navbar-search') - input(class='search-query span3', name='query', type='text', placeholder="Search the API", title="Search across all the documentation") - - ul.menu - li - div.menu-item - a(class="menuLink namespace", href="ace.html#nav=api") Ace - li - div.menu-item - a(class="menuLink namespace", href="anchor.html#nav=api") Anchor - li - div.menu-item - a(class="menuLink namespace", href="background_tokenizer.html#nav=api") BackgroundTokenizer - li - div.menu-item - a(class="menuLink namespace", href="document.html#nav=api") Document - li - div.menu-item - a(class="menuLink namespace", href="edit_session.html#nav=api") EditSession - li - div.menu-item - a(class="menuLink namespace", href="editor.html#nav=api") Editor - - //- probably not needing doc a(class="menuLink namespace", href="multi_select.html#nav=api") MultiSelect - - //- not actually doc'ed yet a(class="menuLink namespace", href="placeholder.html#nav=api") PlaceHolder - - li - div.menu-item - a(class="menuLink namespace", href="range.html#nav=api") Range - - //- not actually doc'ed yet a(class="menuLink namespace", href="renderloop.html#nav=api") RenderLoop - - - li - div.menu-item - a(class="menuLink namespace", href="scrollbar.html#nav=api") Scrollbar - li - div.menu-item - a(class="menuLink namespace", href="search.html#nav=api") Search - li - div.menu-item - a(class="menuLink namespace", href="selection.html#nav=api") Selection - - //- not actually doc'ed yet a(class="menuLink namespace", href="split.html#nav=api") Split - - li - div.menu-item - a(class="menuLink namespace", href="token_iterator.html#nav=api") TokenIterator - li - div.menu-item - a(class="menuLink namespace", href="tokenizer.html#nav=api") Tokenizer - li - div.menu-item - a(class="menuLink namespace", href="undomanager.html#nav=api") UndoManager - li - div.menu-item - a(class="menuLink namespace", href="virtual_renderer.html#nav=api") VirtualRenderer \ No newline at end of file diff --git a/doc/resources/ace/templates/layout.jade b/doc/resources/ace/templates/layout.jade index 68864969..0af68049 100644 --- a/doc/resources/ace/templates/layout.jade +++ b/doc/resources/ace/templates/layout.jade @@ -1,4 +1,4 @@ -include ../../common_layout +include common_layout include lib #documentation.span8 diff --git a/doc/resources/ace/templates/lib.jade b/doc/resources/ace/templates/lib.jade index c59bb5a0..7b07a50e 100644 --- a/doc/resources/ace/templates/lib.jade +++ b/doc/resources/ace/templates/lib.jade @@ -12,149 +12,110 @@ mixin article(obj, parents) if typeof obj === 'string' obj = list[obj] - title = obj.path + (obj.type ? ' (' + obj.type + ')' : '') - article.article(id=obj.path, data-title=title) - if obj.type === 'section' || obj.type === 'namespace' || obj.type === 'class' || obj.type === 'mixin' + if (obj.private !== true && obj.name.charAt(0) !== "$") + title = obj.path + (obj.type ? ' (' + obj.type + ')' : '') + article.article(id=obj.path, data-title=title) + if obj.type === 'section' || obj.type === 'namespace' || obj.type === 'class' || obj.type === 'mixin' - if obj.stability - mixin markdown(">" + obj.stability) + if obj.stability + mixin markdown(">" + obj.stability) - if obj.description - .section.description - .memberContent - mixin markdown(obj.description) - - collection = obj.children.filter(function(x){return x.type === 'namespace'}); - if collection.length - .section.namespaces - // - h3 Namespaces + if obj.description + .section.description .memberContent - mixin short_description_list(collection) - - collection = obj.children.filter(function(x){return x.type === 'mixin'}); - if collection.length - .section.mixins - // - h3 Mixins - .memberContent - mixin short_description_list(collection) - - if obj.type === 'class' - - if obj.superclass - .section.superclass - // h3 - Superclass - .memberContent - mixin link(obj.superclass) - - if obj.subclasses.length - .section.subclasses - // h3 - Subclasses - .memberContent - mixin links(obj.subclasses) - - if obj.included_mixins - .section.mixins - // h3 - Includes - .memberContent - mixin links(obj.included_mixins) - - collection = obj.children.filter(function(x){return x.type === 'utility'}) - if collection.length - .section.utilities - // h3 - Utilities - .memberContent - mixin links(collection) - - else - - .section.method - .memberContent - if obj.signatures - div.title - i(id='#{obj.path}', class='methodToggle methodClicker inactive icon-caret-right') - ul.signatures - -var loops = 0; - for sig in obj.signatures - li.signature - ul - li.signature-call!= signature(obj, sig, ["methodClicker"]) - if sig.returns - li.signature-returns - ul.argument-types - for ret in sig.returns - li.argument-type!= returnLink(obj, ret, []) - -if (loops == 0) - -loops = 1 // ensure that we only print ONE meta info UL per signature (some methods have multiple signatures) - ul.metaInfo - if obj.readonly - li - span.label.read-only Read-Only - if obj.chainable - li - span.label.chainable Chainable - if obj.internal - li - span.label.internal Internal - if obj.deprecated - li - span.label.deprecated - | Deprecated - if obj.deprecated.from - |   (since #{obj.deprecated.from}) - if obj.deprecated.off - |  and will be removed on #{obj.deprecated.off} - if obj.alias_of - li - span.label.alias.single - | Aliased as: - != link(obj.alias_of) - else if obj.aliases.length - li - span.label.alias.multiple - | Aliased as:  - for alias in obj.aliases - mixin link(alias)  - - if obj.related_to - li - span.label.related-to - | Related to: - obj.related_to - - div.sideToggler - - div(id='ellipsis_#{obj.path}', class='ellipsis_description') - mixin markdown(obj.short_description) - - - div.description - mixin markdown(obj.description) + + else + .section.method + .memberContent + if obj.signatures + div.title + i(id='#{obj.path}', class='methodToggle methodClicker inactive icon-caret-right') + ul.signatures + -var loops = 0; + for sig in obj.signatures + li.signature + ul + li.signature-call!= signature(obj, sig, ["methodClicker"]) + if sig.returns + li.signature-returns + ul.argument-types + for ret in sig.returns + li.argument-type!= returnLink(obj, ret, []) + -if (loops == 0) + -loops = 1 // ensure that we only print ONE meta info UL per signature (some methods have multiple signatures) + ul.metaInfo + if obj.incomplete + li + span.label.incomplete Incomplete + if obj.experimental + li + span.label.experimental Experimental + if obj.readonly + li + span.label.read-only Read-Only + if obj.chainable + li + span.label.chainable Chainable + if obj.internal + li + span.label.internal Internal + if obj.deprecated + li + span.label.deprecated + | Deprecated + if obj.deprecated.from + |   (since #{obj.deprecated.from}) + if obj.deprecated.off + |  and will be removed on #{obj.deprecated.off} + if obj.alias_of + li + span.label.alias.single + | Aliased as: + != link(obj.alias_of) + else if obj.aliases.length + li + span.label.alias.multiple + | Aliased as: + ul.alias + for alias in obj.aliases + li + mixin link(alias) - if obj.bound && ~obj.bound.indexOf('#') - p.note.methodized - | This method can be called either as an - != link(obj.bound, ['link-short'], 'instance method') - | or as a generic method. If calling as generic, pass the instance in as the first argument. - else if obj.bound && !~obj.bound.indexOf('#') - p.note.functionalized - | This method can be called either as an instance method or as a - != link(obj.bound, ['link-short'], 'generic method') - |. If calling as generic, pass the instance in as the first argument. + if obj.related_to + li + span.label.related-to + | Related to + mixin link(obj.related_to, ["relatedToLink"]) + + div.sideToggler - if obj.arguments - h4 Arguments - != argumentTable(obj.arguments, ["argument-list", "table", "table-striped", "table-bordered"]) + div(id='ellipsis_#{obj.path}', class='ellipsis_description') + mixin markdown(obj.short_description) - if obj.returns - h4 Returns - != returnTable(obj.returns, ["return-list", "table", "table-striped", "table-bordered"]) + + div.description + + mixin markdown(obj.description) + + if obj.bound && ~obj.bound.indexOf('#') + p.note.methodized + | This method can be called either as an + != link(obj.bound, ['link-short'], 'instance method') + | or as a generic method. If calling as generic, pass the instance in as the first argument. + else if obj.bound && !~obj.bound.indexOf('#') + p.note.functionalized + | This method can be called either as an instance method or as a + != link(obj.bound, ['link-short'], 'generic method') + |. If calling as generic, pass the instance in as the first argument. + + if obj.arguments + h4 Arguments + != argumentTable(obj.arguments, ["argument-list", "table", "table-striped", "table-bordered"]) + + if obj.returns + h4 Returns + != returnTable(obj.returns, ["return-list", "table", "table-striped", "table-bordered"]) //- children for child in obj.children.filter(function(x){return x.type === 'section'}) @@ -231,8 +192,9 @@ mixin render_starting_tabs(obj, pos) b.caret ul.dropdown-menu for m in members - li(id='dropdown_#{m.path}', data-id='#{m.path}', class='memberLink') - mixin link(m, [], true) + if (m.private !== true && m.name.charAt(0) !== "$") + li(id='dropdown_#{m.path}', data-id='#{m.path}', class='memberLink') + mixin link(m, [], true) -methodSection = constructorSection = propertySection = eventSection = false; mixin article(obj, []) diff --git a/doc/resources/common_layout.jade b/doc/resources/common_layout.jade deleted file mode 100644 index 817e3c73..00000000 --- a/doc/resources/common_layout.jade +++ /dev/null @@ -1,57 +0,0 @@ --var dirPrefix = "./"; --var sitePrefix = "../doc/site/"; --var landingPage = 'false' --var versions = [] - -mixin doctype - !!! 5 - - - - - - -mixin head - meta(http-equiv='Content-Type', content='text/html; charset=UTF-8') - - -if (isIndex) - title #{title} - -else - title #{classId} - #{title} - - meta(name="generator", content="panino-doc-build") - meta(name="description", content="Ace API documentation for the online code editor") - meta(name="author", content="Garen J. Torikian") - - script(src="#{dirPrefix}resources/javascripts/jquery.js") - script(src='#{sitePrefix}/js/main.js') - link(rel='stylesheet', media='all and (max-device-width: 480px)', href='doc/site/iphone.css') - link(rel='stylesheet', media='all and (min-device-width: 481px) and (max-device-width: 1024px)', href='doc/site/iphone.css') - link(href='#{dirPrefix}resources/ace/skeleton/images/favicon.ico', rel='icon', type='image/x-icon') - - link(rel="stylesheet", href="#{dirPrefix}resources/csses/bootstrap.min.css") - link(href='#{sitePrefix}/style.css', rel='stylesheet', type='text/css') - link(rel="stylesheet", href="#{dirPrefix}resources/csses/ace_api.css") - link(rel="stylesheet", href="#{dirPrefix}resources/csses/font-awesome.css") - - link(href="#{dirPrefix}resources/images/favicon.ico", rel="icon", type="image/x-icon") - - script(src='#{dirPrefix}resources/javascripts/bbq.js') - script(src="#{dirPrefix}resources/javascripts/jquery.collapse.js") - script(src="#{dirPrefix}resources/javascripts/jquery.cookie.js") - script(src="#{dirPrefix}resources/javascripts/bootstrap.js") - - -mixin endingScripts - script(defer, src="#{dirPrefix}resources/javascripts/ux.js") - script(src="#{dirPrefix}resources/javascripts/clicker.js") - script(src="#{dirPrefix}resources/javascripts/jquery-scrollspy.js") - script(defer, src="#{dirPrefix}resources/javascripts/disqus-ext.js") - script(defer, src="#{dirPrefix}resources/javascripts/ga.js") - -mixin identifyBuild(tree, type) - landingPage = 'true' - -dirPrefix = './' - -mixin markdown(text, inline) - != markdown(text, inline) \ No newline at end of file diff --git a/kitchen-sink.html b/kitchen-sink.html index 02bda43f..551df8c5 100644 --- a/kitchen-sink.html +++ b/kitchen-sink.html @@ -16,6 +16,7 @@ +