diff --git a/ChangeLog.txt b/ChangeLog.txt index 76b2313b..e5d36574 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,47 @@ +2012.09.17, Version 0.1.0 + +* New Features + - Multiple cursors and selections (https://c9.io/site/blog/2012/08/be-an-armenian-warrior-with-block-selection-on-steroids/) + - Fold buttons displayed in the gutter + - Indent Guides + - Completely reworked vim mode (Sergi Mansilla) + - Improved emacs keybindings + - Autoclosing of html tags (danyaPostfactum) + +* 20 New language modes + - Coldfusion (Russ) + - Diff + - GLSL (Ed Mackey) + - Go (Davide Saurino) + - Haxe (Jason O'Neil) + - Jade (Garen Torikian) + - jsx (Syu Kato) + - LaTeX (James Allen) + - Less (John Roepke) + - Liquid (Bernie Telles) + - Lua (Lee Gao) + - LuaPage (Choonster) + - Markdown (Chris Spencer) + - PostgreSQL (John DeSoi) + - Powershell (John Kane) + - Sh (Richo Healey) + - SQL (Jonathan Camile) + - Tcl (Cristoph Hochreiner) + - XQuery (William Candillion) + - Yaml (Meg Sharkey) + + * Live syntax checks + - for XQuery and JSON + +* New Themes + - Ambiance (Irakli Gozalishvili) + - Dreamweaver (Adam Jimenez) + - Github (bootstraponline) + - Tommorrow themes (https://github.com/chriskempson/tomorrow-theme) + - XCode + +* Many Small Enhancements and Bugfixes + 2011.08.02, Version 0.2.0 * Split view (Julian Viereck) @@ -27,15 +71,14 @@ - SCAD (Jacob Hansson) * Live syntax checks - - Lint for Css using CSS Lint + - Lint for CSS using CSS Lint - CoffeeScript * New Themes - Crimson Editor (iebuggy) - Merbivore (Michael Schwartz) - Merbivore soft (Michael Schwartz) - - Solarized dark/light (David Alan - Hjelle) + - Solarized dark/light (David Alan Hjelle) - Vibrant Ink (Michael Schwartz) * Small Features/Enhancements @@ -48,10 +91,8 @@ highlight are not affected (Irakli Gozalishvili) - Added setFontSize method - Improved vi keybindings (Trent Ogren) - - When unfocused make cursor transparent instead of removing it (Harutyun - Amirjanyan) - - Support for matching groups in tokenizer with arrays of tokens (Chris - Spencer) + - When unfocused make cursor transparent instead of removing it (Harutyun Amirjanyan) + - Support for matching groups in tokenizer with arrays of tokens (Chris Spencer) * Bug fixes - Add support for the new OSX scroll bars @@ -59,8 +100,7 @@ - Proper handling of unicode characters in JavaScript identifiers - Fix remove lines command on last line (Harutyun Amirjanyan) - Fix scroll wheel sluggishness in Safari - - Make keyboard infrastructure route keys like []^$ the right way (Julian - Viereck) + - Make keyboard infrastructure route keys like []^$ the right way (Julian Viereck) 2011.02.14, Version 0.1.6 diff --git a/Readme.md b/Readme.md index f9ec20d1..7960e48c 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,8 @@ Ace (Ajax.org Cloud9 Editor) ============================ +_Note_: The new site at http://ace.ajax.org contains all the info below along with an embedding guide and all the other resources you need to get started with Ace. + Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](http://www.cloud9ide.com/) and the successor of the Mozilla Skywriter (Bespin) Project. Features diff --git a/api/ace.html b/api/ace.html index 7b46b2c1..787a8efb 100644 --- a/api/ace.html +++ b/api/ace.html @@ -1,15 +1,5 @@ - - - - Ace - Ace API

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.

+

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 +
\ No newline at end of file diff --git a/api/anchor.html b/api/anchor.html index 60b23109..f3f25cd1 100644 --- a/api/anchor.html +++ b/api/anchor.html @@ -1,14 +1,11 @@ - - - - Anchor - Ace API

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

+

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

      • 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:

        @@ -18,26 +15,19 @@

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

      -

      Methods

        • Internal

      Clips the anchor position to the specified row and column.

      -

         

      Clips the anchor position to the specified row and column.

      +

      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.

        +
          • 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 +
          \ No newline at end of file diff --git a/api/background_tokenizer.html b/api/background_tokenizer.html index 56587186..8a11bcee 100644 --- a/api/background_tokenizer.html +++ b/api/background_tokenizer.html @@ -1,40 +1,30 @@ - - - - BackgroundTokenizer - Ace API

          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.

            +

            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.

                +

                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.

                  +

                  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)

                  +

                  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.

                        +
                          • 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.stop()

                                  Stops tokenizing.

                                  +

                                  Stops tokenizing.

                                  +
                                  \ No newline at end of file diff --git a/api/command_manager.html b/api/command_manager.html index 660d81d9..b580d309 100644 --- a/api/command_manager.html +++ b/api/command_manager.html @@ -1,15 +1,5 @@ - - - - CommandManager - Ace API

                                  Constructors

                                  TODO

                                  -

                                     

                                  TODO

                                  +

                                  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 +
                                  \ No newline at end of file diff --git a/api/document.html b/api/document.html index 696bb268..577fe66f 100644 --- a/api/document.html +++ b/api/document.html @@ -1,114 +1,146 @@ - - - - Document - Ace API

                                  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.

                                  +

                                  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.

                                    +

                                    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.

                                      +

                                      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 StringsA 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.

                                        +

                                        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

                                            +
                                              • 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.

                                              +

                                              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

                                                StringIf 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

                                                  +
                                                    • 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

                                                      NumberThe 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.

                                                      +

                                                      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

                                                      ObjectReturns an object containing the final row and column, like this:
                                                      {row: endRow, column: 0}
                                                      NumberIf 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.

                                                      +

                                                      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

                                                      ObjectReturns 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.

                                                      +

                                                      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

                                                      ObjectReturns 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).

                                                      +

                                                      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

                                                      ObjectReturns 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.

                                                      +

                                                      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

                                                      ObjectReturns 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.

                                                      +

                                                      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 StringsReturns 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.

                                                        +

                                                        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

                                                          +

                                                          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

                                                          ObjectReturns 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.

                                                              +

                                                              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.

                                                                    +
                                                                      • 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 +
                                                                      \ No newline at end of file diff --git a/api/edit_session.html b/api/edit_session.html index ef427e89..64081b69 100644 --- a/api/edit_session.html +++ b/api/edit_session.html @@ -1,289 +1,306 @@ - - - - EditSession - Ace API

                                                                      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

                                                                      +

                                                                      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.

                                                                        +

                                                                        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.

                                                                                      +
                                                                                        • 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.

                                                                                                    +
                                                                                                      • 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.

                                                                                                              +
                                                                                                                • 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.

                                                                                                                      +

                                                                                                                      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.

                                                                                                                      +

                                                                                                                      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.

                                                                                                                      +

                                                                                                                      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 NumbersReturns 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.

                                                                                                                      +

                                                                                                                      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.

                                                                                                                        +
                                                                                                                          • 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

                                                                                                                          +

                                                                                                                          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.

                                                                                                                          +

                                                                                                                          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.

                                                                                                                              +
                                                                                                                                • 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.

                                                                                                                                    +
                                                                                                                                      • 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

                                                                                                                                      ObjectThe 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.

                                                                                                                                      +

                                                                                                                                      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

                                                                                                                                      NumberReturns 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.

                                                                                                                                        +

                                                                                                                                        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.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.

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

                                                                                                                                                 

                                                                                                                                              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

                                                                                                                                              +
                                                                                                                                                • 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.

                                                                                                                                              +

                                                                                                                                              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.

                                                                                                                                              +

                                                                                                                                              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.

                                                                                                                                              -

                                                                                                                                              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.

                                                                                                                                              +

                                                                                                                                              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

                                                                                                                                                 

                                                                                                                                              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.

                                                                                                                                              +
                                                                                                                                                • 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.

                                                                                                                                                +
                                                                                                                                                  • 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.

                                                                                                                                                        -
                                                                                                                                                          • EditSession.getSelection()

                                                                                                                                                          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.

                                                                                                                                                          +
                                                                                                                                                            • 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.

                                                                                                                                                                +
                                                                                                                                                                  • EditSession.getSelection()

                                                                                                                                                                  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'.

                                                                                                                                                                      -

                                                                                                                                                                      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.

                                                                                                                                                                      +
                                                                                                                                                                        • 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

                                                                                                                                                                          rangeString

                                                                                                                                                                          Required. The range to work with

                                                                                                                                                                          -

                                                                                                                                                                          Returns an array of tokens at the indicated row and column.

                                                                                                                                                                          -

                                                                                                                                                                             

                                                                                                                                                                          Returns an array of tokens at the indicated row and column.

                                                                                                                                                                          +

                                                                                                                                                                          Returns an array of tokens at the indicated row and column.

                                                                                                                                                                          +

                                                                                                                                                                          Returns an array of tokens at the indicated row and column.

                                                                                                                                                                          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.

                                                                                                                                                                          +

                                                                                                                                                                          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.

                                                                                                                                                                              +

                                                                                                                                                                              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:

                                                                                                                                                                                      +
                                                                                                                                                                                        • 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.

                                                                                                                                                                                          +

                                                                                                                                                                                          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.

                                                                                                                                                                                          +

                                                                                                                                                                                          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

                                                                                                                                                                                          NumberThe 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.

                                                                                                                                                                                          +

                                                                                                                                                                                          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

                                                                                                                                                                                          NumberIf 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.

                                                                                                                                                                                          +

                                                                                                                                                                                          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

                                                                                                                                                                                          NumberIf 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

                                                                                                                                                                                          +

                                                                                                                                                                                          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

                                                                                                                                                                                          RangeThe 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.

                                                                                                                                                                                              +

                                                                                                                                                                                              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

                                                                                                                                                                                                  ObjectThe 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.

                                                                                                                                                                                                    +

                                                                                                                                                                                                    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.

                                                                                                                                                                                                        +
                                                                                                                                                                                                          • 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

                                                                                                                                                                                                          +

                                                                                                                                                                                                          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

                                                                                                                                                                                                          ObjectReturns 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

                                                                                                                                                                                                             

                                                                                                                                                                                                          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.

                                                                                                                                                                                                          +

                                                                                                                                                                                                          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

                                                                                                                                                                                                          ObjectThe 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.

                                                                                                                                                                                                            +

                                                                                                                                                                                                            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.

                                                                                                                                                                                                              +

                                                                                                                                                                                                              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.

                                                                                                                                                                                                                +
                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  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.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                      • 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.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    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').

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          • 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.

                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              • 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.

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      • 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.

                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      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.

                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          • 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 +
                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/api/editor.html b/api/editor.html index dd7bae66..f2493025 100644 --- a/api/editor.html +++ b/api/editor.html @@ -1,342 +1,343 @@ - - - - Editor - Ace API

                                                                                                                                                                                                                                                          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.

                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              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("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.

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                    • 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:

                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              • 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

                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                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.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                    Copies all the selected lines down one row.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                       

                                                                                                                                                                                                                                                                                                    Copies all the selected lines down one row.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                    Returns

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

                                                                                                                                                                                                                                                                                                    Copies all the selected lines up one row.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                       

                                                                                                                                                                                                                                                                                                    Copies all the selected lines up one row.

                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                    Returns

                                                                                                                                                                                                                                                                                                    NumberOn 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.

                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                          • 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.

                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                          Gets the current position of the cursor.

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                             

                                                                                                                                                                                                                                                                                                                          Gets the current position of the cursor.

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                          Returns

                                                                                                                                                                                                                                                                                                                          ObjectThis returns an object that looks something like this:
                                                                                                                                                                                                                                                                                                                          { row: currRow, column: currCol }

                                                                                                                                                                                                                                                                                                                          Returns the current mouse drag delay.

                                                                                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                                                                                             

                                                                                                                                                                                                                                                                                                                          Returns the current mouse drag delay.

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                              Returns the keyboard handler.

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                 

                                                                                                                                                                                                                                                                                                                              Returns the keyboard handler.

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                              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.

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                              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.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.

                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                  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.

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                    • 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:

                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • { row: currRow, column: currCol }
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      • 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.

                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                Inserts text into wherever the cursor is pointing.

                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                Inserts text into wherever the cursor is pointing.

                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        • 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

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          • 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

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Shifts all the selected lines down one row.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                           

                                                                                                                                                                                                                                                                                                                                                        Shifts all the selected lines down one row.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns

                                                                                                                                                                                                                                                                                                                                                        NumberOn success, it returns -1.

                                                                                                                                                                                                                                                                                                                                                        Shifts all the selected lines up one row.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                           

                                                                                                                                                                                                                                                                                                                                                        Shifts all the selected lines up one row.

                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                        Returns

                                                                                                                                                                                                                                                                                                                                                        NumberOn 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:

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          • 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

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        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

                                                                                                                                                                                                                                                                                                                                                        RangeThe 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.

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          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.

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                  • 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

                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                          • 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"

                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                            +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)

                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                      • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Adds a new class, style, to the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Adds a new class, style, to the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.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 diff --git a/api/index.html b/api/index.html index a4e4af82..a4f1f307 100644 --- a/api/index.html +++ b/api/index.html @@ -1,14 +1,4 @@ - - - - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Ace API Reference

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 549bb2b6..98aa0b55 100644 --- a/api/placeholder.html +++ b/api/placeholder.html @@ -1,34 +1,24 @@ - - - - PlaceHolder - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            TODO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            sessionDocument

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Required. The document to associate with the anchor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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 diff --git a/api/range.html b/api/range.html index af0dbdbe..19f69645 100644 --- a/api/range.html +++ b/api/range.html @@ -1,107 +1,297 @@ - - - - Range - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NumberThis 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NumberThis 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.<br/> <br/> If the starting row of the calling range is equal to p.row, and:<br/> p.column is greater than or equal to the calling range's starting column, this returns 0<br/> Otherwise, it returns -1<br/> <br/> If the ending row of the calling range is equal to p.row, and:<br/> 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NumberThis 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NumberThis 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).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NumberThis 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NumberThis 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:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file diff --git a/api/renderloop.html b/api/renderloop.html index 45f68085..26aa4d16 100644 --- a/api/renderloop.html +++ b/api/renderloop.html @@ -1,13 +1,3 @@ - - - - RenderLoop - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 diff --git a/api/resources/csses/ace_api.css b/api/resources/csses/ace_api.css index d36473d5..7080c7a5 100644 --- a/api/resources/csses/ace_api.css +++ b/api/resources/csses/ace_api.css @@ -1,25 +1,20 @@ /* Generic "affects everything" stuff */ -body { - min-width: 1010px; - color: #2D2D2D; - background: #EDF5FA url(../images/main_bg.png) 0 0 repeat; + +#wrapper .content .column2 { + float: none; } -ul { +#documentation ul { font-size: 13px; } -li { +#documentation li { color: black; } -a, a:hover { - color : #00438a; -} - -code { +#documentation code { font-size: 12px; line-height: 16px; font-family: 'Ubuntu Mono',Monaco,Consolas,monospace !important; @@ -32,7 +27,7 @@ code { color: inherit; } -pre { +#documentation pre { margin-top: 10px; border-radius: none; box-shadow: none; @@ -51,29 +46,29 @@ pre { background : white; } -pre code { +#documentation pre code { background-color: transparent; border-radius: none; box-shadow: none; } -a code { +#documentation a code { color: #00438a; } -h2 { +#documentation h2 { font-size: 26px; } -p { +#documentation p { font-size: 13px; line-height : 20px; margin-bottom : 13px; } -li p:last-child { +#documentation li p:last-child { margin-bottom : 5px; } -blockquote p{ +#documentation blockquote p{ font-size: 14px; font-weight: 500; line-height: 23px; @@ -94,6 +89,10 @@ blockquote p{ zoom:1; /* hasLayout ie7 trigger */ } +.navbar .nav > li > a { + padding: 10px 15px 11px; +} + .navbar { text-align:center; } @@ -111,8 +110,8 @@ blockquote p{ margin-left: 0px; } .brand { - background: transparent url(../images/ace_logo_menu.png) no-repeat 13px 5px; - width: 105px; + background: transparent url(../images/ace_logo_menu.png) no-repeat 33px 5px; + width: 80px; outline: none; height: 40px; padding: 0 10px !important; @@ -142,25 +141,54 @@ blockquote p{ Menu venue */ +form.navbar-search { + float: none; +} + +form.navbar-search .search-query { + background-color: #FFFFFF; + border-color: #999; + -webkit-transition: border 0.3s; + -moz-transition: border 0.3s; + font-size: 14px; + line-height: 16px; +} + +form.navbar-search .search-query:focus, form.navbar-search .search-query:active { + border: 1px solid #666; +} + +.navbar-search .search-query:focus, .navbar-search .search-query.focused { + padding: 4px 9px; +} + +h3.api_title { + padding-top: 10px; +} + ul.menu { - margin-left: 16px; + margin-left: 2px; } .menu li { list-style-image: url(../images/menu_disc.png); - margin-bottom: 3px; - font-weight : 700; + margin-bottom: 4px; + font-weight: 700; + padding-left: 10px; + margin-left: 0; } .menu li .menu-item a.menuLink, .menu li .menu-item span.menuLink { - color: #262626; + color: #3E7096; + font-weight: 100; } .menuTwo { margin-bottom: 5px; margin-top: 2px; } .menuTwo li .menu-item a.menuLink { - color: #262626; + color: #3E7096; + font-weight: 100; } /* need specificity to "beat" the above colors */ @@ -223,7 +251,6 @@ ul.menu { box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); */ padding-bottom: 15px; /* height: 31px;*/ - top: 40px; position: fixed; } .shadow.members{ @@ -270,10 +297,15 @@ ul.menu { } .srolled .membersContent { /*top : 0;*/ - width : 695px; - padding-left : 305px; + width: 625px; + padding-left: 327px; margin : 0 auto 0 auto; } + +.srolled ul.nav { + padding-right: 10px; +} + .membersBackground { /* background-color: white; position: fixed; @@ -321,14 +353,12 @@ li.dropdown { font-weight: bold; } - -.backToMDN, .editInC9 { +.editInC9 { font-size: 11px; color: #657383; - margin : 0 0 0 5px; } -.backToMDN a, .editInC9 a { +.editInC9 a { color: #657383; font-weight: normal; position : relative; @@ -336,7 +366,7 @@ li.dropdown { } .tabs { - padding-top: 10px; + padding-top: 14px; /*border-bottom: 1px solid #848484;*/ min-height : 27px; padding-bottom : 5px; @@ -472,7 +502,6 @@ ul.tabs .double ul, ul.tabs .triple ul, ul.tabs .quad ul{ height: 100%; } .content .row { - width: 1060px; margin-left: auto; margin-right: auto; } @@ -484,8 +513,8 @@ header.filler { } .centerpiece { - background: url(../images/sidebar_border.png) repeat-y 230px 0; min-height: 100%; + padding: 20px 0; } /* @@ -501,12 +530,8 @@ header.filler { margin-bottom: 3px; } -#sidebarContainer { - margin-right: 60px; -} - #sidebar { - margin-top: 9px; + margin-top: 5px; /*background: url(../images/sidebar-border.png) repeat-y right 0;*/ margin-left: 12px; /* width: 280px;*/ @@ -524,14 +549,22 @@ header.filler { } #documentation { + padding-left: 15px; padding-bottom: 10px; } #documentation article.article { -/* border-bottom: 1px solid #e9e9e9;*/ border-top: 1px solid #e9e9e9; padding: 16px 10px 2px; + -webkit-transition: padding 0.2s; + -moz-transition: padding 0.2s; + -o-transition: padding 0.2s; } + +#documentation h3.sectionHeader + article.article { + border-top: none; +} + div#documentation article:last-child { border-bottom: 1px solid #e9e9e9; padding-bottom: 40px; @@ -663,7 +696,7 @@ li.signature { cursor: pointer; } -.signature-call a { +#documentation .signature-call a { color: #8e487e; } @@ -710,14 +743,14 @@ li.signature { text-transform: capitalize; } -.alias a, .related-to a { +#documentation .alias a, #documentation .related-to a { color: #ffffff; /* text-decoration: underline; */ } -.alias a:hover, .related-to a:hover { +#documentation .alias a:hover, #documentation .related-to a:hover { text-decoration: none; } -.alias:hover, .related-to:hover { +.#documentation alias:hover, #documentation .related-to:hover { opacity: 0.8; cursor: pointer; } @@ -769,9 +802,33 @@ li.signature { font-size: 24px; margin-top: 5px; } -#documentation h3.methodToggle { - margin: 0; +#documentation i.methodToggle { + cursor: pointer; + color: #9f9f9f; + padding-top: 2px; + float: left; } +#documentation i.methodToggle.methodToggleHover { + text-shadow: 0 0 10px #4699d5; + color: #4699d5; +} +#documentation i.methodToggle.active { + text-shadow: 0 0 10px #4699d5; + color: #4699d5; + /* Safari */ + -webkit-transform: rotate(45deg); + + /* Firefox */ + -moz-transform: rotate(45deg); + + /* IE */ + -ms-transform: rotate(45deg); + + /* Opera */ + -o-transform: rotate(45deg); + padding-top: 9px; +} + #documentation h3.sectionHeader { margin: 10px 0 17px 0; line-height : 24px; @@ -934,25 +991,3 @@ body #dsq-reply h3{ #dsq-global-toolbar, #dsq-pagination, .dsq-trackback-url{ display : none; } - -/* Sticky footer stuff */ - -* { - margin: 0; -} -html, body { - height: 100%; -} -#nonFooter { - height: 100%; - margin: 0 auto -40px; /* the bottom margin is the negative value of the footer's height */ -} -div.push { - height: 40px; /* .push must be the same height as .footer */ -} -#footer, div.push { -clear: both; -} -#footer { - margin-top: 40px; -} \ No newline at end of file diff --git a/api/resources/csses/font-awesome.css b/api/resources/csses/font-awesome.css new file mode 100644 index 00000000..4697599c --- /dev/null +++ b/api/resources/csses/font-awesome.css @@ -0,0 +1,303 @@ +/* Font Awesome + the iconic font designed for use with Twitter Bootstrap + ------------------------------------------------------- + The full suite of pictographic icons, examples, and documentation + can be found at: http://fortawesome.github.com/Font-Awesome/ + + License + ------------------------------------------------------- + The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0: + http://creativecommons.org/licenses/by/3.0/ A mention of + 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable + source code is considered acceptable attribution (most common on the web). + If human readable source code is not available to the end user, a mention in + an 'About' or 'Credits' screen is considered acceptable (most common in desktop + or mobile software). + + Contact + ------------------------------------------------------- + Email: dave@davegandy.com + Twitter: http://twitter.com/fortaweso_me + Work: http://lemonwi.se co-founder + + */ +@font-face { + font-family: "FontAwesome"; + src: url('../font/fontawesome-webfont.eot'); + src: url('../font/fontawesome-webfont.eot?#iefix') format('eot'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg'); + font-weight: normal; + font-style: normal; +} + +/* Font Awesome styles + ------------------------------------------------------- */ +[class^="icon-"]:before, [class*=" icon-"]:before { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + display: inline-block; + text-decoration: inherit; +} +a [class^="icon-"], a [class*=" icon-"] { + display: inline-block; + text-decoration: inherit; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: top; + font-size: 1.3333333333333333em; +} +.btn [class^="icon-"], .btn [class*=" icon-"] { + /* keeps button heights with and without icons the same */ + + line-height: .9em; +} +li [class^="icon-"], li [class*=" icon-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] { + /* 1.5 increased font size for icon-large * 1.25 width */ + + width: 1.875em; +} +li[class^="icon-"], li[class*=" icon-"] { + margin-left: 0; + list-style-type: none; +} +li[class^="icon-"]:before, li[class*=" icon-"]:before { + text-indent: -2em; + text-align: center; +} +li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before { + text-indent: -1.3333333333333333em; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { content: "\f000"; } +.icon-music:before { content: "\f001"; } +.icon-search:before { content: "\f002"; } +.icon-envelope:before { content: "\f003"; } +.icon-heart:before { content: "\f004"; } +.icon-star:before { content: "\f005"; } +.icon-star-empty:before { content: "\f006"; } +.icon-user:before { content: "\f007"; } +.icon-film:before { content: "\f008"; } +.icon-th-large:before { content: "\f009"; } +.icon-th:before { content: "\f00a"; } +.icon-th-list:before { content: "\f00b"; } +.icon-ok:before { content: "\f00c"; } +.icon-remove:before { content: "\f00d"; } +.icon-zoom-in:before { content: "\f00e"; } + +.icon-zoom-out:before { content: "\f010"; } +.icon-off:before { content: "\f011"; } +.icon-signal:before { content: "\f012"; } +.icon-cog:before { content: "\f013"; } +.icon-trash:before { content: "\f014"; } +.icon-home:before { content: "\f015"; } +.icon-file:before { content: "\f016"; } +.icon-time:before { content: "\f017"; } +.icon-road:before { content: "\f018"; } +.icon-download-alt:before { content: "\f019"; } +.icon-download:before { content: "\f01a"; } +.icon-upload:before { content: "\f01b"; } +.icon-inbox:before { content: "\f01c"; } +.icon-play-circle:before { content: "\f01d"; } +.icon-repeat:before { content: "\f01e"; } + +/* \f020 doesn't work in Safari. all shifted one down */ +.icon-refresh:before { content: "\f021"; } +.icon-list-alt:before { content: "\f022"; } +.icon-lock:before { content: "\f023"; } +.icon-flag:before { content: "\f024"; } +.icon-headphones:before { content: "\f025"; } +.icon-volume-off:before { content: "\f026"; } +.icon-volume-down:before { content: "\f027"; } +.icon-volume-up:before { content: "\f028"; } +.icon-qrcode:before { content: "\f029"; } +.icon-barcode:before { content: "\f02a"; } +.icon-tag:before { content: "\f02b"; } +.icon-tags:before { content: "\f02c"; } +.icon-book:before { content: "\f02d"; } +.icon-bookmark:before { content: "\f02e"; } +.icon-print:before { content: "\f02f"; } + +.icon-camera:before { content: "\f030"; } +.icon-font:before { content: "\f031"; } +.icon-bold:before { content: "\f032"; } +.icon-italic:before { content: "\f033"; } +.icon-text-height:before { content: "\f034"; } +.icon-text-width:before { content: "\f035"; } +.icon-align-left:before { content: "\f036"; } +.icon-align-center:before { content: "\f037"; } +.icon-align-right:before { content: "\f038"; } +.icon-align-justify:before { content: "\f039"; } +.icon-list:before { content: "\f03a"; } +.icon-indent-left:before { content: "\f03b"; } +.icon-indent-right:before { content: "\f03c"; } +.icon-facetime-video:before { content: "\f03d"; } +.icon-picture:before { content: "\f03e"; } + +.icon-pencil:before { content: "\f040"; } +.icon-map-marker:before { content: "\f041"; } +.icon-adjust:before { content: "\f042"; } +.icon-tint:before { content: "\f043"; } +.icon-edit:before { content: "\f044"; } +.icon-share:before { content: "\f045"; } +.icon-check:before { content: "\f046"; } +.icon-move:before { content: "\f047"; } +.icon-step-backward:before { content: "\f048"; } +.icon-fast-backward:before { content: "\f049"; } +.icon-backward:before { content: "\f04a"; } +.icon-play:before { content: "\f04b"; } +.icon-pause:before { content: "\f04c"; } +.icon-stop:before { content: "\f04d"; } +.icon-forward:before { content: "\f04e"; } + +.icon-fast-forward:before { content: "\f050"; } +.icon-step-forward:before { content: "\f051"; } +.icon-eject:before { content: "\f052"; } +.icon-chevron-left:before { content: "\f053"; } +.icon-chevron-right:before { content: "\f054"; } +.icon-plus-sign:before { content: "\f055"; } +.icon-minus-sign:before { content: "\f056"; } +.icon-remove-sign:before { content: "\f057"; } +.icon-ok-sign:before { content: "\f058"; } +.icon-question-sign:before { content: "\f059"; } +.icon-info-sign:before { content: "\f05a"; } +.icon-screenshot:before { content: "\f05b"; } +.icon-remove-circle:before { content: "\f05c"; } +.icon-ok-circle:before { content: "\f05d"; } +.icon-ban-circle:before { content: "\f05e"; } + +.icon-arrow-left:before { content: "\f060"; } +.icon-arrow-right:before { content: "\f061"; } +.icon-arrow-up:before { content: "\f062"; } +.icon-arrow-down:before { content: "\f063"; } +.icon-share-alt:before { content: "\f064"; } +.icon-resize-full:before { content: "\f065"; } +.icon-resize-small:before { content: "\f066"; } +.icon-plus:before { content: "\f067"; } +.icon-minus:before { content: "\f068"; } +.icon-asterisk:before { content: "\f069"; } +.icon-exclamation-sign:before { content: "\f06a"; } +.icon-gift:before { content: "\f06b"; } +.icon-leaf:before { content: "\f06c"; } +.icon-fire:before { content: "\f06d"; } +.icon-eye-open:before { content: "\f06e"; } + +.icon-eye-close:before { content: "\f070"; } +.icon-warning-sign:before { content: "\f071"; } +.icon-plane:before { content: "\f072"; } +.icon-calendar:before { content: "\f073"; } +.icon-random:before { content: "\f074"; } +.icon-comment:before { content: "\f075"; } +.icon-magnet:before { content: "\f076"; } +.icon-chevron-up:before { content: "\f077"; } +.icon-chevron-down:before { content: "\f078"; } +.icon-retweet:before { content: "\f079"; } +.icon-shopping-cart:before { content: "\f07a"; } +.icon-folder-close:before { content: "\f07b"; } +.icon-folder-open:before { content: "\f07c"; } +.icon-resize-vertical:before { content: "\f07d"; } +.icon-resize-horizontal:before { content: "\f07e"; } + +.icon-bar-chart:before { content: "\f080"; } +.icon-twitter-sign:before { content: "\f081"; } +.icon-facebook-sign:before { content: "\f082"; } +.icon-camera-retro:before { content: "\f083"; } +.icon-key:before { content: "\f084"; } +.icon-cogs:before { content: "\f085"; } +.icon-comments:before { content: "\f086"; } +.icon-thumbs-up:before { content: "\f087"; } +.icon-thumbs-down:before { content: "\f088"; } +.icon-star-half:before { content: "\f089"; } +.icon-heart-empty:before { content: "\f08a"; } +.icon-signout:before { content: "\f08b"; } +.icon-linkedin-sign:before { content: "\f08c"; } +.icon-pushpin:before { content: "\f08d"; } +.icon-external-link:before { content: "\f08e"; } + +.icon-signin:before { content: "\f090"; } +.icon-trophy:before { content: "\f091"; } +.icon-github-sign:before { content: "\f092"; } +.icon-upload-alt:before { content: "\f093"; } +.icon-lemon:before { content: "\f094"; } +.icon-phone:before { content: "\f095"; } +.icon-check-empty:before { content: "\f096"; } +.icon-bookmark-empty:before { content: "\f097"; } +.icon-phone-sign:before { content: "\f098"; } +.icon-twitter:before { content: "\f099"; } +.icon-facebook:before { content: "\f09a"; } +.icon-github:before { content: "\f09b"; } +.icon-unlock:before { content: "\f09c"; } +.icon-credit-card:before { content: "\f09d"; } +.icon-rss:before { content: "\f09e"; } + +.icon-hdd:before { content: "\f0a0"; } +.icon-bullhorn:before { content: "\f0a1"; } +.icon-bell:before { content: "\f0a2"; } +.icon-certificate:before { content: "\f0a3"; } +.icon-hand-right:before { content: "\f0a4"; } +.icon-hand-left:before { content: "\f0a5"; } +.icon-hand-up:before { content: "\f0a6"; } +.icon-hand-down:before { content: "\f0a7"; } +.icon-circle-arrow-left:before { content: "\f0a8"; } +.icon-circle-arrow-right:before { content: "\f0a9"; } +.icon-circle-arrow-up:before { content: "\f0aa"; } +.icon-circle-arrow-down:before { content: "\f0ab"; } +.icon-globe:before { content: "\f0ac"; } +.icon-wrench:before { content: "\f0ad"; } +.icon-tasks:before { content: "\f0ae"; } + +.icon-filter:before { content: "\f0b0"; } +.icon-briefcase:before { content: "\f0b1"; } +.icon-fullscreen:before { content: "\f0b2"; } + +.icon-group:before { content: "\f0c0"; } +.icon-link:before { content: "\f0c1"; } +.icon-cloud:before { content: "\f0c2"; } +.icon-beaker:before { content: "\f0c3"; } +.icon-cut:before { content: "\f0c4"; } +.icon-copy:before { content: "\f0c5"; } +.icon-paper-clip:before { content: "\f0c6"; } +.icon-save:before { content: "\f0c7"; } +.icon-sign-blank:before { content: "\f0c8"; } +.icon-reorder:before { content: "\f0c9"; } +.icon-list-ul:before { content: "\f0ca"; } +.icon-list-ol:before { content: "\f0cb"; } +.icon-strikethrough:before { content: "\f0cc"; } +.icon-underline:before { content: "\f0cd"; } +.icon-table:before { content: "\f0ce"; } + +.icon-magic:before { content: "\f0d0"; } +.icon-truck:before { content: "\f0d1"; } +.icon-pinterest:before { content: "\f0d2"; } +.icon-pinterest-sign:before { content: "\f0d3"; } +.icon-google-plus-sign:before { content: "\f0d4"; } +.icon-google-plus:before { content: "\f0d5"; } +.icon-money:before { content: "\f0d6"; } +.icon-caret-down:before { content: "\f0d7"; } +.icon-caret-up:before { content: "\f0d8"; } +.icon-caret-left:before { content: "\f0d9"; } +.icon-caret-right:before { content: "\f0da"; } +.icon-columns:before { content: "\f0db"; } +.icon-sort:before { content: "\f0dc"; } +.icon-sort-down:before { content: "\f0dd"; } +.icon-sort-up:before { content: "\f0de"; } + +.icon-envelope-alt:before { content: "\f0e0"; } +.icon-linkedin:before { content: "\f0e1"; } +.icon-undo:before { content: "\f0e2"; } +.icon-legal:before { content: "\f0e3"; } +.icon-dashboard:before { content: "\f0e4"; } +.icon-comment-alt:before { content: "\f0e5"; } +.icon-comments-alt:before { content: "\f0e6"; } +.icon-bolt:before { content: "\f0e7"; } +.icon-sitemap:before { content: "\f0e8"; } +.icon-umbrella:before { content: "\f0e9"; } +.icon-paste:before { content: "\f0ea"; } + +.icon-user-md:before { content: "\f200"; } diff --git a/api/resources/csses/prettify.css b/api/resources/csses/prettify.css deleted file mode 100644 index 2cd13649..00000000 --- a/api/resources/csses/prettify.css +++ /dev/null @@ -1,52 +0,0 @@ -/* Pretty printing styles. Used with prettify.js. */ - -/* SPAN elements with the classes below are added by prettyprint. */ -.pln { color: #000 } /* plain text */ - -@media screen { - .str { color: #2e6a40 } /* string content */ - .kwd { color: #214afc } /* a keyword */ - .com { color: #4c886b } /* a comment */ - .typ { color: #1130ad } /* a type name */ - .lit { color: #1130ad } /* a literal value */ - /* punctuation, lisp open bracket, lisp close bracket */ - .pun, .opn, .clo { color: #2d0603 } - .tag { color: #008 } /* a markup tag name */ - .atn { color: #606 } /* a markup attribute name */ - .atv { color: #080 } /* a markup attribute value */ - .dec, .var { color: #606 } /* a declaration; a variable name */ - .fun { color: #1130ad } /* a function name */ -} - -/* Use higher contrast and text-weight for printable form. */ -@media print, projection { - .str { color: #060 } - .kwd { color: #006; font-weight: bold } - .com { color: #600; font-style: italic } - .typ { color: #404; font-weight: bold } - .lit { color: #044 } - .pun, .opn, .clo { color: #440 } - .tag { color: #006; font-weight: bold } - .atn { color: #404 } - .atv { color: #060 } -} - -/* Put a border around prettyprinted code snippets. */ -/*pre.prettyprint { padding: 2px; }*/ - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */` -li.L0, -li.L1, -li.L2, -li.L3, -li.L5, -li.L6, -li.L7, -li.L8 { list-style-type: none } -/* Alternate shading for lines */ -li.L1, -li.L3, -li.L5, -li.L7, -li.L9 { background: #eee } diff --git a/api/resources/font/fontawesome-webfont.eot b/api/resources/font/fontawesome-webfont.eot new file mode 100644 index 00000000..89070c1e Binary files /dev/null and b/api/resources/font/fontawesome-webfont.eot differ diff --git a/api/resources/font/fontawesome-webfont.svg b/api/resources/font/fontawesome-webfont.svg new file mode 100644 index 00000000..1245f92c --- /dev/null +++ b/api/resources/font/fontawesome-webfont.svg @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/api/resources/font/fontawesome-webfont.ttf b/api/resources/font/fontawesome-webfont.ttf new file mode 100644 index 00000000..c17e9f8d Binary files /dev/null and b/api/resources/font/fontawesome-webfont.ttf differ diff --git a/api/resources/font/fontawesome-webfont.woff b/api/resources/font/fontawesome-webfont.woff new file mode 100644 index 00000000..09f2469a Binary files /dev/null and b/api/resources/font/fontawesome-webfont.woff differ diff --git a/api/resources/javascripts/bbq.js b/api/resources/javascripts/bbq.js new file mode 100644 index 00000000..bcbf2483 --- /dev/null +++ b/api/resources/javascripts/bbq.js @@ -0,0 +1,18 @@ +/* + * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010 + * http://benalman.com/projects/jquery-bbq-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&&E(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.noEscape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this); \ No newline at end of file diff --git a/api/resources/javascripts/bootstrap-dropdown.js b/api/resources/javascripts/bootstrap-dropdown.js deleted file mode 100644 index 54b61c5e..00000000 --- a/api/resources/javascripts/bootstrap-dropdown.js +++ /dev/null @@ -1,92 +0,0 @@ -/* ============================================================ - * bootstrap-dropdown.js v2.0.2 - * http://twitter.github.com/bootstrap/javascript.html#dropdowns - * ============================================================ - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============================================================ */ - - -!function( $ ){ - - "use strict" - - /* DROPDOWN CLASS DEFINITION - * ========================= */ - - var toggle = '[data-toggle="dropdown"]' - , Dropdown = function ( element ) { - var $el = $(element).on('click.dropdown.data-api', this.toggle) - $('html').on('click.dropdown.data-api', function () { - $el.parent().removeClass('open') - }) - } - - Dropdown.prototype = { - - constructor: Dropdown - - , toggle: function ( e ) { - var $this = $(this) - , selector = $this.attr('data-target') - , $parent - , isActive - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 - } - - $parent = $(selector) - $parent.length || ($parent = $this.parent()) - - isActive = $parent.hasClass('open') - - clearMenus() - !isActive && $parent.toggleClass('open') - - return false - } - - } - - function clearMenus() { - $(toggle).parent().removeClass('open') - } - - - /* DROPDOWN PLUGIN DEFINITION - * ========================== */ - - $.fn.dropdown = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('dropdown') - if (!data) $this.data('dropdown', (data = new Dropdown(this))) - if (typeof option == 'string') data[option].call($this) - }) - } - - $.fn.dropdown.Constructor = Dropdown - - - /* APPLY TO STANDARD DROPDOWN ELEMENTS - * =================================== */ - - $(function () { - $('html').on('click.dropdown.data-api', clearMenus) - $('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle) - }) - -}( window.jQuery ); \ No newline at end of file diff --git a/api/resources/javascripts/bootstrap.js b/api/resources/javascripts/bootstrap.js new file mode 100644 index 00000000..79241e74 --- /dev/null +++ b/api/resources/javascripts/bootstrap.js @@ -0,0 +1,389 @@ +/* ============================================================ + * bootstrap-dropdown.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#dropdowns + * ============================================================ + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============================================================ */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* DROPDOWN CLASS DEFINITION + * ========================= */ + + var toggle = '[data-toggle=dropdown]' + , Dropdown = function (element) { + var $el = $(element).on('click.dropdown.data-api', this.toggle) + $('html').on('click.dropdown.data-api', function () { + $el.parent().removeClass('open') + }) + } + + Dropdown.prototype = { + + constructor: Dropdown + + , toggle: function (e) { + var $this = $(this) + , $parent + , isActive + + if ($this.is('.disabled, :disabled')) return + + $parent = getParent($this) + + isActive = $parent.hasClass('open') + + clearMenus() + + if (!isActive) { + $parent.toggleClass('open') + $this.focus() + } + + return false + } + + , keydown: function (e) { + var $this + , $items + , $active + , $parent + , isActive + , index + + if (!/(38|40|27)/.test(e.keyCode)) return + + $this = $(this) + + e.preventDefault() + e.stopPropagation() + + if ($this.is('.disabled, :disabled')) return + + $parent = getParent($this) + + isActive = $parent.hasClass('open') + + if (!isActive || (isActive && e.keyCode == 27)) return $this.click() + + $items = $('[role=menu] li:not(.divider) a', $parent) + + if (!$items.length) return + + index = $items.index($items.filter(':focus')) + + if (e.keyCode == 38 && index > 0) index-- // up + if (e.keyCode == 40 && index < $items.length - 1) index++ // down + if (!~index) index = 0 + + $items + .eq(index) + .focus() + } + + } + + function clearMenus() { + getParent($(toggle)) + .removeClass('open') + } + + function getParent($this) { + var selector = $this.attr('data-target') + , $parent + + if (!selector) { + selector = $this.attr('href') + selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + $parent = $(selector) + $parent.length || ($parent = $this.parent()) + + return $parent + } + + + /* DROPDOWN PLUGIN DEFINITION + * ========================== */ + + $.fn.dropdown = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('dropdown') + if (!data) $this.data('dropdown', (data = new Dropdown(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + $.fn.dropdown.Constructor = Dropdown + + + /* APPLY TO STANDARD DROPDOWN ELEMENTS + * =================================== */ + + $(function () { + $('html') + .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus) + $('body') + .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) + .on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle) + .on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) + }) + +}(window.jQuery); +/* ======================================================== + * bootstrap-tab.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#tabs + * ======================================================== + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* TAB CLASS DEFINITION + * ==================== */ + + var Tab = function (element) { + this.element = $(element) + } + + Tab.prototype = { + + constructor: Tab + + , show: function () { + var $this = this.element + , $ul = $this.closest('ul:not(.dropdown-menu)') + , selector = $this.attr('data-target') + , previous + , $target + , e + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + if ( $this.parent('li').hasClass('active') ) return + + previous = $ul.find('.active a').last()[0] + + e = $.Event('show', { + relatedTarget: previous + }) + + $this.trigger(e) + + if (e.isDefaultPrevented()) return + + $target = $(selector) + + this.activate($this.parent('li'), $ul) + this.activate($target, $target.parent(), function () { + $this.trigger({ + type: 'shown' + , relatedTarget: previous + }) + }) + } + + , activate: function ( element, container, callback) { + var $active = container.find('> .active') + , transition = callback + && $.support.transition + && $active.hasClass('fade') + + function next() { + $active + .removeClass('active') + .find('> .dropdown-menu > .active') + .removeClass('active') + + element.addClass('active') + + if (transition) { + element[0].offsetWidth // reflow for transition + element.addClass('in') + } else { + element.removeClass('fade') + } + + if ( element.parent('.dropdown-menu') ) { + element.closest('li.dropdown').addClass('active') + } + + callback && callback() + } + + transition ? + $active.one($.support.transition.end, next) : + next() + + $active.removeClass('in') + } + } + + + /* TAB PLUGIN DEFINITION + * ===================== */ + + $.fn.tab = function ( option ) { + return this.each(function () { + var $this = $(this) + , data = $this.data('tab') + if (!data) $this.data('tab', (data = new Tab(this))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.tab.Constructor = Tab + + + /* TAB DATA-API + * ============ */ + + $(function () { + $('body').on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { + e.preventDefault() + $(this).tab('show') + }) + }) + +}(window.jQuery); +/* ========================================================== + * bootstrap-affix.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#affix + * ========================================================== + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* AFFIX CLASS DEFINITION + * ====================== */ + + var Affix = function (element, options) { + this.options = $.extend({}, $.fn.affix.defaults, options) + this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this)) + this.$element = $(element) + this.checkPosition() + } + + Affix.prototype.checkPosition = function () { + if (!this.$element.is(':visible')) return + + var scrollHeight = $(document).height() + , scrollTop = this.$window.scrollTop() + , position = this.$element.offset() + , offset = this.options.offset + , offsetBottom = offset.bottom + , offsetTop = offset.top + , reset = 'affix affix-top affix-bottom' + , affix + + if (typeof offset != 'object') offsetBottom = offsetTop = offset + if (typeof offsetTop == 'function') offsetTop = offset.top() + if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() + + affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? + false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? + 'bottom' : offsetTop != null && scrollTop <= offsetTop ? + 'top' : false + + if (this.affixed === affix) return + + this.affixed = affix + this.unpin = affix == 'bottom' ? position.top - scrollTop : null + + this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : '')) + } + + + /* AFFIX PLUGIN DEFINITION + * ======================= */ + + $.fn.affix = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('affix') + , options = typeof option == 'object' && option + if (!data) $this.data('affix', (data = new Affix(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.affix.Constructor = Affix + + $.fn.affix.defaults = { + offset: 0 + } + + + /* AFFIX DATA-API + * ============== */ + + $(window).on('load', function () { + $('[data-spy="affix"]').each(function () { + var $spy = $(this) + , data = $spy.data() + + data.offset = data.offset || {} + + data.offsetBottom && (data.offset.bottom = data.offsetBottom) + data.offsetTop && (data.offset.top = data.offsetTop) + + $spy.affix(data) + }) + }) + + +}(window.jQuery); \ No newline at end of file diff --git a/api/resources/javascripts/clicker.js b/api/resources/javascripts/clicker.js index 5fe3dca2..90e7e12c 100644 --- a/api/resources/javascripts/clicker.js +++ b/api/resources/javascripts/clicker.js @@ -1,7 +1,7 @@ -$(function() { +function setupClicker() { // when hovering over arrow, add highlight (only if inactive) - $("h3.methodToggle").hover(function () { - if (!$("h3.methodToggle").hasClass('active')) + $("i.methodToggle").hover(function () { + if (!$("i.methodToggle").hasClass('active')) $(this).addClass("methodToggleHover"); }, function () { @@ -9,27 +9,61 @@ $(function() { } ); - // after expanding the hidden description, hide the ellipsis - $('.signature-call, .signature-returns', '.signature').click(function() { - var $article = $(this).closest('.article'), - $arrow = $('h3.methodClicker', $article); + function handleClick(e, linkHref) { + //if (linkHref.indexOf("nav=api&api=") >= 0) + // return; + if (linkHref == "api") + return; + + e.preventDefault(); + + var dstElem; + if (linkHref) { + dstElem = $("article[id='" + linkHref + "']"); + } + + var $article = (dstElem || $(this)).closest('.article'), + $arrow = $('i.methodClicker', $article); if (!$article.hasClass('methodToggleOpen') || this.force) { $article.addClass('methodToggleOpen'); $arrow.removeClass('inactive').addClass('active'); + + if (!$arrow[0]) + return; + + var data = $arrow[0].id.replace(/^js_/, ""); + //var state = {}; + //state.section = data; + //$.bbq.pushState(state); - var data = location.hash = $arrow[0].id.replace(/^js_/, ""); scrollTo(null, data); } else { $article.removeClass('methodToggleOpen'); $arrow.removeClass('active').addClass('inactive'); } + } + + function transformHash(e) { + // some bs to figure out link hash + var hashId = (e.srcElement ? e.srcElement.href : (e.hash || e.target.href)) || e.currentTarget.hash; - }); + handleClick(e, hashId.substring(hashId.indexOf("#") + 1)); + } + + // for the arrow + $("i.methodToggle").click(handleClick); + + // for the signature + $('.member-name').click(handleClick); + + // for the top dropdown + $('li.memberLink a').click(transformHash); + + //$('a[href^="#"]').click(transformHash); $('.related-to', '.metaInfo').click(function(){ location.hash = $(this).find('a').attr('href').split('#')[1]; }); -}); - +} \ No newline at end of file diff --git a/api/resources/javascripts/disqus-ext.js b/api/resources/javascripts/disqus-ext.js index 6f966cc6..6bb7ff4e 100644 --- a/api/resources/javascripts/disqus-ext.js +++ b/api/resources/javascripts/disqus-ext.js @@ -1,12 +1,17 @@ -var disqus_shortname = 'aceapi'; - -var paths = window.location.pathname.split("/"); -var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1]; - -var disqus_identifier = fileName; - +function setupDisqus(href) { + var disqus_shortname = 'aceapi'; + + //var paths = window.location.pathname.split("/"); + //var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1]; + + //var disqus_identifier = fileName; + var disqus_identifier = href.substring(2); + (function() { - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); - })(); \ No newline at end of file + if (document.getElementById("disqusScript") === null) { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + } + })(); +} \ No newline at end of file diff --git a/api/resources/javascripts/ux.js b/api/resources/javascripts/ux.js index 58b1d358..4a2ffdbd 100644 --- a/api/resources/javascripts/ux.js +++ b/api/resources/javascripts/ux.js @@ -11,15 +11,6 @@ $(function () { $selNavLink.addClass('currentItem'); } - // init prettyprint - $('pre > code').addClass('prettyprint'); - prettyPrint(); - - var baseTitle = document.title, - // base (general) part of title - pathName = window.location.pathname, - fileName = pathName.substring(window.location.pathname.lastIndexOf("/") + 1); - if (window.addEventListener) window.addEventListener('load', loadCallback, true); else window.attachEvent('load', loadCallback, true); @@ -31,7 +22,6 @@ $(function () { if (query) { input.value = ""; input.blur(); - var currentVersion = $('#currentVersion').text(); var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org/api" + " " + query); window.open(url); } @@ -47,7 +37,7 @@ $(function () { }).find('input'); }); -$(document).ready(function () { +function ux() { var d = 'a.menu, .dropdown-toggle' function clearMenus() { @@ -79,11 +69,10 @@ $(document).ready(function () { else sx = 0; $('.members').each(function (i) { - var position = $(this).position(); var $classContent = $(this).closest('.classContent'); $(this).scrollspy({ - min: $classContent.position().top - 35, + min: $classContent.position().top + 5, max: $classContent.position().top + $classContent.height() - 35, onEnter: function (element, position) { var $pagination = $(element); @@ -94,8 +83,7 @@ $(document).ready(function () { $paginationContent.css('top', 0); $pagination.addClass('shadow').stop().css({ - height: 31, - 'top': 33 + height: 31 }).closest('.classContent').addClass('srolled'); $tabs.addClass('tabsSansBorder'); @@ -133,7 +121,7 @@ $(document).ready(function () { }); }); - $('span.methodClicker, article.article, h3.methodClicker').each(function () { + $('span.methodClicker, article.article, i.methodClicker').each(function () { var a = $(this); var constructorPos = a.attr("id").indexOf("new "); @@ -145,27 +133,16 @@ $(document).ready(function () { a.attr("id", objName); }); - - $('.brand').parent('.dropdown').hover( - - function () { - $(this).addClass('open'); - }, function () { - clearMenus(); - }); - - $('.versions').hover( - - function () { - $(this).addClass('open'); - }, function () { - clearMenus(); - }); - + function showMethodContent() { - if (!location.hash) return; - - var $clickerEl = $('span#' + location.hash.replace(/^#/, '').replace(/\./g, '\\.')); + var locationHash = location.hash.replace(/^#/, '').replace(/\./g, '\\.'); + var equalsPos = location.hash.indexOf("="); + + if (equalsPos >=0) { + locationHash = locationHash.substring(0, location.hash.indexOf("=")); + } + + var $clickerEl = $('span#' + locationHash); if ($clickerEl.length > 0 && $clickerEl.hasClass('methodClicker')) { var p = $clickerEl.parent(); p[0].force = true; @@ -174,7 +151,7 @@ $(document).ready(function () { } } - if (location.hash) { + if (location.hash.indexOf("section") >= 1) { showMethodContent(); var data = location.hash; scrollTo(null, data.substr(1)); @@ -183,12 +160,12 @@ $(document).ready(function () { window.onhashchange = function () { showMethodContent(); } -}); +}; function scrollTo(el, data) { if (!data) { data = el.getAttribute("data-id"); - location.hash = data; + //location.hash = data; } var el = $("span#" + data.replace(/\./g, "\\."))[0]; if (!el) return; diff --git a/api/scrollbar.html b/api/scrollbar.html index 9753245e..8ba5848c 100644 --- a/api/scrollbar.html +++ b/api/scrollbar.html @@ -1,29 +1,19 @@ - - - - ScrollBar - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file diff --git a/api/search.html b/api/search.html index deace184..a2e1f5f3 100644 --- a/api/search.html +++ b/api/search.html @@ -1,41 +1,35 @@ - - - - Search - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                StringIf 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file diff --git a/api/selection.html b/api/selection.html index 4b24dcac..bb08acd7 100644 --- a/api/selection.html +++ b/api/selection.html @@ -1,133 +1,123 @@ - - - - Selection - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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 +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 diff --git a/api/split.html b/api/split.html index d3d6d206..44c46036 100644 --- a/api/split.html +++ b/api/split.html @@ -1,46 +1,36 @@ - - - - Split - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Arguments

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            containerDocument

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Required. The document to associate with the split

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Blurs the current editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Blurs the current editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Focuses the current editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Focuses the current editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Executes callback on all of the available editors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Executes callback on all of the available editors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sets the font size, in pixels, for all the available editors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sets the font size, in pixels, for all the available editors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sets a theme for each of the available editors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sets a theme for each of the available editors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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.UndoManagerProxy()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Void
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Internal
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file diff --git a/api/token_iterator.html b/api/token_iterator.html index 99d71067..a6de2ef9 100644 --- a/api/token_iterator.html +++ b/api/token_iterator.html @@ -1,27 +1,18 @@ - - - - TokenIterator - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        StringIf 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 +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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 diff --git a/api/tokenizer.html b/api/tokenizer.html index d7b979cb..5ca489e9 100644 --- a/api/tokenizer.html +++ b/api/tokenizer.html @@ -1,18 +1,8 @@ - - - - Tokenizer - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructs a new tokenizer based on the given rules and flags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructs a new tokenizer based on the given rules and flags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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 +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 diff --git a/api/undomanager.html b/api/undomanager.html index aed3394c..da876c91 100644 --- a/api/undomanager.html +++ b/api/undomanager.html @@ -1,33 +1,23 @@ - - - - UndoManager - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file diff --git a/api/virtual_renderer.html b/api/virtual_renderer.html index e2f92bfc..b61cb4b5 100644 --- a/api/virtual_renderer.html +++ b/api/virtual_renderer.html @@ -1,163 +1,153 @@ - - - - VirtualRenderer - Ace API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Gracefully scrolls the top of the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Gracefully scrolls the top of the editor to the row indicated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • 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.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 diff --git a/demo/kitchen-sink/demo.js b/demo/kitchen-sink/demo.js index f3a163e5..71b6faae 100644 --- a/demo/kitchen-sink/demo.js +++ b/demo/kitchen-sink/demo.js @@ -98,6 +98,7 @@ var modesByName = { clojure: ["Clojure" , "clj"], jade: ["Jade" , "jade"], java: ["Java" , "java"], + jsp: ["JSP" , "jsp"], javascript: ["JavaScript" , "js"], json: ["JSON" , "json"], jsx: ["JSX" , "jsx"], @@ -179,6 +180,7 @@ var docs = { "docs/html.html": "HTML", "docs/jade.jade": "Jade", "docs/java.java": "Java", + "docs/jsp.jsp": "JSP", "docs/json.json": "JSON", "docs/jsx.jsx": "JSX", "docs/latex.tex": {name: "LaTeX", wrapped: true}, diff --git a/demo/kitchen-sink/docs/diff.diff b/demo/kitchen-sink/docs/diff.diff index 3f58128a..16c89890 100644 --- a/demo/kitchen-sink/docs/diff.diff +++ b/demo/kitchen-sink/docs/diff.diff @@ -16,7 +16,7 @@ index 23fc3fc..ed3b273 100644 + this.highlight = function(re) { + if (!this.$searchHighlight) { -+ var highlight = new SearchHighlight(null, "ace_selected_word", "text"); ++ var highlight = new SearchHighlight(null, "ace_selected-word", "text"); + this.$searchHighlight = this.addDynamicMarker(highlight); + } + this.$searchHighlight.setRegexp(re); diff --git a/demo/kitchen-sink/docs/jsp.jsp b/demo/kitchen-sink/docs/jsp.jsp new file mode 100644 index 00000000..43fbb835 --- /dev/null +++ b/demo/kitchen-sink/docs/jsp.jsp @@ -0,0 +1,46 @@ + + + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + Today's date: <%= (new java.util.Date()).toLocaleString()%> +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + <%! int i = 0; %> + + int j = 10; + + + <%-- This is JSP comment --%> + <%@ directive attribute="value" %> + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Select Languages:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + Java
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + .NET
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + PHP
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + C/C++
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + PERL
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + <% + String select[] = request.getParameterValues("id"); + if (select != null && select.length != 0) { + out.println("You have selected: "); + for (int i = 0; i < select.length; i++) { + out.println(select[i]); + } + } + %> + + \ No newline at end of file diff --git a/demo/kitchen-sink/docs/svg.svg b/demo/kitchen-sink/docs/svg.svg index a3f1c757..4bb28e22 100644 --- a/demo/kitchen-sink/docs/svg.svg +++ b/demo/kitchen-sink/docs/svg.svg @@ -47,7 +47,7 @@ setTimeout("ShowAndGrowElement()", timer_increment) } window.ShowAndGrowElement = ShowAndGrowElement - ]] + ]]> li > a { + padding: 10px 15px 11px; +} + .navbar { text-align:center; } @@ -111,8 +110,8 @@ blockquote p{ margin-left: 0px; } .brand { - background: transparent url(../images/ace_logo_menu.png) no-repeat 13px 5px; - width: 105px; + background: transparent url(../images/ace_logo_menu.png) no-repeat 33px 5px; + width: 80px; outline: none; height: 40px; padding: 0 10px !important; @@ -142,25 +141,54 @@ blockquote p{ Menu venue */ +form.navbar-search { + float: none; +} + +form.navbar-search .search-query { + background-color: #FFFFFF; + border-color: #999; + -webkit-transition: border 0.3s; + -moz-transition: border 0.3s; + font-size: 14px; + line-height: 16px; +} + +form.navbar-search .search-query:focus, form.navbar-search .search-query:active { + border: 1px solid #666; +} + +.navbar-search .search-query:focus, .navbar-search .search-query.focused { + padding: 4px 9px; +} + +h3.api_title { + padding-top: 10px; +} + ul.menu { - margin-left: 16px; + margin-left: 2px; } .menu li { list-style-image: url(../images/menu_disc.png); - margin-bottom: 3px; - font-weight : 700; + margin-bottom: 4px; + font-weight: 700; + padding-left: 10px; + margin-left: 0; } .menu li .menu-item a.menuLink, .menu li .menu-item span.menuLink { - color: #262626; + color: #3E7096; + font-weight: 100; } .menuTwo { margin-bottom: 5px; margin-top: 2px; } .menuTwo li .menu-item a.menuLink { - color: #262626; + color: #3E7096; + font-weight: 100; } /* need specificity to "beat" the above colors */ @@ -223,7 +251,6 @@ ul.menu { box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); */ padding-bottom: 15px; /* height: 31px;*/ - top: 40px; position: fixed; } .shadow.members{ @@ -270,10 +297,15 @@ ul.menu { } .srolled .membersContent { /*top : 0;*/ - width : 695px; - padding-left : 305px; + width: 625px; + padding-left: 327px; margin : 0 auto 0 auto; } + +.srolled ul.nav { + padding-right: 10px; +} + .membersBackground { /* background-color: white; position: fixed; @@ -321,14 +353,12 @@ li.dropdown { font-weight: bold; } - -.backToMDN, .editInC9 { +.editInC9 { font-size: 11px; color: #657383; - margin : 0 0 0 5px; } -.backToMDN a, .editInC9 a { +.editInC9 a { color: #657383; font-weight: normal; position : relative; @@ -336,7 +366,7 @@ li.dropdown { } .tabs { - padding-top: 10px; + padding-top: 14px; /*border-bottom: 1px solid #848484;*/ min-height : 27px; padding-bottom : 5px; @@ -472,7 +502,6 @@ ul.tabs .double ul, ul.tabs .triple ul, ul.tabs .quad ul{ height: 100%; } .content .row { - width: 1060px; margin-left: auto; margin-right: auto; } @@ -484,8 +513,8 @@ header.filler { } .centerpiece { - background: url(../images/sidebar_border.png) repeat-y 230px 0; min-height: 100%; + padding: 20px 0; } /* @@ -501,12 +530,8 @@ header.filler { margin-bottom: 3px; } -#sidebarContainer { - margin-right: 60px; -} - #sidebar { - margin-top: 9px; + margin-top: 5px; /*background: url(../images/sidebar-border.png) repeat-y right 0;*/ margin-left: 12px; /* width: 280px;*/ @@ -524,14 +549,22 @@ header.filler { } #documentation { + padding-left: 15px; padding-bottom: 10px; } #documentation article.article { -/* border-bottom: 1px solid #e9e9e9;*/ border-top: 1px solid #e9e9e9; padding: 16px 10px 2px; + -webkit-transition: padding 0.2s; + -moz-transition: padding 0.2s; + -o-transition: padding 0.2s; } + +#documentation h3.sectionHeader + article.article { + border-top: none; +} + div#documentation article:last-child { border-bottom: 1px solid #e9e9e9; padding-bottom: 40px; @@ -663,7 +696,7 @@ li.signature { cursor: pointer; } -.signature-call a { +#documentation .signature-call a { color: #8e487e; } @@ -710,14 +743,14 @@ li.signature { text-transform: capitalize; } -.alias a, .related-to a { +#documentation .alias a, #documentation .related-to a { color: #ffffff; /* text-decoration: underline; */ } -.alias a:hover, .related-to a:hover { +#documentation .alias a:hover, #documentation .related-to a:hover { text-decoration: none; } -.alias:hover, .related-to:hover { +.#documentation alias:hover, #documentation .related-to:hover { opacity: 0.8; cursor: pointer; } @@ -769,9 +802,33 @@ li.signature { font-size: 24px; margin-top: 5px; } -#documentation h3.methodToggle { - margin: 0; +#documentation i.methodToggle { + cursor: pointer; + color: #9f9f9f; + padding-top: 2px; + float: left; } +#documentation i.methodToggle.methodToggleHover { + text-shadow: 0 0 10px #4699d5; + color: #4699d5; +} +#documentation i.methodToggle.active { + text-shadow: 0 0 10px #4699d5; + color: #4699d5; + /* Safari */ + -webkit-transform: rotate(45deg); + + /* Firefox */ + -moz-transform: rotate(45deg); + + /* IE */ + -ms-transform: rotate(45deg); + + /* Opera */ + -o-transform: rotate(45deg); + padding-top: 9px; +} + #documentation h3.sectionHeader { margin: 10px 0 17px 0; line-height : 24px; @@ -934,25 +991,3 @@ body #dsq-reply h3{ #dsq-global-toolbar, #dsq-pagination, .dsq-trackback-url{ display : none; } - -/* Sticky footer stuff */ - -* { - margin: 0; -} -html, body { - height: 100%; -} -#nonFooter { - height: 100%; - margin: 0 auto -40px; /* the bottom margin is the negative value of the footer's height */ -} -div.push { - height: 40px; /* .push must be the same height as .footer */ -} -#footer, div.push { -clear: both; -} -#footer { - margin-top: 40px; -} \ No newline at end of file diff --git a/doc/resources/ace/skeleton/csses/font-awesome.css b/doc/resources/ace/skeleton/csses/font-awesome.css new file mode 100644 index 00000000..4697599c --- /dev/null +++ b/doc/resources/ace/skeleton/csses/font-awesome.css @@ -0,0 +1,303 @@ +/* Font Awesome + the iconic font designed for use with Twitter Bootstrap + ------------------------------------------------------- + The full suite of pictographic icons, examples, and documentation + can be found at: http://fortawesome.github.com/Font-Awesome/ + + License + ------------------------------------------------------- + The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0: + http://creativecommons.org/licenses/by/3.0/ A mention of + 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable + source code is considered acceptable attribution (most common on the web). + If human readable source code is not available to the end user, a mention in + an 'About' or 'Credits' screen is considered acceptable (most common in desktop + or mobile software). + + Contact + ------------------------------------------------------- + Email: dave@davegandy.com + Twitter: http://twitter.com/fortaweso_me + Work: http://lemonwi.se co-founder + + */ +@font-face { + font-family: "FontAwesome"; + src: url('../font/fontawesome-webfont.eot'); + src: url('../font/fontawesome-webfont.eot?#iefix') format('eot'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg'); + font-weight: normal; + font-style: normal; +} + +/* Font Awesome styles + ------------------------------------------------------- */ +[class^="icon-"]:before, [class*=" icon-"]:before { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + display: inline-block; + text-decoration: inherit; +} +a [class^="icon-"], a [class*=" icon-"] { + display: inline-block; + text-decoration: inherit; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: top; + font-size: 1.3333333333333333em; +} +.btn [class^="icon-"], .btn [class*=" icon-"] { + /* keeps button heights with and without icons the same */ + + line-height: .9em; +} +li [class^="icon-"], li [class*=" icon-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] { + /* 1.5 increased font size for icon-large * 1.25 width */ + + width: 1.875em; +} +li[class^="icon-"], li[class*=" icon-"] { + margin-left: 0; + list-style-type: none; +} +li[class^="icon-"]:before, li[class*=" icon-"]:before { + text-indent: -2em; + text-align: center; +} +li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before { + text-indent: -1.3333333333333333em; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { content: "\f000"; } +.icon-music:before { content: "\f001"; } +.icon-search:before { content: "\f002"; } +.icon-envelope:before { content: "\f003"; } +.icon-heart:before { content: "\f004"; } +.icon-star:before { content: "\f005"; } +.icon-star-empty:before { content: "\f006"; } +.icon-user:before { content: "\f007"; } +.icon-film:before { content: "\f008"; } +.icon-th-large:before { content: "\f009"; } +.icon-th:before { content: "\f00a"; } +.icon-th-list:before { content: "\f00b"; } +.icon-ok:before { content: "\f00c"; } +.icon-remove:before { content: "\f00d"; } +.icon-zoom-in:before { content: "\f00e"; } + +.icon-zoom-out:before { content: "\f010"; } +.icon-off:before { content: "\f011"; } +.icon-signal:before { content: "\f012"; } +.icon-cog:before { content: "\f013"; } +.icon-trash:before { content: "\f014"; } +.icon-home:before { content: "\f015"; } +.icon-file:before { content: "\f016"; } +.icon-time:before { content: "\f017"; } +.icon-road:before { content: "\f018"; } +.icon-download-alt:before { content: "\f019"; } +.icon-download:before { content: "\f01a"; } +.icon-upload:before { content: "\f01b"; } +.icon-inbox:before { content: "\f01c"; } +.icon-play-circle:before { content: "\f01d"; } +.icon-repeat:before { content: "\f01e"; } + +/* \f020 doesn't work in Safari. all shifted one down */ +.icon-refresh:before { content: "\f021"; } +.icon-list-alt:before { content: "\f022"; } +.icon-lock:before { content: "\f023"; } +.icon-flag:before { content: "\f024"; } +.icon-headphones:before { content: "\f025"; } +.icon-volume-off:before { content: "\f026"; } +.icon-volume-down:before { content: "\f027"; } +.icon-volume-up:before { content: "\f028"; } +.icon-qrcode:before { content: "\f029"; } +.icon-barcode:before { content: "\f02a"; } +.icon-tag:before { content: "\f02b"; } +.icon-tags:before { content: "\f02c"; } +.icon-book:before { content: "\f02d"; } +.icon-bookmark:before { content: "\f02e"; } +.icon-print:before { content: "\f02f"; } + +.icon-camera:before { content: "\f030"; } +.icon-font:before { content: "\f031"; } +.icon-bold:before { content: "\f032"; } +.icon-italic:before { content: "\f033"; } +.icon-text-height:before { content: "\f034"; } +.icon-text-width:before { content: "\f035"; } +.icon-align-left:before { content: "\f036"; } +.icon-align-center:before { content: "\f037"; } +.icon-align-right:before { content: "\f038"; } +.icon-align-justify:before { content: "\f039"; } +.icon-list:before { content: "\f03a"; } +.icon-indent-left:before { content: "\f03b"; } +.icon-indent-right:before { content: "\f03c"; } +.icon-facetime-video:before { content: "\f03d"; } +.icon-picture:before { content: "\f03e"; } + +.icon-pencil:before { content: "\f040"; } +.icon-map-marker:before { content: "\f041"; } +.icon-adjust:before { content: "\f042"; } +.icon-tint:before { content: "\f043"; } +.icon-edit:before { content: "\f044"; } +.icon-share:before { content: "\f045"; } +.icon-check:before { content: "\f046"; } +.icon-move:before { content: "\f047"; } +.icon-step-backward:before { content: "\f048"; } +.icon-fast-backward:before { content: "\f049"; } +.icon-backward:before { content: "\f04a"; } +.icon-play:before { content: "\f04b"; } +.icon-pause:before { content: "\f04c"; } +.icon-stop:before { content: "\f04d"; } +.icon-forward:before { content: "\f04e"; } + +.icon-fast-forward:before { content: "\f050"; } +.icon-step-forward:before { content: "\f051"; } +.icon-eject:before { content: "\f052"; } +.icon-chevron-left:before { content: "\f053"; } +.icon-chevron-right:before { content: "\f054"; } +.icon-plus-sign:before { content: "\f055"; } +.icon-minus-sign:before { content: "\f056"; } +.icon-remove-sign:before { content: "\f057"; } +.icon-ok-sign:before { content: "\f058"; } +.icon-question-sign:before { content: "\f059"; } +.icon-info-sign:before { content: "\f05a"; } +.icon-screenshot:before { content: "\f05b"; } +.icon-remove-circle:before { content: "\f05c"; } +.icon-ok-circle:before { content: "\f05d"; } +.icon-ban-circle:before { content: "\f05e"; } + +.icon-arrow-left:before { content: "\f060"; } +.icon-arrow-right:before { content: "\f061"; } +.icon-arrow-up:before { content: "\f062"; } +.icon-arrow-down:before { content: "\f063"; } +.icon-share-alt:before { content: "\f064"; } +.icon-resize-full:before { content: "\f065"; } +.icon-resize-small:before { content: "\f066"; } +.icon-plus:before { content: "\f067"; } +.icon-minus:before { content: "\f068"; } +.icon-asterisk:before { content: "\f069"; } +.icon-exclamation-sign:before { content: "\f06a"; } +.icon-gift:before { content: "\f06b"; } +.icon-leaf:before { content: "\f06c"; } +.icon-fire:before { content: "\f06d"; } +.icon-eye-open:before { content: "\f06e"; } + +.icon-eye-close:before { content: "\f070"; } +.icon-warning-sign:before { content: "\f071"; } +.icon-plane:before { content: "\f072"; } +.icon-calendar:before { content: "\f073"; } +.icon-random:before { content: "\f074"; } +.icon-comment:before { content: "\f075"; } +.icon-magnet:before { content: "\f076"; } +.icon-chevron-up:before { content: "\f077"; } +.icon-chevron-down:before { content: "\f078"; } +.icon-retweet:before { content: "\f079"; } +.icon-shopping-cart:before { content: "\f07a"; } +.icon-folder-close:before { content: "\f07b"; } +.icon-folder-open:before { content: "\f07c"; } +.icon-resize-vertical:before { content: "\f07d"; } +.icon-resize-horizontal:before { content: "\f07e"; } + +.icon-bar-chart:before { content: "\f080"; } +.icon-twitter-sign:before { content: "\f081"; } +.icon-facebook-sign:before { content: "\f082"; } +.icon-camera-retro:before { content: "\f083"; } +.icon-key:before { content: "\f084"; } +.icon-cogs:before { content: "\f085"; } +.icon-comments:before { content: "\f086"; } +.icon-thumbs-up:before { content: "\f087"; } +.icon-thumbs-down:before { content: "\f088"; } +.icon-star-half:before { content: "\f089"; } +.icon-heart-empty:before { content: "\f08a"; } +.icon-signout:before { content: "\f08b"; } +.icon-linkedin-sign:before { content: "\f08c"; } +.icon-pushpin:before { content: "\f08d"; } +.icon-external-link:before { content: "\f08e"; } + +.icon-signin:before { content: "\f090"; } +.icon-trophy:before { content: "\f091"; } +.icon-github-sign:before { content: "\f092"; } +.icon-upload-alt:before { content: "\f093"; } +.icon-lemon:before { content: "\f094"; } +.icon-phone:before { content: "\f095"; } +.icon-check-empty:before { content: "\f096"; } +.icon-bookmark-empty:before { content: "\f097"; } +.icon-phone-sign:before { content: "\f098"; } +.icon-twitter:before { content: "\f099"; } +.icon-facebook:before { content: "\f09a"; } +.icon-github:before { content: "\f09b"; } +.icon-unlock:before { content: "\f09c"; } +.icon-credit-card:before { content: "\f09d"; } +.icon-rss:before { content: "\f09e"; } + +.icon-hdd:before { content: "\f0a0"; } +.icon-bullhorn:before { content: "\f0a1"; } +.icon-bell:before { content: "\f0a2"; } +.icon-certificate:before { content: "\f0a3"; } +.icon-hand-right:before { content: "\f0a4"; } +.icon-hand-left:before { content: "\f0a5"; } +.icon-hand-up:before { content: "\f0a6"; } +.icon-hand-down:before { content: "\f0a7"; } +.icon-circle-arrow-left:before { content: "\f0a8"; } +.icon-circle-arrow-right:before { content: "\f0a9"; } +.icon-circle-arrow-up:before { content: "\f0aa"; } +.icon-circle-arrow-down:before { content: "\f0ab"; } +.icon-globe:before { content: "\f0ac"; } +.icon-wrench:before { content: "\f0ad"; } +.icon-tasks:before { content: "\f0ae"; } + +.icon-filter:before { content: "\f0b0"; } +.icon-briefcase:before { content: "\f0b1"; } +.icon-fullscreen:before { content: "\f0b2"; } + +.icon-group:before { content: "\f0c0"; } +.icon-link:before { content: "\f0c1"; } +.icon-cloud:before { content: "\f0c2"; } +.icon-beaker:before { content: "\f0c3"; } +.icon-cut:before { content: "\f0c4"; } +.icon-copy:before { content: "\f0c5"; } +.icon-paper-clip:before { content: "\f0c6"; } +.icon-save:before { content: "\f0c7"; } +.icon-sign-blank:before { content: "\f0c8"; } +.icon-reorder:before { content: "\f0c9"; } +.icon-list-ul:before { content: "\f0ca"; } +.icon-list-ol:before { content: "\f0cb"; } +.icon-strikethrough:before { content: "\f0cc"; } +.icon-underline:before { content: "\f0cd"; } +.icon-table:before { content: "\f0ce"; } + +.icon-magic:before { content: "\f0d0"; } +.icon-truck:before { content: "\f0d1"; } +.icon-pinterest:before { content: "\f0d2"; } +.icon-pinterest-sign:before { content: "\f0d3"; } +.icon-google-plus-sign:before { content: "\f0d4"; } +.icon-google-plus:before { content: "\f0d5"; } +.icon-money:before { content: "\f0d6"; } +.icon-caret-down:before { content: "\f0d7"; } +.icon-caret-up:before { content: "\f0d8"; } +.icon-caret-left:before { content: "\f0d9"; } +.icon-caret-right:before { content: "\f0da"; } +.icon-columns:before { content: "\f0db"; } +.icon-sort:before { content: "\f0dc"; } +.icon-sort-down:before { content: "\f0dd"; } +.icon-sort-up:before { content: "\f0de"; } + +.icon-envelope-alt:before { content: "\f0e0"; } +.icon-linkedin:before { content: "\f0e1"; } +.icon-undo:before { content: "\f0e2"; } +.icon-legal:before { content: "\f0e3"; } +.icon-dashboard:before { content: "\f0e4"; } +.icon-comment-alt:before { content: "\f0e5"; } +.icon-comments-alt:before { content: "\f0e6"; } +.icon-bolt:before { content: "\f0e7"; } +.icon-sitemap:before { content: "\f0e8"; } +.icon-umbrella:before { content: "\f0e9"; } +.icon-paste:before { content: "\f0ea"; } + +.icon-user-md:before { content: "\f200"; } diff --git a/doc/resources/ace/skeleton/csses/prettify.css b/doc/resources/ace/skeleton/csses/prettify.css deleted file mode 100644 index 2cd13649..00000000 --- a/doc/resources/ace/skeleton/csses/prettify.css +++ /dev/null @@ -1,52 +0,0 @@ -/* Pretty printing styles. Used with prettify.js. */ - -/* SPAN elements with the classes below are added by prettyprint. */ -.pln { color: #000 } /* plain text */ - -@media screen { - .str { color: #2e6a40 } /* string content */ - .kwd { color: #214afc } /* a keyword */ - .com { color: #4c886b } /* a comment */ - .typ { color: #1130ad } /* a type name */ - .lit { color: #1130ad } /* a literal value */ - /* punctuation, lisp open bracket, lisp close bracket */ - .pun, .opn, .clo { color: #2d0603 } - .tag { color: #008 } /* a markup tag name */ - .atn { color: #606 } /* a markup attribute name */ - .atv { color: #080 } /* a markup attribute value */ - .dec, .var { color: #606 } /* a declaration; a variable name */ - .fun { color: #1130ad } /* a function name */ -} - -/* Use higher contrast and text-weight for printable form. */ -@media print, projection { - .str { color: #060 } - .kwd { color: #006; font-weight: bold } - .com { color: #600; font-style: italic } - .typ { color: #404; font-weight: bold } - .lit { color: #044 } - .pun, .opn, .clo { color: #440 } - .tag { color: #006; font-weight: bold } - .atn { color: #404 } - .atv { color: #060 } -} - -/* Put a border around prettyprinted code snippets. */ -/*pre.prettyprint { padding: 2px; }*/ - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */` -li.L0, -li.L1, -li.L2, -li.L3, -li.L5, -li.L6, -li.L7, -li.L8 { list-style-type: none } -/* Alternate shading for lines */ -li.L1, -li.L3, -li.L5, -li.L7, -li.L9 { background: #eee } diff --git a/doc/resources/ace/skeleton/font/fontawesome-webfont.eot b/doc/resources/ace/skeleton/font/fontawesome-webfont.eot new file mode 100644 index 00000000..89070c1e Binary files /dev/null and b/doc/resources/ace/skeleton/font/fontawesome-webfont.eot differ diff --git a/doc/resources/ace/skeleton/font/fontawesome-webfont.svg b/doc/resources/ace/skeleton/font/fontawesome-webfont.svg new file mode 100644 index 00000000..1245f92c --- /dev/null +++ b/doc/resources/ace/skeleton/font/fontawesome-webfont.svg @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/resources/ace/skeleton/font/fontawesome-webfont.ttf b/doc/resources/ace/skeleton/font/fontawesome-webfont.ttf new file mode 100644 index 00000000..c17e9f8d Binary files /dev/null and b/doc/resources/ace/skeleton/font/fontawesome-webfont.ttf differ diff --git a/doc/resources/ace/skeleton/font/fontawesome-webfont.woff b/doc/resources/ace/skeleton/font/fontawesome-webfont.woff new file mode 100644 index 00000000..09f2469a Binary files /dev/null and b/doc/resources/ace/skeleton/font/fontawesome-webfont.woff differ diff --git a/doc/resources/ace/skeleton/javascripts/bbq.js b/doc/resources/ace/skeleton/javascripts/bbq.js new file mode 100644 index 00000000..bcbf2483 --- /dev/null +++ b/doc/resources/ace/skeleton/javascripts/bbq.js @@ -0,0 +1,18 @@ +/* + * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010 + * http://benalman.com/projects/jquery-bbq-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&&E(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.noEscape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this); \ No newline at end of file diff --git a/doc/resources/ace/skeleton/javascripts/bootstrap-dropdown.js b/doc/resources/ace/skeleton/javascripts/bootstrap-dropdown.js deleted file mode 100644 index 54b61c5e..00000000 --- a/doc/resources/ace/skeleton/javascripts/bootstrap-dropdown.js +++ /dev/null @@ -1,92 +0,0 @@ -/* ============================================================ - * bootstrap-dropdown.js v2.0.2 - * http://twitter.github.com/bootstrap/javascript.html#dropdowns - * ============================================================ - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============================================================ */ - - -!function( $ ){ - - "use strict" - - /* DROPDOWN CLASS DEFINITION - * ========================= */ - - var toggle = '[data-toggle="dropdown"]' - , Dropdown = function ( element ) { - var $el = $(element).on('click.dropdown.data-api', this.toggle) - $('html').on('click.dropdown.data-api', function () { - $el.parent().removeClass('open') - }) - } - - Dropdown.prototype = { - - constructor: Dropdown - - , toggle: function ( e ) { - var $this = $(this) - , selector = $this.attr('data-target') - , $parent - , isActive - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 - } - - $parent = $(selector) - $parent.length || ($parent = $this.parent()) - - isActive = $parent.hasClass('open') - - clearMenus() - !isActive && $parent.toggleClass('open') - - return false - } - - } - - function clearMenus() { - $(toggle).parent().removeClass('open') - } - - - /* DROPDOWN PLUGIN DEFINITION - * ========================== */ - - $.fn.dropdown = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('dropdown') - if (!data) $this.data('dropdown', (data = new Dropdown(this))) - if (typeof option == 'string') data[option].call($this) - }) - } - - $.fn.dropdown.Constructor = Dropdown - - - /* APPLY TO STANDARD DROPDOWN ELEMENTS - * =================================== */ - - $(function () { - $('html').on('click.dropdown.data-api', clearMenus) - $('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle) - }) - -}( window.jQuery ); \ No newline at end of file diff --git a/doc/resources/ace/skeleton/javascripts/bootstrap.js b/doc/resources/ace/skeleton/javascripts/bootstrap.js new file mode 100644 index 00000000..79241e74 --- /dev/null +++ b/doc/resources/ace/skeleton/javascripts/bootstrap.js @@ -0,0 +1,389 @@ +/* ============================================================ + * bootstrap-dropdown.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#dropdowns + * ============================================================ + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============================================================ */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* DROPDOWN CLASS DEFINITION + * ========================= */ + + var toggle = '[data-toggle=dropdown]' + , Dropdown = function (element) { + var $el = $(element).on('click.dropdown.data-api', this.toggle) + $('html').on('click.dropdown.data-api', function () { + $el.parent().removeClass('open') + }) + } + + Dropdown.prototype = { + + constructor: Dropdown + + , toggle: function (e) { + var $this = $(this) + , $parent + , isActive + + if ($this.is('.disabled, :disabled')) return + + $parent = getParent($this) + + isActive = $parent.hasClass('open') + + clearMenus() + + if (!isActive) { + $parent.toggleClass('open') + $this.focus() + } + + return false + } + + , keydown: function (e) { + var $this + , $items + , $active + , $parent + , isActive + , index + + if (!/(38|40|27)/.test(e.keyCode)) return + + $this = $(this) + + e.preventDefault() + e.stopPropagation() + + if ($this.is('.disabled, :disabled')) return + + $parent = getParent($this) + + isActive = $parent.hasClass('open') + + if (!isActive || (isActive && e.keyCode == 27)) return $this.click() + + $items = $('[role=menu] li:not(.divider) a', $parent) + + if (!$items.length) return + + index = $items.index($items.filter(':focus')) + + if (e.keyCode == 38 && index > 0) index-- // up + if (e.keyCode == 40 && index < $items.length - 1) index++ // down + if (!~index) index = 0 + + $items + .eq(index) + .focus() + } + + } + + function clearMenus() { + getParent($(toggle)) + .removeClass('open') + } + + function getParent($this) { + var selector = $this.attr('data-target') + , $parent + + if (!selector) { + selector = $this.attr('href') + selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + $parent = $(selector) + $parent.length || ($parent = $this.parent()) + + return $parent + } + + + /* DROPDOWN PLUGIN DEFINITION + * ========================== */ + + $.fn.dropdown = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('dropdown') + if (!data) $this.data('dropdown', (data = new Dropdown(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + $.fn.dropdown.Constructor = Dropdown + + + /* APPLY TO STANDARD DROPDOWN ELEMENTS + * =================================== */ + + $(function () { + $('html') + .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus) + $('body') + .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) + .on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle) + .on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) + }) + +}(window.jQuery); +/* ======================================================== + * bootstrap-tab.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#tabs + * ======================================================== + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* TAB CLASS DEFINITION + * ==================== */ + + var Tab = function (element) { + this.element = $(element) + } + + Tab.prototype = { + + constructor: Tab + + , show: function () { + var $this = this.element + , $ul = $this.closest('ul:not(.dropdown-menu)') + , selector = $this.attr('data-target') + , previous + , $target + , e + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + if ( $this.parent('li').hasClass('active') ) return + + previous = $ul.find('.active a').last()[0] + + e = $.Event('show', { + relatedTarget: previous + }) + + $this.trigger(e) + + if (e.isDefaultPrevented()) return + + $target = $(selector) + + this.activate($this.parent('li'), $ul) + this.activate($target, $target.parent(), function () { + $this.trigger({ + type: 'shown' + , relatedTarget: previous + }) + }) + } + + , activate: function ( element, container, callback) { + var $active = container.find('> .active') + , transition = callback + && $.support.transition + && $active.hasClass('fade') + + function next() { + $active + .removeClass('active') + .find('> .dropdown-menu > .active') + .removeClass('active') + + element.addClass('active') + + if (transition) { + element[0].offsetWidth // reflow for transition + element.addClass('in') + } else { + element.removeClass('fade') + } + + if ( element.parent('.dropdown-menu') ) { + element.closest('li.dropdown').addClass('active') + } + + callback && callback() + } + + transition ? + $active.one($.support.transition.end, next) : + next() + + $active.removeClass('in') + } + } + + + /* TAB PLUGIN DEFINITION + * ===================== */ + + $.fn.tab = function ( option ) { + return this.each(function () { + var $this = $(this) + , data = $this.data('tab') + if (!data) $this.data('tab', (data = new Tab(this))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.tab.Constructor = Tab + + + /* TAB DATA-API + * ============ */ + + $(function () { + $('body').on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { + e.preventDefault() + $(this).tab('show') + }) + }) + +}(window.jQuery); +/* ========================================================== + * bootstrap-affix.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#affix + * ========================================================== + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* AFFIX CLASS DEFINITION + * ====================== */ + + var Affix = function (element, options) { + this.options = $.extend({}, $.fn.affix.defaults, options) + this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this)) + this.$element = $(element) + this.checkPosition() + } + + Affix.prototype.checkPosition = function () { + if (!this.$element.is(':visible')) return + + var scrollHeight = $(document).height() + , scrollTop = this.$window.scrollTop() + , position = this.$element.offset() + , offset = this.options.offset + , offsetBottom = offset.bottom + , offsetTop = offset.top + , reset = 'affix affix-top affix-bottom' + , affix + + if (typeof offset != 'object') offsetBottom = offsetTop = offset + if (typeof offsetTop == 'function') offsetTop = offset.top() + if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() + + affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? + false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? + 'bottom' : offsetTop != null && scrollTop <= offsetTop ? + 'top' : false + + if (this.affixed === affix) return + + this.affixed = affix + this.unpin = affix == 'bottom' ? position.top - scrollTop : null + + this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : '')) + } + + + /* AFFIX PLUGIN DEFINITION + * ======================= */ + + $.fn.affix = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('affix') + , options = typeof option == 'object' && option + if (!data) $this.data('affix', (data = new Affix(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.affix.Constructor = Affix + + $.fn.affix.defaults = { + offset: 0 + } + + + /* AFFIX DATA-API + * ============== */ + + $(window).on('load', function () { + $('[data-spy="affix"]').each(function () { + var $spy = $(this) + , data = $spy.data() + + data.offset = data.offset || {} + + data.offsetBottom && (data.offset.bottom = data.offsetBottom) + data.offsetTop && (data.offset.top = data.offsetTop) + + $spy.affix(data) + }) + }) + + +}(window.jQuery); \ No newline at end of file diff --git a/doc/resources/ace/skeleton/javascripts/clicker.js b/doc/resources/ace/skeleton/javascripts/clicker.js index 5fe3dca2..90e7e12c 100644 --- a/doc/resources/ace/skeleton/javascripts/clicker.js +++ b/doc/resources/ace/skeleton/javascripts/clicker.js @@ -1,7 +1,7 @@ -$(function() { +function setupClicker() { // when hovering over arrow, add highlight (only if inactive) - $("h3.methodToggle").hover(function () { - if (!$("h3.methodToggle").hasClass('active')) + $("i.methodToggle").hover(function () { + if (!$("i.methodToggle").hasClass('active')) $(this).addClass("methodToggleHover"); }, function () { @@ -9,27 +9,61 @@ $(function() { } ); - // after expanding the hidden description, hide the ellipsis - $('.signature-call, .signature-returns', '.signature').click(function() { - var $article = $(this).closest('.article'), - $arrow = $('h3.methodClicker', $article); + function handleClick(e, linkHref) { + //if (linkHref.indexOf("nav=api&api=") >= 0) + // return; + if (linkHref == "api") + return; + + e.preventDefault(); + + var dstElem; + if (linkHref) { + dstElem = $("article[id='" + linkHref + "']"); + } + + var $article = (dstElem || $(this)).closest('.article'), + $arrow = $('i.methodClicker', $article); if (!$article.hasClass('methodToggleOpen') || this.force) { $article.addClass('methodToggleOpen'); $arrow.removeClass('inactive').addClass('active'); + + if (!$arrow[0]) + return; + + var data = $arrow[0].id.replace(/^js_/, ""); + //var state = {}; + //state.section = data; + //$.bbq.pushState(state); - var data = location.hash = $arrow[0].id.replace(/^js_/, ""); scrollTo(null, data); } else { $article.removeClass('methodToggleOpen'); $arrow.removeClass('active').addClass('inactive'); } + } + + function transformHash(e) { + // some bs to figure out link hash + var hashId = (e.srcElement ? e.srcElement.href : (e.hash || e.target.href)) || e.currentTarget.hash; - }); + handleClick(e, hashId.substring(hashId.indexOf("#") + 1)); + } + + // for the arrow + $("i.methodToggle").click(handleClick); + + // for the signature + $('.member-name').click(handleClick); + + // for the top dropdown + $('li.memberLink a').click(transformHash); + + //$('a[href^="#"]').click(transformHash); $('.related-to', '.metaInfo').click(function(){ location.hash = $(this).find('a').attr('href').split('#')[1]; }); -}); - +} \ No newline at end of file diff --git a/doc/resources/ace/skeleton/javascripts/disqus-ext.js b/doc/resources/ace/skeleton/javascripts/disqus-ext.js index 6f966cc6..6bb7ff4e 100644 --- a/doc/resources/ace/skeleton/javascripts/disqus-ext.js +++ b/doc/resources/ace/skeleton/javascripts/disqus-ext.js @@ -1,12 +1,17 @@ -var disqus_shortname = 'aceapi'; - -var paths = window.location.pathname.split("/"); -var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1]; - -var disqus_identifier = fileName; - +function setupDisqus(href) { + var disqus_shortname = 'aceapi'; + + //var paths = window.location.pathname.split("/"); + //var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1]; + + //var disqus_identifier = fileName; + var disqus_identifier = href.substring(2); + (function() { - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); - })(); \ No newline at end of file + if (document.getElementById("disqusScript") === null) { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + } + })(); +} \ No newline at end of file diff --git a/doc/resources/ace/skeleton/javascripts/ux.js b/doc/resources/ace/skeleton/javascripts/ux.js index 58b1d358..4a2ffdbd 100644 --- a/doc/resources/ace/skeleton/javascripts/ux.js +++ b/doc/resources/ace/skeleton/javascripts/ux.js @@ -11,15 +11,6 @@ $(function () { $selNavLink.addClass('currentItem'); } - // init prettyprint - $('pre > code').addClass('prettyprint'); - prettyPrint(); - - var baseTitle = document.title, - // base (general) part of title - pathName = window.location.pathname, - fileName = pathName.substring(window.location.pathname.lastIndexOf("/") + 1); - if (window.addEventListener) window.addEventListener('load', loadCallback, true); else window.attachEvent('load', loadCallback, true); @@ -31,7 +22,6 @@ $(function () { if (query) { input.value = ""; input.blur(); - var currentVersion = $('#currentVersion').text(); var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org/api" + " " + query); window.open(url); } @@ -47,7 +37,7 @@ $(function () { }).find('input'); }); -$(document).ready(function () { +function ux() { var d = 'a.menu, .dropdown-toggle' function clearMenus() { @@ -79,11 +69,10 @@ $(document).ready(function () { else sx = 0; $('.members').each(function (i) { - var position = $(this).position(); var $classContent = $(this).closest('.classContent'); $(this).scrollspy({ - min: $classContent.position().top - 35, + min: $classContent.position().top + 5, max: $classContent.position().top + $classContent.height() - 35, onEnter: function (element, position) { var $pagination = $(element); @@ -94,8 +83,7 @@ $(document).ready(function () { $paginationContent.css('top', 0); $pagination.addClass('shadow').stop().css({ - height: 31, - 'top': 33 + height: 31 }).closest('.classContent').addClass('srolled'); $tabs.addClass('tabsSansBorder'); @@ -133,7 +121,7 @@ $(document).ready(function () { }); }); - $('span.methodClicker, article.article, h3.methodClicker').each(function () { + $('span.methodClicker, article.article, i.methodClicker').each(function () { var a = $(this); var constructorPos = a.attr("id").indexOf("new "); @@ -145,27 +133,16 @@ $(document).ready(function () { a.attr("id", objName); }); - - $('.brand').parent('.dropdown').hover( - - function () { - $(this).addClass('open'); - }, function () { - clearMenus(); - }); - - $('.versions').hover( - - function () { - $(this).addClass('open'); - }, function () { - clearMenus(); - }); - + function showMethodContent() { - if (!location.hash) return; - - var $clickerEl = $('span#' + location.hash.replace(/^#/, '').replace(/\./g, '\\.')); + var locationHash = location.hash.replace(/^#/, '').replace(/\./g, '\\.'); + var equalsPos = location.hash.indexOf("="); + + if (equalsPos >=0) { + locationHash = locationHash.substring(0, location.hash.indexOf("=")); + } + + var $clickerEl = $('span#' + locationHash); if ($clickerEl.length > 0 && $clickerEl.hasClass('methodClicker')) { var p = $clickerEl.parent(); p[0].force = true; @@ -174,7 +151,7 @@ $(document).ready(function () { } } - if (location.hash) { + if (location.hash.indexOf("section") >= 1) { showMethodContent(); var data = location.hash; scrollTo(null, data.substr(1)); @@ -183,12 +160,12 @@ $(document).ready(function () { window.onhashchange = function () { showMethodContent(); } -}); +}; function scrollTo(el, data) { if (!data) { data = el.getAttribute("data-id"); - location.hash = data; + //location.hash = data; } var el = $("span#" + data.replace(/\./g, "\\."))[0]; if (!el) return; diff --git a/doc/resources/ace/templates/ace_menu.jade b/doc/resources/ace/templates/ace_menu.jade old mode 100755 new mode 100644 index d325887c..7bf9599a --- a/doc/resources/ace/templates/ace_menu.jade +++ b/doc/resources/ace/templates/ace_menu.jade @@ -1,61 +1,59 @@ div#well - - h3 Ace Reference - - div.swirl_divider + 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") Ace + a(class="menuLink namespace", href="ace.html#nav=api") Ace li div.menu-item - a(class="menuLink namespace", href="anchor.html") Anchor + a(class="menuLink namespace", href="anchor.html#nav=api") Anchor li div.menu-item - a(class="menuLink namespace", href="background_tokenizer.html") BackgroundTokenizer + a(class="menuLink namespace", href="background_tokenizer.html#nav=api") BackgroundTokenizer li div.menu-item - a(class="menuLink namespace", href="document.html") Document + a(class="menuLink namespace", href="document.html#nav=api") Document li div.menu-item - a(class="menuLink namespace", href="edit_session.html") EditSession + a(class="menuLink namespace", href="edit_session.html#nav=api") EditSession li div.menu-item - a(class="menuLink namespace", href="editor.html") Editor + a(class="menuLink namespace", href="editor.html#nav=api") Editor - //- probably not needing doc a(class="menuLink namespace", href="multi_select.html") MultiSelect + //- 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") PlaceHolder + //- 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") Range + a(class="menuLink namespace", href="range.html#nav=api") Range - //- not actually doc'ed yet a(class="menuLink namespace", href="renderloop.html") RenderLoop + //- 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") Scrollbar + a(class="menuLink namespace", href="scrollbar.html#nav=api") Scrollbar li div.menu-item - a(class="menuLink namespace", href="search.html") Search + a(class="menuLink namespace", href="search.html#nav=api") Search li div.menu-item - a(class="menuLink namespace", href="selection.html") Selection + a(class="menuLink namespace", href="selection.html#nav=api") Selection - //- not actually doc'ed yet a(class="menuLink namespace", href="split.html") Split + //- 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") TokenIterator + a(class="menuLink namespace", href="token_iterator.html#nav=api") TokenIterator li div.menu-item - a(class="menuLink namespace", href="tokenizer.html") Tokenizer + a(class="menuLink namespace", href="tokenizer.html#nav=api") Tokenizer li div.menu-item - a(class="menuLink namespace", href="undomanager.html") UndoManager + a(class="menuLink namespace", href="undomanager.html#nav=api") UndoManager li div.menu-item - a(class="menuLink namespace", href="virtual_renderer.html") VirtualRenderer \ No newline at end of file + a(class="menuLink namespace", href="virtual_renderer.html#nav=api") VirtualRenderer \ No newline at end of file diff --git a/doc/resources/ace/templates/common_layout.jade b/doc/resources/ace/templates/common_layout.jade new file mode 100644 index 00000000..817e3c73 --- /dev/null +++ b/doc/resources/ace/templates/common_layout.jade @@ -0,0 +1,57 @@ +-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/doc/resources/ace/templates/layout.jade b/doc/resources/ace/templates/layout.jade index 88847947..da6c2226 100644 --- a/doc/resources/ace/templates/layout.jade +++ b/doc/resources/ace/templates/layout.jade @@ -1,30 +1,12 @@ include ../../common_layout include lib -mixin doctype +#documentation.span8 + -if (isIndex) + != content + -else + mixin api() -html(xmlns="http://www.w3.org/1999/xhtml") - head - mixin head - - body - mixin navBar - #nonFooter - #wrapper - .content - .row.centerpiece - .span3#sidebarContainer - #sidebar - include ace_menu.jade - .span9#mainContent - #documentation - -if (isIndex) - != content - -else - mixin api() + mixin endingScripts - div(id="disqus_thread") - .push - mixin footer - - mixin endingScripts \ No newline at end of file + div(id="disqus_thread") \ No newline at end of file diff --git a/doc/resources/ace/templates/lib.jade b/doc/resources/ace/templates/lib.jade index 5c3e0ac5..c59bb5a0 100644 --- a/doc/resources/ace/templates/lib.jade +++ b/doc/resources/ace/templates/lib.jade @@ -77,6 +77,7 @@ mixin article(obj, parents) .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 @@ -124,15 +125,14 @@ mixin article(obj, parents) li span.label.related-to | Related to: - != link(obj.related_to) + obj.related_to div.sideToggler div(id='ellipsis_#{obj.path}', class='ellipsis_description') mixin markdown(obj.short_description) - h3(id='#{obj.path}', class='methodToggle methodClicker inactive') -     + div.description mixin markdown(obj.description) @@ -174,7 +174,7 @@ mixin article(obj, parents) h3.sectionHeader Events mixin article(child, parents.concat(obj), 'event') - for child in obj.children.filter(function(x){return x.type === 'class method'}) + for child in obj.children.filter(function(x){return x.type === 'class method'}) - if (!methodSection) - methodSection = true h3.sectionHeader Methods @@ -231,11 +231,14 @@ mixin render_starting_tabs(obj, pos) b.caret ul.dropdown-menu for m in members - li(data-id='#{m.path}', class='memberLink') + li(id='dropdown_#{m.path}', data-id='#{m.path}', class='memberLink') mixin link(m, [], true) -methodSection = constructorSection = propertySection = eventSection = false; mixin article(obj, []) +mixin rewriteLink(text) + != text.replace('a', 'bbbb') + mixin short_description_list(collection) ul.method-details-list for obj in collection diff --git a/doc/resources/common_layout.jade b/doc/resources/common_layout.jade index fb19e158..817e3c73 100644 --- a/doc/resources/common_layout.jade +++ b/doc/resources/common_layout.jade @@ -1,86 +1,57 @@ -var dirPrefix = "./"; +-var sitePrefix = "../doc/site/"; -var landingPage = 'false' -var versions = [] mixin doctype - !!! 5 + !!! 5 - - - - + + + + mixin head - meta(charset="utf-8") - //- N.B. http://blog.yjl.im/2011/01/bad-value-x-ua-compatible-for-attribute.html - meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1") + meta(http-equiv='Content-Type', content='text/html; charset=UTF-8') - -if (isIndex) - title #{title} - -else - title #{classId} - #{title} + -if (isIndex) + title #{title} + -else + title #{classId} - #{title} - meta(name="generator", content="c9-doc-build") - meta(name="description", content="Ace API documentation for the online code editor.") - meta(name="author", content="Garen J. Torikian") + meta(name="generator", content="panino-doc-build") + meta(name="description", content="Ace API documentation for the online code editor") + meta(name="author", content="Garen J. Torikian") - meta(name="viewport", content="width=device-width,initial-scale=1") + 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(rel="stylesheet", href="#{dirPrefix}resources/csses/prettify.css") - link(rel="stylesheet", href="#{dirPrefix}resources/csses/ace_api.css") + 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") + link(href="#{dirPrefix}resources/images/favicon.ico", rel="icon", type="image/x-icon") - script(src="#{dirPrefix}resources/javascripts/jquery.js") - script(src="#{dirPrefix}resources/javascripts/clicker.js") - script(src="#{dirPrefix}resources/javascripts/jquery.collapse.js") - script(src="#{dirPrefix}resources/javascripts/jquery.cookie.js") - script(src="#{dirPrefix}resources/javascripts/bootstrap-dropdown.js") - script(src="#{dirPrefix}resources/javascripts/jquery-scrollspy.js") - script(script src="#{dirPrefix}resources/javascripts/prettify-extension.js") + 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 navBar - div.navbar.navbar-fixed-top - div.navbar-inner - div#topSection.container - span.brand - - ul.nav.topLinks - li#ace_site - a(href='../index.html') Ace - li#ace_api.active - a(href='index.html') Ace API Reference - form(id='searchbox', action='', class='navbar-search pull-right') - input(class='search-query span3', name='query', type='text', placeholder="Search the API", title="Search across all the documentation") - -mixin footer - div#footer - .footerInner - .footer-text.pull-right - p - About Cloud9 | Ace & Cloud9 IDE are © Ajax.org 2012 mixin endingScripts - // scripts concatenated and minified via ant build script - - - - - - - //- - // end scripts - - //if lt IE 7 - script(src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js") - script - window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})}) - + 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 = './' + landingPage = 'true' + -dirPrefix = './' mixin markdown(text, inline) - != markdown(text, inline) \ No newline at end of file + != markdown(text, inline) \ No newline at end of file diff --git a/doc/site/images/FineCut_small_logo.png b/doc/site/images/FineCut_small_logo.png new file mode 100644 index 00000000..87f310b2 Binary files /dev/null and b/doc/site/images/FineCut_small_logo.png differ diff --git a/doc/site/images/ac-logo.png b/doc/site/images/ac-logo.png new file mode 100644 index 00000000..6ca069a3 Binary files /dev/null and b/doc/site/images/ac-logo.png differ diff --git a/doc/site/images/ace-logo.png b/doc/site/images/ace-logo.png new file mode 100644 index 00000000..886a8df31 Binary files /dev/null and b/doc/site/images/ace-logo.png differ diff --git a/doc/site/images/ace-tab.png b/doc/site/images/ace-tab.png new file mode 100644 index 00000000..50298c10 Binary files /dev/null and b/doc/site/images/ace-tab.png differ diff --git a/doc/site/images/cloud9-logo.png b/doc/site/images/cloud9-logo.png new file mode 100644 index 00000000..5466cf7e Binary files /dev/null and b/doc/site/images/cloud9-logo.png differ diff --git a/doc/site/images/codecademy-logo.png b/doc/site/images/codecademy-logo.png new file mode 100644 index 00000000..e27947ae Binary files /dev/null and b/doc/site/images/codecademy-logo.png differ diff --git a/doc/site/images/codiad.png b/doc/site/images/codiad.png new file mode 100644 index 00000000..c77a446c Binary files /dev/null and b/doc/site/images/codiad.png differ diff --git a/doc/site/images/empty-logo.png b/doc/site/images/empty-logo.png new file mode 100644 index 00000000..c0bbbbe3 Binary files /dev/null and b/doc/site/images/empty-logo.png differ diff --git a/doc/site/images/firefox-logo.png b/doc/site/images/firefox-logo.png new file mode 100644 index 00000000..711fad62 Binary files /dev/null and b/doc/site/images/firefox-logo.png differ diff --git a/doc/site/images/github-logo.png b/doc/site/images/github-logo.png new file mode 100644 index 00000000..9456846a Binary files /dev/null and b/doc/site/images/github-logo.png differ diff --git a/doc/site/images/header-bg.png b/doc/site/images/header-bg.png new file mode 100644 index 00000000..aaab9e3e Binary files /dev/null and b/doc/site/images/header-bg.png differ diff --git a/doc/site/images/khan-logo.png b/doc/site/images/khan-logo.png new file mode 100644 index 00000000..3c389f8e Binary files /dev/null and b/doc/site/images/khan-logo.png differ diff --git a/doc/site/images/plunker.png b/doc/site/images/plunker.png new file mode 100644 index 00000000..e8388db6 Binary files /dev/null and b/doc/site/images/plunker.png differ diff --git a/doc/site/images/rstudio_logo_64.png b/doc/site/images/rstudio_logo_64.png new file mode 100644 index 00000000..3d402a21 Binary files /dev/null and b/doc/site/images/rstudio_logo_64.png differ diff --git a/doc/site/images/textimage.png b/doc/site/images/textimage.png new file mode 100644 index 00000000..6f7d3130 Binary files /dev/null and b/doc/site/images/textimage.png differ diff --git a/doc/site/images/wolf_3d_logo_trans.png b/doc/site/images/wolf_3d_logo_trans.png new file mode 100644 index 00000000..fe61b9b4 Binary files /dev/null and b/doc/site/images/wolf_3d_logo_trans.png differ diff --git a/doc/site/images/zorba-logo.png b/doc/site/images/zorba-logo.png new file mode 100644 index 00000000..ad2c22f6 Binary files /dev/null and b/doc/site/images/zorba-logo.png differ diff --git a/doc/site/iphone.css b/doc/site/iphone.css index f1c2ba03..dd90db03 100644 --- a/doc/site/iphone.css +++ b/doc/site/iphone.css @@ -22,4 +22,4 @@ UL.menu-footer LI { PRE{ font-size:22px; -} +} \ No newline at end of file diff --git a/doc/site/js/main.js b/doc/site/js/main.js new file mode 100644 index 00000000..e8e65144 --- /dev/null +++ b/doc/site/js/main.js @@ -0,0 +1,117 @@ +var editor; +var embedded_editor; +$(function() { + hljs.initHighlighting(); + editor = ace.edit("ace_editor_demo"); + embedded_editor = ace.edit("embedded_ace_code"); + editor.getSession().setMode("ace/mode/javascript"); + editor.getSession().setMode("ace/mode/javascript"); + embedded_editor.getSession().setMode("ace/mode/html"); + + $("ul.menu-list li").click(function(e) { + if (e.target.tagName === "LI") { + console.log($(this).find("a")); + window.location = $(this).find("a").attr("href"); + } + else if (e.target.tagName === "P" || e.target.tagName === "IMG") { + var anchor = $(e.target).siblings(); + window.location = anchor.attr("href"); + } + }); + + // used when page is access directly + function magicClickInterceptor(e) { + e.preventDefault(); + + var state = {}; + state.api = $(this).attr("href").substring(6, $(this).attr("href").length - 5); + $.bbq.pushState(state); + + var _self = $(this); + $("#apiHolder").load($(this).attr("href") + " #documentation", function(){ + $("#apiHolder").removeClass("apiIntro").removeClass("span8"); + ux(); + setupClicker(); + + // handles dropping in from new link + var section = $.bbq.getState("section"); + if (section) { + $("li#dropdown_" + section.replace(/\./g, '\\.') + " a").triggerHandler('click'); + } + + //setupDisqus(_self.attr("href")); + }); + } + + $('.menu-item a').click(magicClickInterceptor); + $('a.argument').click(magicClickInterceptor); + + $('a.external').click(function(e) { + e.preventDefault(); + }); + + var tabs = $("#tabnav"), + tab_a_selector = "a"; + + var firstLoad = true; + + tabs.find(tab_a_selector).click(function(e) { + e.preventDefault(); + embedded_editor.resize(); + editor.resize(); + if ($(this).attr("href") === "/") { + window.location = "http://ace.ajax.org"; + return; + } + if ($(this).attr("href").indexOf("#api") === 0) { + $("#top_container").addClass("collapse"); + scrollIntoPosition(null, 0); + } + else if ($(this).is(":visible")) { + if (firstLoad) { + firstLoad = false; + setTimeout(function() { + $("#top_container").removeClass("collapse"); + scrollIntoPosition(e.target); + }, 700); + } + else { + $("#top_container").removeClass("collapse"); + scrollIntoPosition(e.target); + } + } + + function scrollIntoPosition(el, overridePosition) { + if (typeof overridePosition !== "undefined") { + $("body").stop().animate({ + scrollTop: overridePosition + }, 400); + } + else if ($("body").scrollTop() > 345) { + $("body").stop().animate({ + scrollTop: ($(el).offset().top - 10) + }, 400); + } + } + + $(this).tab("show"); + + var state = {}; + state.nav = $(this).attr("href").substr(1); + $.bbq.pushState(state); + }); + + $(window).on("hashchange", function(e) { + tabs.each(function() { + var idx = $.bbq.getState("nav") || "about"; + var section = e.fragment.split("&")[1] || ""; + $(this).find(tab_a_selector + "[href='#" + idx + "']").triggerHandler('click'); + + // handles dropping in from new link + var api = $.bbq.getState("api"); + if (api) { + $(tab_a_selector + "[href='./api/" + api + ".html']").triggerHandler('click'); + } + }); + }).trigger("hashchange"); +}); \ No newline at end of file diff --git a/doc/site/style.css b/doc/site/style.css index 9076d529..f5524d81 100644 --- a/doc/site/style.css +++ b/doc/site/style.css @@ -2,16 +2,42 @@ body { margin:0; padding:0; background-color:#e6f5fc; - + font-family: Helvetica, Arial; } -H2, H3, H4 { - font-family:Trebuchet MS; - font-weight:bold; +#embed_ace_wrapper { + height: 525px; +} + +.ace_editor_wrapper { + height: 275px; + position: relative; + border: 1px solid #DDD; + border-radius: 4px; + border-bottom-right-radius: 0px; + margin-top: 5px; +} + +#ace_editor_demo, #embedded_ace_code { + left: 0px; + top: 0px; + bottom: 1px; + right: 1px; + background: #fff; +} + +h1, h2, h3, h4, h5, h6 { + font-family: Helvetica; + font-weight: 100; margin:0; padding:0; } +h2, h3, h4, h5, h6 { + padding-top: 30px; + border-bottom: 1px solid #bedaea; +} + H2 { font-size:28px; color:#263842; @@ -19,39 +45,29 @@ H2 { } H3 { - font-family:Trebuchet MS; - font-weight:bold; font-size:22px; color:#253741; - margin-top:43px; margin-bottom:8px; } H4 { - font-family:Trebuchet MS; - font-weight:bold; font-size:21px; color:#222222; - margin-bottom:4px; + margin-bottom:8px; } P { padding:13px 0; margin:0; - line-height:22px; + line-height:21px; + font-size: 15px; } UL{ - line-height : 22px; + font-size: 15px; } -PRE{ - background : #333; - color : white; - padding : 10px; -} - - #header { +#header { height: 93px; position: relative; background: url(images/background.png) repeat-x 0 0; @@ -99,7 +115,7 @@ PRE{ } #wrapper { - background:url(images/body_background.png) repeat-x 0 0; + background:url(images/body_background.png) repeat-x 0 -15px; min-height:250px; } @@ -107,7 +123,7 @@ PRE{ font-family:Arial; font-size:14px; color:#222222; - width:1000px; + width: 960px; } #wrapper .content .column1 { @@ -122,8 +138,44 @@ PRE{ position:relative; overflow:hidden; float:left; - width:600px; - padding-top:47px; + /*width:600px;*/ +} + +#top_container h1 { + font-size: 68px; + line-height: 60px; + width: 515px; + float: left; + font-weight: 100; + font-family: Helvetica; + padding: 65px 0 0 14px; + color: #333; +} + +#top_container { + background: url(images/header-bg.png) 0 0; + overflow: hidden; + padding: 11px 36px 19px 40px; + height: 267px; + -webkit-transition: height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out; + -moz-transition: height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out; + opacity: 1; + margin-top: 25px; +} + +#top_container.collapse { + padding: 0px; + height: 0px; + opacity: 0; + margin: 0; +} + +#page_logo { + padding: 35px 0 15px 0; + width: 350px; + float: right; + text-align: center; + height: 220px; } .fork_on_github { @@ -141,7 +193,7 @@ PRE{ } .divider { - height:3px; + height: 1px; background-color:#bedaea; margin-bottom:3px; } @@ -151,26 +203,114 @@ PRE{ } UL.content-list { - padding:15px; + padding: 15px 0 15px 20px; margin:0; } -UL.menu-list { - padding:0; - margin:0 0 20px 0; - list-style-type:none; - line-height : 16px; +UL.content-list li { + padding-left: 10px; + padding-bottom: 3px; } -UL.menu-list LI { - color:#2557b4; - font-family:Trebuchet MS; - font-size:12px; - padding:1px 0; +ul.menu-list { + padding: 0; + margin: 15px 0 20px 0; + list-style-type: none; + line-height: 16px; + overflow: auto; } -UL.menu-list LI:last-child { - border-bottom:0; +ul.menu-list li { + color: #2557B4; + font-family: Helvetica, Trebuchet MS; + font-size: 12px; + padding: 5px; + cursor: pointer; + display: block; + float: left; + margin-right: 15px; + margin-bottom: 20px; + width: 100px; + height: 90px; + border-radius: 5px; + position: relative; + background: rgba(255, 255, 255, 0.7); + margin-left: 22px; + margin-top: 20px; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); + -webkit-transition: box-shadow 0.4s; + -moz-transition: box-shadow 0.4s; + border: 1px solid #999; + background-image: -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%), + -webkit-repeating-linear-gradient(left, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 4%, hsla(0,0%, 0%,.03) 4.5%), + -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.15) 2.2%), + + -webkit-linear-gradient(-90deg, hsl(0,0%,78%) 0%, + hsl(0,0%,90%) 47%, + hsl(0,0%,78%) 53%, + hsl(0,0%,70%)100%); +} + +ul.menu-list li:hover { + box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); +} + +ul.menu-list li a { + position: absolute; + bottom: 0px; + left: 0px; + color: white; + text-align: center; + font-weight: bold; + text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8); + width: 100%; + display: block; + background: rgba(0, 0, 0, 0.6); + line-height: 12px; + padding: 4px 0; +} + +UL.menu-list LI a:hover { + text-decoration: none; +} + +li#add_your_site p { + font-size: 32px; + border: 3px solid #34A034; + color: #34A034; + border-radius: 34px; + padding: 3px 4px 4px 5px; + width: 20px; + height: 22px; + line-height: 18px; + position: relative; + left: 33px; + top: 22px; + background: #fff; +} + +ul.menu-list li#add_your_site a { + color: #A3EEA3; +} + +/* This is the animation code. */ +@-webkit-keyframes example { + 0% { -webkit-transform: rotate(0deg); } + 25% { -webkit-transform: rotate(3deg); } + 50% { -webkit-transform: rotate(0deg); } + 75% { -webkit-transform: rotate(-3deg); } +} + +/* This is the element that we apply the animation to. */ +li#add_your_site { + -webkit-animation-name: example; + -webkit-animation-duration: 0.4s; + -webkit-animation-timing-function: ease; /* ease is the default */ + -webkit-animation-delay: 0s; /* 0 is the default */ + -webkit-animation-iteration-count: infinite; /* 1 is the default */ + -webkit-animation-direction: alternate; /* normal is the default */ } A { @@ -182,14 +322,6 @@ A:hover { text-decoration:underline; } -P#first{ - background : rgba(255,255,255,0.5); - padding : 20px; - font-size : 16px; - line-height : 24px; - margin : 0 0 20px 0; -} - #footer { height:40px; position:relative; @@ -223,6 +355,131 @@ UL.menu-footer LI A:hover { text-decoration:underline; } +.nav-pills.nav { + margin: 10px 0 25px 0; + padding: 0; + border-radius: 5px; + border: 1px solid #d7d7d7; + background: #eeeeee; + background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); + background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); + background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); + background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); + background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); + overflow: hidden; +} +.nav-pills > .active > a, .nav-pills > .active > a:hover { + color: white; + background-color: #555; + box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8); + text-shadow: 0px 0px 3px #000; +} +.nav-tabs > li > a, .nav-pills > li > a { + padding-right: 30px; + padding-left: 30px; + border-right: 1px solid #bbb; + border-radius: 0; + margin: 0; + line-height: 25px; + font-size: 14px; + color: #333; + text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); + box-shadow: 0 0 1px rgba(255, 255, 255, 1); + -moz-box-shadow: 0 0 1px rgba(255, 255, 255, 1); + -webkit-transition: background 0.2s; + -moz-transition: background 0.2s; +} +.nav.nav-pills li:first-child > a { + padding-left: 29px; + padding-right: 29px; +} + +.nav.nav-pills li:first-child > a > img { + width: 34px; +} + +.nav.nav-pills li:last-child > a { + border-right: none; + box-shadow: none; + -moz-box-shadow: none; +} + +.tab-content { + margin-bottom: 50px; +} + +.tab-content > .active, .pill-content > .active { + padding: 25px 30px; +} + +#top_container, .tab-content > .active, .pill-content > .active { + border: 1px solid #DDD; + border-radius: 5px; + -moz-border-radius: 5px; +} + +.tab-content > .active, .pill-content > .active { + background: rgba(255, 255, 255, 0.7); +} + +pre .xml .javascript, pre .xml .css { + opacity: 1; +} + +#embed_link { + text-align: right; + padding-top: 0; +} +#embed_link a { + color: #059C05; + font-weight: 100; + font-family: helvetica; + font-size: 13px; + display: inline-block; + padding: 2px 10px; + background: #f4f4f4; + border: 1px solid #ddd; + border-top: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + text-shadow: 0px 1px 0px rgba(255, 255, 255, 1); + text-decoration: none; +} + +p.highlight_note { + padding: 8px 35px 8px 14px; + margin-top: 10px; + color: #A0762E; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + background-color: #FCF8E3; + border: 1px solid #CA9C44; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +p.highlight_note a { + color: #537CC7; +} + +.apiIntro { + padding-left: 15px; + padding-bottom: 10px; +} + +.prod_no_image { + position: relative; left: -10px; top: -12px; +} + +#sidebarContainer { + margin: 0px 20px 0 15px; +} + +#api { + padding: 0; +} \ No newline at end of file diff --git a/index.html b/index.html index 82fefa8f..48e56236 100644 --- a/index.html +++ b/index.html @@ -2,144 +2,582 @@ - ACE - Ajax.org Cloud9 Editor - - + ACE - The High Performance Code Editor for the Web + + + + + + + + - - - - + + - Fork me on GitHub - - - + + Fork me on GitHub +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Ace is a standalone code editor written in JavaScript. Our goal is to create a web based code editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page and JavaScript application. Ace is developed as the primary editor for Cloud9 IDE and the successor of the Mozilla Skywriter (Bespin) Project.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Features

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Syntax highlighting
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Auto indentation and outdent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • An optional command line
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Work with huge documents (100,000 lines and more are no problem)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Fully customizable key bindings including VI and Emacs modes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Themes (TextMate themes can be imported)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Search and replace with regular expressions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Highlight matching parentheses
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Toggle between soft tabs and real tabs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Displays hidden characters
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Highlight selected word
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Take Ace for a spin!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Check out the Ace live demo or get a Cloud9 IDE account to experience Ace while editing one of your own GitHub projects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            History

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Previously known as “Bespin” or lately “Skywriter” it’s now known as Ace (Ajax.org Cloud9 Editor)! Bespin and Ace started as two independent projects both aiming to build a no compromise code editor component for the web. Bespin started as part of Mozilla Labs and was based on the <canvas> tag, while Ace is the Editor component of the Cloud9 IDE and is using the DOM for rendering. After the release of Ace at JSConf.eu 2010 in Berlin the Skywriter team decided to merge Ace with a simplified version of Skywriter's plugin system and some of Skywriter's extensibility points. All these changes have been merged back to Ace now, which supersedes Skywriter. Both Ajax.org and Mozilla are actively developing and maintaining Ace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - - -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Getting the code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Ace is a community project. We actively encourage and support contributions. The Ace source code is hosted on GitHub. Ace is a community project. We actively encourage and support contributions. The Ace source code is hosted on GitHub. It is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings! -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            git clone git://github.com/ajaxorg/ace.git

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The high performance code editor for the web.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Built for Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ACE is an embeddable code editor written in JavaScript. + It matches the features and performance of native + editors such as Sublime, Vim and TextMate. It can be easily embedded + in any web page and JavaScript application. ACE is maintained as the + primary editor for Cloud9 IDE + and is the successor of the Mozilla Skywriter (Bespin) project.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /** + * In fact, you're looking at ACE right now. Go ahead and play with it! + * + * We are currently showing off the JavaScript mode. ACE has support for 45 + * language modes and 24 color themes! + */ + +function add(x, y) { + var resultString = "Hello, ACE! The result of your math is: "; + var result = x + y; + return resultString + result; +} + +var addResult = add(3, 2); +console.log(addResult);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Looking for a more full-featured demo? Check out the + kitchen sink.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ACE Features

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Syntax highlighting for over 40 languages (TextMate/Sublime/.tmlanguage files can be imported)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Over 20 themes (TextMate/Sublime/.tmtheme files can be imported)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Automatic indent and outdent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • An optional command line
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Handles huge documents (at last check, 4,000,000 lines is the upper limit)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Fully customizable key bindings including vim and Emacs modes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Search and replace with regular expressions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Highlight matching parentheses
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Toggle between soft tabs and real tabs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Displays hidden characters
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Drag and drop text using the mouse
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Line wrapping
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Code folding
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Multiple cursors and selections
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Cut, copy, and paste functionality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Get the Open-Source Code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ACE is a community project. We actively encourage and support + contributions! The ACE source code is hosted on GitHub + and released under the BSD license ‐ + very simple and friendly to all kinds of projects, whether open-source + or not. Take charge of your editor and add your favorite language + highlighting and keybindings!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            git clone git://github.com/ajaxorg/ace.git
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            History

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Skywriter/Bespin and ACE started + as two independent projects both aiming to build a no compromise + code editor component for the web. Bespin started as part of + Mozilla Labs and was based on the <canvas> tag, while ACE is + the editor component of Cloud9 IDE + and uses the DOM for rendering. After the release of ACE at + JSConf.eu 2010 + in Berlin the Skywriter team decided to merge ACE with a simplified + version of Skywriter's plugin system and some of Skywriter's + extensibility points. All these changes have been merged back to ACE + now, which supersedes Skywriter. Both Cloud9 IDE + and Mozilla are actively developing and + maintaining ACE.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Related Projects

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Embedding ACE in Your Site

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ACE can be easily embedded into a web page:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <!DOCTYPE html> +<html lang="en"> +<head> +<title>ACE in Action</title> +<style type="text/css" media="screen"> + #editor { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + } +</style> +</head> +<body> + +<div id="editor">function foo(items) { + var x = "All this is syntax highlighted"; + return x; +}</div> + +<script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script> +<script> + var editor = ace.edit("editor"); + editor.setTheme("ace/theme/monokai"); + editor.getSession().setMode("ace/mode/javascript"); +</script> +</body> +</html>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Now check out the How-To Guide for instructions on + common operations, such as setting a different language mode or + getting the contents from the editor.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Loading ACE from a Local URL

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The above code is sufficient to get started, but if you want to clone host ACE locally you can + use one of the pre-packaged versions. Just copy + one of src* subdirectories somewhere into your project, or use RequireJS to load the + contents of lib/ace as ace:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var ace = require("lib/ace");
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Working with ACE

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            In all of these examples ACE has been invoked + as shown in the embedding guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Setting Themes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Themes are loaded on demand; all you have to do is pass the string name:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.setTheme("ace/theme/twilight");
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            > See all themes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Setting the Programming Language Mode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            By default, the editor supports plain text mode. All other language modes are available as separate modules, loaded on demand like this:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.getSession().setMode("ace/mode/javascript");
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Common Operations

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Set and get content:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.setValue("the new text here"); // or session.setValue
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +editor.getValue(); // or session.getValue
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Get selected text:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.session.getTextRange(editor.getSelectionRange());
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Insert at cursor:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.insert("Something cool");
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Get the current cursor line and column:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.selection.getCursor();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Go to a line:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.gotoLine(lineNumber);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Get total number of lines:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.session.getLength();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Set the default tab size:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.getSession().setTabSize(4);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Use soft tabs:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.getSession().setUseSoftTabs(true);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Set the font size:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            document.getElementById('editor').style.fontSize='12px';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Toggle word wrapping:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.getSession().setUseWrapMode(true);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Set line highlighting:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.setHighlightActiveLine(false);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Set the print margin visibility:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.setShowPrintMargin(false);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Set the editor to read-only:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.setReadOnly(true);  // false to make it editable
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Triggering Resizes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ACE only resizes itself on window events. If you resize the editor div in another manner, and need ACE to resize, use the following:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.resize()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Searching

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.find('needle',{
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    backwards: false,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    wrap: false,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    caseSensitive: false,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    wholeWord: false,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    regExp: false
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +});
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +editor.findNext();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +editor.findPrevious();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The following options are available to you for your search parameters:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + 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
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + regExp: Whether the search is a regular expression or not. Defaults to false.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + 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.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Here's how you can perform a replace:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.find('foo');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +editor.replace('bar');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            And here's a replace all:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.replaceAll('bar');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (editor.replaceAll uses the needle set earlier by editor.find('needle', ...)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Listening to Events

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To listen for an onchange:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.getSession().on('change', function(e) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    // e.type, etc
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +});
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To listen for an selection change:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.getSession().selection.on('changeSelection', function(e) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +});
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To listen for a cursor change:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.getSession().selection.on('changeCursor', function(e) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +});
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Adding New Commands and Keybindings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To assign key bindings to a custom function:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            editor.commands.addCommand({
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    name: 'myCommand',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    bindKey: {win: 'Ctrl-M',  mac: 'Command-M'},
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    exec: function(editor) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +        //...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +});
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Importing Themes and Languages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ACE supports the importing of .tmtheme and .tmlanguage files for use +in the editor. The task is accomplished by two simple node scripts.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Importing Textmate/Sublime Themes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To import a .tmtheme file into ACE:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Go to the tool folder, and run npm install to install required +dependencies.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Drop your .tmtheme file into the tmthemes folder.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            4. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            5. Update the tmtheme.js file to include your new theme.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            6. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            7. Run node tmtheme.js +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            8. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Your .tmtheme will be converted and placed into lib/ace/theme +alongside other themes. Note that there’s one more class we’ve added +that isn’t available in regular Textmate themes, and that’s for +.ace_indent-guide. This class adds indentation guides for your theme, +using a base64-encoded png. In general, the dark themes and light themes +each have their own strings, so you can just copy the class from an +equivalent theme.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Importing Textmate/Sublime Languages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            If you’re interested in porting over an existing .tmlanguage file into +Ace’s mode syntax highlighting, there’s a tool to accomplish that, too.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Go to the tool folder. Run npm install to install required +dependencies.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Drop your .tmlanguage file into the tools folder.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            4. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            5. Run node tmlanguage.js <path_to_tmlanguage_file>, such as +node tmlanguage.js MyGreatLanguage.tmlanguage.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            6. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Your .tmlanguage file will be converted to the best of the converter’s +ability. It is an understatement to say that the tool is imperfect. +Probably, this will never be able to be fully autogenerated. In +.tmlanguage files, for instance, one sees the use of +lookbehinds/negative lookbehinds, which JavaScript regexps simply do not +have. There’s a list of other non-determinable items, too:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Deciding which state to transition to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + While the tool does create new states correctly, it labels them +with generic terms like state_2, state_10 e.t.c. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Extending modes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + Many modes say something like include source.c, to mean, “add all +the rules in C highlighting.” That syntax does not make sense to Ace +or this tool
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Rule preference order
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Gathering keywords
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + Most likely, you’ll need to take keywords from your language file +and run them through createKeywordMapper() +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Two files are created and placed in lib/ace/mode: one for the language +mode, and one for the set of highlight rules. You will still need to add +the code into kitchen_sink.html and demo.js, as well as write any +tests for the highlighting.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Ace API Reference

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Welcome to the Ace API Reference!

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 embedding guide.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Projects Using ACE

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ACE is used all over the web in all kinds of production applications. Here is + just a small sampling: +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Support and User Resources

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            - - + + + + diff --git a/kitchen-sink.html b/kitchen-sink.html index 43a128ea..176257d8 100644 --- a/kitchen-sink.html +++ b/kitchen-sink.html @@ -70,6 +70,7 @@ + diff --git a/lib/ace/css/editor.css b/lib/ace/css/editor.css index 3c07a186..081a1b0f 100644 --- a/lib/ace/css/editor.css +++ b/lib/ace/css/editor.css @@ -12,9 +12,9 @@ .ace_content { position: absolute; + -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; cursor: text; } @@ -27,13 +27,13 @@ z-index: 4; } -.ace_gutter_active_line { +.ace_gutter-active-line { position: absolute; left: 0; right: 0; } -.ace_scroller.horscroll { +.ace_scroller.ace_scroll-left { box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset; } @@ -62,50 +62,40 @@ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGRTk5MTVGREIxNDkxMUUxOTc5Q0FFREQyMTNGMjBFQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGRTk5MTVGRUIxNDkxMUUxOTc5Q0FFREQyMTNGMjBFQyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkZFOTkxNUZCQjE0OTExRTE5NzlDQUVERDIxM0YyMEVDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkZFOTkxNUZDQjE0OTExRTE5NzlDQUVERDIxM0YyMEVDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+SIDkjAAAAJ1JREFUeNpi/P//PwMlgImBQkB7A6qrq/+DMC55FkIGKCoq4pVnpFkgTp069f/+/fv/r1u37r+tre1/kg0A+ptn9uzZYLaRkRHpLvjw4cNXWVlZhufPnzOcO3eOdAO0tbVPAjHDmzdvGA4fPsxIsgGSkpJmv379Ynj37h2DjIyMCMkG3LhxQ/T27dsMampqDHZ2dq/pH41DxwCAAAMAFdc68dUsFZgAAAAASUVORK5CYII="); } -.ace_editor .ace_sb { +.ace_scrollbar { position: absolute; overflow-x: hidden; overflow-y: scroll; right: 0; } -.ace_editor .ace_sb div { +.ace_scrollbar-inner { position: absolute; width: 1px; left: 0; } -.ace_editor .ace_print_margin_layer { - z-index: 0; - position: absolute; - overflow: hidden; - margin: 0; - left: 0; - height: 100%; - width: 100%; -} - -.ace_editor .ace_print_margin { +.ace_print-margin { position: absolute; height: 100%; } -.ace_editor > textarea { +.ace_text-input { position: absolute; z-index: 0; width: 0.5em; height: 1em; opacity: 0; background: transparent; - appearance: none; -moz-appearance: none; + appearance: none; border: none; resize: none; outline: none; overflow: hidden; } -.ace_editor > textarea.ace_composition { +.ace_text-input.ace_composition { background: #fff; color: #000; z-index: 1000; @@ -121,15 +111,15 @@ white-space: nowrap; height: 100%; width: 100%; + -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; /* setting pointer-events: auto; on node under the mouse, which changes during scroll, will break mouse wheel scrolling in Safari */ pointer-events: none; } -.ace_gutter .ace_layer { +.ace_gutter-layer { position: relative; width: auto; text-align: right; @@ -153,13 +143,16 @@ .ace_cursor { z-index: 4; position: absolute; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; } .ace_cursor.ace_hidden { opacity: 0.2; } -.ace_editor.multiselect .ace_cursor { +.ace_editor.ace_multiselect .ace_cursor { border-left-width: 1px; } @@ -182,23 +175,23 @@ z-index: 6; } -.ace_marker-layer .ace_active_line { +.ace_marker-layer .ace_active-line { position: absolute; z-index: 2; } -.ace_marker-layer .ace_selected_word { +.ace_marker-layer .ace_selected-word { position: absolute; z-index: 4; + -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; } .ace_line .ace_fold { + -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; display: inline-block; height: 11px; @@ -213,9 +206,9 @@ color: transparent; border: 1px solid black; + -moz-border-radius: 2px; -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; + border-radius: 2px; cursor: pointer; pointer-events: auto; @@ -232,11 +225,11 @@ background-position: center center, top left; } -.ace_dragging .ace_content { +.ace_editor.ace_dragging .ace_content { cursor: move; } -.ace_gutter_tooltip { +.ace_gutter-tooltip { background-color: #FFFFD5; border: 1px solid gray; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); @@ -245,11 +238,10 @@ padding: 4px; position: absolute; z-index: 300; + -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; cursor: default; - white-space: pre-wrap; } .ace_folding-enabled > .ace_gutter-cell { @@ -257,9 +249,9 @@ } .ace_fold-widget { + -moz-box-sizing: border-box; -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; margin: 0 -12px 0 1px; display: inline-block; @@ -275,28 +267,28 @@ border: 1px solid transparent; } -.ace_fold-widget.end { +.ace_fold-widget.ace_end { background-image: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%05%00%00%00%05%08%06%00%00%00%8Do%26%E5%00%00%004IDATx%DAm%C7%C1%09%000%08C%D1%8C%ECE%C8E(%8E%EC%02)%1EZJ%F1%C1'%04%07I%E1%E5%EE%CAL%F5%A2%99%99%22%E2%D6%1FU%B5%FE0%D9x%A7%26Wz5%0E%D5%00%00%00%00IEND%AEB%60%82"); } -.ace_fold-widget.closed { +.ace_fold-widget.ace_closed { background-image: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%03%00%00%00%06%08%06%00%00%00%06%E5%24%0C%00%00%009IDATx%DA5%CA%C1%09%000%08%03%C0%AC*(%3E%04%C1%0D%BA%B1%23%A4Uh%E0%20%81%C0%CC%F8%82%81%AA%A2%AArGfr%88%08%11%11%1C%DD%7D%E0%EE%5B%F6%F6%CB%B8%05Q%2F%E9tai%D9%00%00%00%00IEND%AEB%60%82"); } .ace_fold-widget:hover { border: 1px solid rgba(0, 0, 0, 0.3); background-color: rgba(255, 255, 255, 0.2); + -moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); - -moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); - box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); + box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); } .ace_fold-widget:active { border: 1px solid rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.05); + -moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); - -moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); - box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); + box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); } /** * Dark version for fold widgets @@ -304,10 +296,10 @@ .ace_dark .ace_fold-widget { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC"); } -.ace_dark .ace_fold-widget.end { +.ace_dark .ace_fold-widget.ace_end { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg=="); } -.ace_dark .ace_fold-widget.closed { +.ace_dark .ace_fold-widget.ace_closed { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg=="); } .ace_dark .ace_fold-widget:hover { @@ -315,32 +307,44 @@ background-color: rgba(255, 255, 255, 0.1); } .ace_dark .ace_fold-widget:active { + -moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); - -moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); - box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); + box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); } -.ace_fold-widget.invalid { +.ace_fold-widget.ace_invalid { background-color: #FFB4B4; border-color: #DE5555; } .ace_fade-fold-widgets .ace_fold-widget { - -webkit-transition: opacity 0.4s ease 0.05s; -moz-transition: opacity 0.4s ease 0.05s; - -ms-transition: opacity 0.4s ease 0.05s; + -webkit-transition: opacity 0.4s ease 0.05s; -o-transition: opacity 0.4s ease 0.05s; + -ms-transition: opacity 0.4s ease 0.05s; transition: opacity 0.4s ease 0.05s; opacity: 0; } .ace_fade-fold-widgets:hover .ace_fold-widget { - -webkit-transition: opacity 0.05s ease 0.05s; -moz-transition: opacity 0.05s ease 0.05s; - -ms-transition: opacity 0.05s ease 0.05s; + -webkit-transition: opacity 0.05s ease 0.05s; -o-transition: opacity 0.05s ease 0.05s; + -ms-transition: opacity 0.05s ease 0.05s; transition: opacity 0.05s ease 0.05s; opacity:1; } + +.ace_underline { + text-decoration: underline; +} + +.ace_bold { + font-weight: bold; +} + +.ace_italic { + font-style: italic; +} diff --git a/lib/ace/edit_session.js b/lib/ace/edit_session.js index ec0dd4ba..d8578d03 100644 --- a/lib/ace/edit_session.js +++ b/lib/ace/edit_session.js @@ -378,7 +378,7 @@ var EditSession = function(text, mode) { this.highlight = function(re) { if (!this.$searchHighlight) { - var highlight = new SearchHighlight(null, "ace_selected_word", "text"); + var highlight = new SearchHighlight(null, "ace_selected-word", "text"); this.$searchHighlight = this.addDynamicMarker(highlight); } this.$searchHighlight.setRegexp(re); diff --git a/lib/ace/editor.js b/lib/ace/editor.js index d2e1725f..1010a49d 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -497,7 +497,7 @@ var Editor = function(renderer, session) { } else { range = new Range(cursor.row, 0, cursor.row+1, 0); } - session.$highlightLineMarker = session.addMarker(range, "ace_active_line", "background"); + session.$highlightLineMarker = session.addMarker(range, "ace_active-line", "background"); } } }; diff --git a/lib/ace/keyboard/emacs.js b/lib/ace/keyboard/emacs.js index 4c6173e9..a1248759 100644 --- a/lib/ace/keyboard/emacs.js +++ b/lib/ace/keyboard/emacs.js @@ -57,6 +57,7 @@ exports.handler.attach = function(editor) { .emacs-mode .ace_cursor{\ border: 2px rgba(50,250,50,0.8) solid!important;\ -moz-box-sizing: border-box!important;\ + -webkit-box-sizing: border-box!important;\ box-sizing: border-box!important;\ background-color: rgba(0,250,0,0.9);\ opacity: 0.5;\ diff --git a/lib/ace/keyboard/textinput.js b/lib/ace/keyboard/textinput.js index 0fe86f40..7204c022 100644 --- a/lib/ace/keyboard/textinput.js +++ b/lib/ace/keyboard/textinput.js @@ -37,6 +37,7 @@ var dom = require("../lib/dom"); var TextInput = function(parentNode, host) { var text = dom.createElement("textarea"); + text.className = "ace_text-input"; /*/ debug text.style.opacity = 1 text.style.background = "rgba(0, 250, 0, 0.3)" @@ -46,13 +47,16 @@ var TextInput = function(parentNode, host) { if (useragent.isTouchPad) text.setAttribute("x-palm-disable-auto-cap", true); - text.setAttribute("wrap", "off"); + text.wrap = "off"; + text.spellcheck = false; text.style.top = "-2em"; parentNode.insertBefore(text, parentNode.firstChild); - var PLACEHOLDER = useragent.isIE ? "\x01" : "\x01"; - sendText(); + var PLACEHOLDER = useragent.isIE ? "\x01" : "\x00"; + reset(true); + if (isFocused()) + host.onFocus(); var inCompostion = false; var copied = false; diff --git a/lib/ace/keyboard/vim/maps/motions.js b/lib/ace/keyboard/vim/maps/motions.js index b8fb12aa..227862b9 100644 --- a/lib/ace/keyboard/vim/maps/motions.js +++ b/lib/ace/keyboard/vim/maps/motions.js @@ -28,9 +28,9 @@ * * ***** END LICENSE BLOCK ***** */ -"use strict" define(function(require, exports, module) { +"use strict"; var util = require("./util"); @@ -42,42 +42,27 @@ var keepScrollPosition = function(editor, fn) { editor.renderer.scrollToRow(editor.getCursorPosition().row - diff); }; -function Motion(getRange, type){ - if (type == 'extend') - var extend = true; - else - var reverse = type; - - this.nav = function(editor) { - var r = getRange(editor); - if (!r) +function Motion(m) { + if (typeof m == "function") { + var getPos = m; + m = this; + } else { + var getPos = m.getPos; + } + m.nav = function(editor, range, count, param) { + var a = getPos(editor, range, count, param, false); + if (!a) return; - if (!r.end) - var a = r; - else if (reverse) - var a = r.start; - else - var a = r.end; - editor.clearSelection(); editor.moveCursorTo(a.row, a.column); - } - this.sel = function(editor){ - var r = getRange(editor); - if (!r) + }; + m.sel = function(editor, range, count, param) { + var a = getPos(editor, range, count, param, true); + if (!a) return; - if (extend) - return editor.selection.setSelectionRange(r); - - if (!r.end) - var a = r; - else if (reverse) - var a = r.start; - else - var a = r.end; - editor.selection.selectTo(a.row, a.column); - } + }; + return m; } var nonWordRe = /[\s.\/\\()\"'-:,.;<>~!@#$%^&*|+=\[\]{}`~?]/; @@ -90,20 +75,20 @@ var StringStream = function(editor, cursor) { this.row = cursor.row; this.col = cursor.column; var line = editor.session.getLine(this.row); - var maxRow = editor.session.getLength() - this.ch = line[this.col] || '\n' + var maxRow = editor.session.getLength(); + this.ch = line[this.col] || '\n'; this.skippedLines = 0; this.next = function() { this.ch = line[++this.col] || this.handleNewLine(1); //this.debug() return this.ch; - } + }; this.prev = function() { this.ch = line[--this.col] || this.handleNewLine(-1); //this.debug() return this.ch; - } + }; this.peek = function(dir) { var ch = line[this.col + dir]; if (ch) @@ -113,7 +98,7 @@ var StringStream = function(editor, cursor) { if (this.col == line.length - 1) return '\n'; return editor.session.getLine(this.row + 1)[0] || '\n'; - } + }; this.handleNewLine = function(dir) { if (dir == 1){ @@ -128,7 +113,7 @@ var StringStream = function(editor, cursor) { return line[0] || '\n'; } if (dir == -1) { - if (this.row == 0) + if (this.row === 0) return ''; this.row --; line = editor.session.getLine(this.row); @@ -136,11 +121,11 @@ var StringStream = function(editor, cursor) { this.skippedLines--; return '\n'; } - } + }; this.debug = function() { console.log(line.substring(0, this.col)+'|'+this.ch+'\''+this.col+'\''+line.substr(this.col+1)); - } -} + }; +}; var Search = require("ace/search").Search; var search = new Search(); @@ -179,7 +164,7 @@ module.exports = { else str.next(); - return {column: str.col, row: str.row} + return {column: str.col, row: str.row}; }), "b": new Motion(function(editor) { var str = new StringStream(editor); @@ -199,7 +184,7 @@ module.exports = { return {column: str.col, row: str.row}; }), "B": new Motion(function(editor) { - var str = new StringStream(editor) + var str = new StringStream(editor); str.prev(); while(str.ch && !(!whiteRe.test(str.ch) && whiteRe.test(str.peek(-1))) && str.skippedLines > -2) str.prev(); @@ -208,7 +193,7 @@ module.exports = { str.next(); return {column: str.col, row: str.row}; - }, true), + }), "e": new Motion(function(editor) { var str = new StringStream(editor); @@ -389,98 +374,58 @@ module.exports = { } }, - "f": { + "f": new Motion({ param: true, handlesCount: true, - nav: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); + getPos: function(editor, range, count, param, isSel) { + var cursor = editor.getCursorPosition(); var column = util.getRightNthChar(editor, cursor, param, count || 1); if (typeof column === "number") { - ed.selection.clearSelection(); // Why does it select in the first place? - ed.moveCursorTo(cursor.row, column + cursor.column + 1); + cursor.column += column + (isSel ? 2 : 1); + return cursor; } - }, - sel: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); + } + }), + "F": new Motion({ + param: true, + handlesCount: true, + getPos: function(editor, range, count, param, isSel) { + var cursor = editor.getCursorPosition(); + var column = util.getLeftNthChar(editor, cursor, param, count || 1); + + if (typeof column === "number") { + cursor.column -= column + 1; + return cursor; + } + } + }), + "t": new Motion({ + param: true, + handlesCount: true, + getPos: function(editor, range, count, param, isSel) { + var cursor = editor.getCursorPosition(); var column = util.getRightNthChar(editor, cursor, param, count || 1); if (typeof column === "number") { - ed.moveCursorTo(cursor.row, column + cursor.column + 1); + cursor.column += column + (isSel ? 1 : 0); + return cursor; } } - }, - "F": { + }), + "T": new Motion({ param: true, handlesCount: true, - nav: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); + getPos: function(editor, range, count, param, isSel) { + var cursor = editor.getCursorPosition(); var column = util.getLeftNthChar(editor, cursor, param, count || 1); if (typeof column === "number") { - ed.selection.clearSelection(); // Why does it select in the first place? - ed.moveCursorTo(cursor.row, cursor.column - column - 1); - } - }, - sel: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); - var column = util.getLeftNthChar(editor, cursor, param, count || 1); - - if (typeof column === "number") { - ed.moveCursorTo(cursor.row, cursor.column - column - 1); + cursor.column -= column; + return cursor; } } - }, - "t": { - param: true, - handlesCount: true, - nav: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); - var column = util.getRightNthChar(editor, cursor, param, count || 1); - - if (typeof column === "number") { - ed.selection.clearSelection(); // Why does it select in the first place? - ed.moveCursorTo(cursor.row, column + cursor.column); - } - }, - sel: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); - var column = util.getRightNthChar(editor, cursor, param, count || 1); - - if (typeof column === "number") { - ed.moveCursorTo(cursor.row, column + cursor.column); - } - } - }, - "T": { - param: true, - handlesCount: true, - nav: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); - var column = util.getLeftNthChar(editor, cursor, param, count || 1); - - if (typeof column === "number") { - ed.selection.clearSelection(); // Why does it select in the first place? - ed.moveCursorTo(cursor.row, -column + cursor.column); - } - }, - sel: function(editor, range, count, param) { - var ed = editor; - var cursor = ed.getCursorPosition(); - var column = util.getLeftNthChar(editor, cursor, param, count || 1); - - if (typeof column === "number") { - ed.moveCursorTo(cursor.row, -column + cursor.column); - } - } - }, + }), "^": { nav: function(editor) { diff --git a/lib/ace/keyboard/vim/maps/util.js b/lib/ace/keyboard/vim/maps/util.js index 1e8b3e2f..1d5a7639 100644 --- a/lib/ace/keyboard/vim/maps/util.js +++ b/lib/ace/keyboard/vim/maps/util.js @@ -2,7 +2,7 @@ define(function(require, exports, module) { var registers = require("../registers"); var dom = require("../../../lib/dom"); -dom.importCssString('.insert-mode. ace_cursor{\ +dom.importCssString('.insert-mode .ace_cursor{\ border-left: 2px solid #333333;\ }\ .ace_dark.insert-mode .ace_cursor{\ diff --git a/lib/ace/layer/cursor.js b/lib/ace/layer/cursor.js index eb36e745..9d688b57 100644 --- a/lib/ace/layer/cursor.js +++ b/lib/ace/layer/cursor.js @@ -177,7 +177,7 @@ var Cursor = function(parentEl) { var overwrite = this.session.getOverwrite(); if (overwrite != this.overwrite) - this.$setOverite(overwrite); + this.$setOverwrite(overwrite); // cache for textarea and gutter highlight this.$pixelPos = pixelPos; @@ -185,7 +185,7 @@ var Cursor = function(parentEl) { this.restartTimer(); }; - this.$setOverite = function(overwrite) { + this.$setOverwrite = function(overwrite) { this.overwrite = overwrite; for (var i = this.cursors.length; i--; ) { if (overwrite) diff --git a/lib/ace/layer/gutter.js b/lib/ace/layer/gutter.js index af2deb31..558cd026 100644 --- a/lib/ace/layer/gutter.js +++ b/lib/ace/layer/gutter.js @@ -148,8 +148,8 @@ var Gutter = function(parentEl) { c = foldWidgets[i] = this.session.getFoldWidget(i); if (c) html.push( - "" ); diff --git a/lib/ace/layer/marker.js b/lib/ace/layer/marker.js index ee83cf5d..7470bfd7 100644 --- a/lib/ace/layer/marker.js +++ b/lib/ace/layer/marker.js @@ -95,7 +95,7 @@ var Marker = function(parentEl) { } else { this.drawSingleLineMarker( - html, range, marker.clazz + " start", config, + html, range, marker.clazz + " ace_start", config, null, marker.type ); } @@ -116,7 +116,7 @@ var Marker = function(parentEl) { row, range.start.column, row, this.session.getScreenLastRowColumn(row) ); - this.drawSingleLineMarker(stringBuilder, lineRange, clazz + " start", layerConfig, 1, "text"); + this.drawSingleLineMarker(stringBuilder, lineRange, clazz + " ace_start", layerConfig, 1, "text"); // selection end row = range.end.row; @@ -140,7 +140,7 @@ var Marker = function(parentEl) { var left = Math.round(padding + range.start.column * config.characterWidth); stringBuilder.push( - "
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            '": function() { + var tokens = this.tokenizer.getLineTokens("foo = ({args}) ->", "start").tokens; + var correct = [ + "entity.name.function", "text", "keyword.operator", "text", + "paren.lparen", "paren.lparen", "variable.parameter", "paren.rparen", "paren.rparen", "text", "storage.type" + ]; + + assert.equal(tokens.length, 11); + this.testTokens(tokens, correct); + + tokens = this.tokenizer.getLineTokens("foo = ({arg1, arg2}) ->", "start").tokens; + assert.equal(tokens.length, 11); + this.testTokens(tokens, correct); + + tokens = this.tokenizer.getLineTokens("foo : ({arg1, arg2}) ->", "start").tokens; + assert.equal(tokens.length, 11); + this.testTokens(tokens, correct); + }, + + "test: tokenize function: invalid case: 'foo = ({args}) ->'": function() { + var tokens = this.tokenizer.getLineTokens("foo = ({0abc}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo = ({/abc}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo = ({abc/}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo = ({#abc}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo = ({abc#}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo = ({)abc}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo = ({abc)}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo = ({a{bc}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + }, + + "test: tokenize function: 'foo = ({}) ->'": function() { + var tokens = this.tokenizer.getLineTokens("foo = ({}) ->", "start").tokens; + var correct = [ + "entity.name.function", "text", "keyword.operator", "text", + "paren.lparen", "paren.lparen", "paren.rparen", "paren.rparen", "text", "storage.type" + ]; + + assert.equal(tokens.length, 10); + this.testTokens(tokens, correct); + + tokens = this.tokenizer.getLineTokens("foo : ({}) ->", "start").tokens; + assert.equal(tokens.length, 10); + this.testTokens(tokens, correct); + + tokens = this.tokenizer.getLineTokens("foo = ({ }) ->", "start").tokens; + correct = [ + "entity.name.function", "text", "keyword.operator", "text", + "paren.lparen", "paren.lparen", "text", "paren.rparen", "paren.rparen", "text", "storage.type" + ]; + assert.equal(tokens.length, 11); + this.testTokens(tokens, correct); + }, + + "test: tokenize function: 'foo = (args) ->'": function() { + var tokens = this.tokenizer.getLineTokens("foo = (args) ->", "start").tokens; + var correct = [ + "entity.name.function", "text", "keyword.operator", "text", + "paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type" + ]; + assert.equal(tokens.length, 9); + this.testTokens(tokens, correct); + + tokens = this.tokenizer.getLineTokens("foo = (arg1, arg2) ->", "start").tokens; + assert.equal(tokens.length, 9); + this.testTokens(tokens, correct); + + tokens = this.tokenizer.getLineTokens("foo = (arg1 = 1, arg2 = 'name') ->", "start").tokens; + assert.equal(tokens.length, 9); + this.testTokens(tokens, correct); + }, + "test: tokenize function: invalid case: 'foo=(args) ->'": function() { + var tokens = this.tokenizer.getLineTokens("foo=(args#) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo=(args=) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo=(args{) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo=(args}) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo=(}args) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo=(a)rgs) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo=(args/) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + + tokens = this.tokenizer.getLineTokens("foo=(args\\) ->", "start").tokens; + assert.notEqual(tokens[0].type, "entity.name.function"); + }, + + "test: tokenize function: 'foo = () ->'": function() { + var tokens = this.tokenizer.getLineTokens("foo = () ->", "start").tokens; + var correct = [ + "entity.name.function", "text", "keyword.operator", "text", + "paren.lparen", "paren.rparen", "text", "storage.type" + ]; + + assert.equal(tokens.length, 8); + this.testTokens(tokens, correct); + + tokens = this.tokenizer.getLineTokens("foo : ( ) ->", "start").tokens; + correct = [ + "entity.name.function", "text", "keyword.operator", "text", + "paren.lparen", "text", "paren.rparen", "text", "storage.type" + ]; + assert.equal(tokens.length, 9); + this.testTokens(tokens, correct); + }, + + "test: tokenize function: 'window.foo = (args) ->'": function() { + var tokens = this.tokenizer.getLineTokens("window.foo = (args) ->", "start").tokens; + var correct = [ + "variable.language", "punctuation.operator", "entity.name.function", "text", "keyword.operator", "text", + "paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type" + ]; + + assert.equal(tokens.length, 11); + this.testTokens(tokens, correct); + + this.tokenizer.getLineTokens("window.foo = (args) ->", "start").tokens; + assert.equal(tokens.length, 11); + this.testTokens(tokens, correct); + }, + + "test: tokenize function: 'foo = ->'": function() { + var tokens = this.tokenizer.getLineTokens("foo = ->", "start").tokens; + var correct = [ + "entity.name.function", "text", "keyword.operator", "text", "storage.type" + ]; + + assert.equal(tokens.length, 5); + this.testTokens(tokens, correct); + + this.tokenizer.getLineTokens("foo : ->", "start").tokens; + assert.equal(tokens.length, 5); + this.testTokens(tokens, correct); + }, + + "test: tokenize callback function: 'foo bar: 1, (args) ->'": function() { + var tokens = this.tokenizer.getLineTokens("foo bar: 1, (args) ->", "start").tokens; + var correct = [ + "identifier", "text", "identifier", "punctuation.operator", "text", "constant.numeric", "punctuation.operator", "text", + "paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type" + ]; + + assert.equal(tokens.length, 13); + this.testTokens(tokens, correct); + }, + + "test: tokenize class: 'class Foo'": function() { + var tokens = this.tokenizer.getLineTokens("class Foo", "start").tokens; + var correct = [ + "keyword", "text", "language.support.class" + ]; + + assert.equal(tokens.length, 3); + this.testTokens(tokens, correct); + }, + + "test: tokenize class 'class Foo extends Bar'": function() { + var tokens = this.tokenizer.getLineTokens("class Foo extends Bar", "start").tokens; + var correct = [ + "keyword", "text", "language.support.class", "text", "keyword", "text", "language.support.class" + ]; + + assert.equal(tokens.length, 7); + this.testTokens(tokens, correct); + }, + + "test: tokenize illegal name property: 'foo.static.function'": function() { + var tokens = this.tokenizer.getLineTokens("foo.static.function", "start").tokens; + var correct = [ + "identifier", "punctuation.operator", "identifier", "punctuation.operator", "identifier" + ]; + + assert.equal(tokens.length, 5); + this.testTokens(tokens, correct); + }, + // TODO: disable. not yet implemented "!test tokenize string with interpolation": function() { var tokens = this.tokenizer.getLineTokens('"#{ 22 / 7 } is a decent approximation of π"', "start").tokens; diff --git a/lib/ace/mode/coldfusion_highlight_rules.js b/lib/ace/mode/coldfusion_highlight_rules.js index ed2a7448..3108081f 100644 --- a/lib/ace/mode/coldfusion_highlight_rules.js +++ b/lib/ace/mode/coldfusion_highlight_rules.js @@ -49,7 +49,7 @@ var ColdfusionHighlightRules = function() { regex : "<\\!\\[CDATA\\[", next : "cdata" }, { - token : "xml_pe", + token : "xml-pe", regex : "<\\?.*?\\?>" }, { token : "comment", diff --git a/lib/ace/mode/html_highlight_rules.js b/lib/ace/mode/html_highlight_rules.js index 2c4e5b76..cf80bdd7 100644 --- a/lib/ace/mode/html_highlight_rules.js +++ b/lib/ace/mode/html_highlight_rules.js @@ -68,7 +68,7 @@ var HtmlHighlightRules = function() { regex : "<\\!\\[CDATA\\[", next : "cdata" }, { - token : "xml_pe", + token : "xml-pe", regex : "<\\?.*?\\?>" }, { token : "comment", @@ -76,7 +76,7 @@ var HtmlHighlightRules = function() { regex : "<\\!--", next : "comment" }, { - token : "xml_pe", + token : "xml-pe", regex : "<\\!.*?>" }, { token : "meta.tag", diff --git a/lib/ace/mode/javascript_highlight_rules.js b/lib/ace/mode/javascript_highlight_rules.js index bad7e526..33844e55 100644 --- a/lib/ace/mode/javascript_highlight_rules.js +++ b/lib/ace/mode/javascript_highlight_rules.js @@ -70,7 +70,7 @@ var JavaScriptHighlightRules = function() { var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield"; // TODO: Unicode escape sequences - var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\d\\$_\u00a1-\uffff]*\\b"; + var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b"; var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex "u[0-9a-fA-F]{4}|" + // unicode diff --git a/lib/ace/mode/jsp.js b/lib/ace/mode/jsp.js new file mode 100644 index 00000000..67c1f25c --- /dev/null +++ b/lib/ace/mode/jsp.js @@ -0,0 +1,61 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Distributed under the BSD license: + * + * Copyright (c) 2010, Ajax.org B.V. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Ajax.org B.V. nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ***** END LICENSE BLOCK ***** */ + +define(function(require, exports, module) { +"use strict"; + +var oop = require("../lib/oop"); +var TextMode = require("./text").Mode; +var Tokenizer = require("../tokenizer").Tokenizer; +var JspHighlightRules = require("./jsp_highlight_rules").JspHighlightRules; +var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent; +var Range = require("../range").Range; +var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour; +var CStyleFoldMode = require("./folding/cstyle").FoldMode; + + +var JavaScriptMode = require("./javascript").Mode; +var CssMode = require("./css").Mode; + +var Mode = function() { + var highlighter = new JspHighlightRules(); + this.$tokenizer = new Tokenizer(highlighter.getRules()); + this.$outdent = new MatchingBraceOutdent(); + this.$behaviour = new CstyleBehaviour(); + this.foldingRules = new CStyleFoldMode(); +}; +oop.inherits(Mode, TextMode); + +(function() { + +}).call(Mode.prototype); + +exports.Mode = Mode; +}); diff --git a/lib/ace/mode/jsp_highlight_rules.js b/lib/ace/mode/jsp_highlight_rules.js new file mode 100644 index 00000000..da0033fc --- /dev/null +++ b/lib/ace/mode/jsp_highlight_rules.js @@ -0,0 +1,85 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Distributed under the BSD license: + * + * Copyright (c) 2010, Ajax.org B.V. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Ajax.org B.V. nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ***** END LICENSE BLOCK ***** */ + +define(function(require, exports, module) { +"use strict"; + +var oop = require("../lib/oop"); +var HtmlHighlightRules = require("./html_highlight_rules").HtmlHighlightRules; +var JavaHighlightRules = require("./java_highlight_rules").JavaHighlightRules; + +var JspHighlightRules = function() { + HtmlHighlightRules.call(this); + for (var i in this.$rules) { + this.$rules[i].unshift({ + token : "meta.tag", // jsp open tag + regex : "<%@?|<%=?|]+>", + next : "jsp-start" + }); + } + + var builtinVariables = 'request|response|out|session|' + + 'application|config|pageContext|page|Exception'; + + var keywords = 'page|include|taglib'; + + this.embedRules(JavaHighlightRules, "jsp-"); + + this.$rules["start"].unshift({ + token : "comment", + merge : true, + regex : "<%--", + next : "comment" + }); + + this.$rules["jsp-start"].unshift({ + token : "meta.tag", // jsp close tag + regex : "%>|<\\/jsp:[^>]+>", + next : "start" + }, + { + token: "variable.language", + regex : builtinVariables + }, { + token: "keyword", + regex : keywords + }); + + this.$rules.comment.unshift({ + token : "comment", + regex : ".*?--%>", + next : "start" + }); +}; + +oop.inherits(JspHighlightRules, HtmlHighlightRules); + +exports.JspHighlightRules = JspHighlightRules; +}); diff --git a/lib/ace/mode/liquid_highlight_rules.js b/lib/ace/mode/liquid_highlight_rules.js index 2666c4a2..5b4f9c0b 100644 --- a/lib/ace/mode/liquid_highlight_rules.js +++ b/lib/ace/mode/liquid_highlight_rules.js @@ -87,7 +87,7 @@ var LiquidHighlightRules = function() { regex : "<\\!\\[CDATA\\[", next : "cdata" }, { - token : "xml_pe", + token : "xml-pe", regex : "<\\?.*?\\?>" }, { token : "comment", diff --git a/lib/ace/mode/markdown_highlight_rules.js b/lib/ace/mode/markdown_highlight_rules.js index 276d77cc..4fbc3918 100644 --- a/lib/ace/mode/markdown_highlight_rules.js +++ b/lib/ace/mode/markdown_highlight_rules.js @@ -69,9 +69,9 @@ var MarkdownHighlightRules = function() { regex: "^\\-+(?=\\s*$)" }, { // header token : function(value) { - return "markup.heading." + value.length; + return "markup.heading." + value.search(/[^#]/); }, - regex : "^#{1,6}" + regex : "^#{1,6}(?:[^ #].*| +.*(?:[^ #].*|[^ ]+.* +#+ *))$" }, github_embed("(?:javascript|js)", "js-"), github_embed("xml", "xml-"), github_embed("html", "html-"), diff --git a/lib/ace/mode/markdown_highlight_rules_test.js b/lib/ace/mode/markdown_highlight_rules_test.js new file mode 100644 index 00000000..4c828e49 --- /dev/null +++ b/lib/ace/mode/markdown_highlight_rules_test.js @@ -0,0 +1,100 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Distributed under the BSD license: + * + * Copyright (c) 2012, Ajax.org B.V. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Ajax.org B.V. nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * + * Contributor(s): + * + * quexer + * + * ***** END LICENSE BLOCK ***** */ + +if (typeof process !== "undefined") { + require("amd-loader"); +} + +define(function(require, exports, module) { +"use strict"; + +var Mode = require("./markdown").Mode; +var assert = require("../test/assertions"); + +module.exports = { + setUp : function() { + this.tokenizer = new Mode().getTokenizer(); + }, + + "test: header 1 ": function() { + var tokens = this.tokenizer.getLineTokens("#f", "start").tokens; + assert.equal(tokens.length, 1); + assert.equal(tokens[0].type, 'markup.heading.1'); + }, + + "test: header 2": function() { + var tokens = this.tokenizer.getLineTokens("## foo", "start").tokens; + assert.equal(tokens.length, 1); + assert.equal(tokens[0].type, 'markup.heading.2'); + }, + + "test: header ends with ' #'": function() { + var tokens = this.tokenizer.getLineTokens("# # # ", "start").tokens; + assert.equal(tokens.length, 1); + assert.equal(tokens[0].type, 'markup.heading.1'); + }, + + "test: header ends with '#'": function() { + var tokens = this.tokenizer.getLineTokens("#foo# ", "start").tokens; + assert.equal(tokens.length, 1); + assert.equal(tokens[0].type, 'markup.heading.1'); + }, + + "test: 6+ #s is not a valid header": function() { + var tokens = this.tokenizer.getLineTokens("####### foo", "start").tokens; + assert.equal(tokens.length, 1); + assert.equal(tokens[0].type, 'text'); + }, + + "test: # followed be only space is not a valid header": function() { + var tokens = this.tokenizer.getLineTokens("# ", "start").tokens; + assert.equal(tokens.length, 1); + assert.equal(tokens[0].type, 'text'); + }, + + + + "test: only space between #s is not a valid header": function() { + var tokens = this.tokenizer.getLineTokens("# #", "start").tokens; + assert.equal(tokens.length, 1); + assert.equal(tokens[0].type, 'text'); + } +}; + +}); + +if (typeof module !== "undefined" && module === require.main) { + require("asyncjs").test.testcase(module.exports).exec(); +} diff --git a/lib/ace/mode/php_highlight_rules.js b/lib/ace/mode/php_highlight_rules.js index 52e6c4a0..2841d0e9 100644 --- a/lib/ace/mode/php_highlight_rules.js +++ b/lib/ace/mode/php_highlight_rules.js @@ -1040,7 +1040,7 @@ oop.inherits(PhpLangHighlightRules, TextHighlightRules); var PhpHighlightRules = function() { - this.$rules = new HtmlHighlightRules().getRules(); + HtmlHighlightRules.call(this); for (var i in this.$rules) { this.$rules[i].unshift({ @@ -1059,9 +1059,7 @@ var PhpHighlightRules = function() { }); }; -oop.inherits(PhpHighlightRules, TextHighlightRules); - - +oop.inherits(PhpHighlightRules, HtmlHighlightRules); exports.PhpHighlightRules = PhpHighlightRules; }); diff --git a/lib/ace/mode/xml_highlight_rules.js b/lib/ace/mode/xml_highlight_rules.js index 4a57864e..3244d572 100644 --- a/lib/ace/mode/xml_highlight_rules.js +++ b/lib/ace/mode/xml_highlight_rules.js @@ -45,7 +45,7 @@ var XmlHighlightRules = function() { regex : "<\\!\\[CDATA\\[", next : "cdata" }, { - token : "xml_pe", + token : "xml-pe", regex : "<\\?.*?\\?>" }, { token : "comment", @@ -53,7 +53,7 @@ var XmlHighlightRules = function() { regex : "<\\!--", next : "comment" }, { - token : "xml_pe", + token : "xml-pe", regex : "<\\!.*?>" }, { token : "meta.tag", // opening tag diff --git a/lib/ace/mode/xquery/XQueryParser.js b/lib/ace/mode/xquery/XQueryParser.js index 99d0544b..bebdb0e7 100644 --- a/lib/ace/mode/xquery/XQueryParser.js +++ b/lib/ace/mode/xquery/XQueryParser.js @@ -121,12 +121,12 @@ var XQueryParser = function(input, state) { this.ap = function(token) { - this.addToken(token, "xml_pe"); + this.addToken(token, "xml-pe"); }; this.ax = function(start, stop) { - this.highlighter.addToken(start.getStartIndex(), stop.getStopIndex(), "xml_pe"); + this.highlighter.addToken(start.getStartIndex(), stop.getStopIndex(), "xml-pe"); }; this.at = function(start, stop) diff --git a/lib/ace/mode/xquery_highlight_rules.js b/lib/ace/mode/xquery_highlight_rules.js index 4d4bd6ce..7149beb8 100644 --- a/lib/ace/mode/xquery_highlight_rules.js +++ b/lib/ace/mode/xquery_highlight_rules.js @@ -48,7 +48,7 @@ var XQueryHighlightRules = function() { regex : "<\\!\\[CDATA\\[", next : "cdata" }, { - token : "xml_pe", + token : "xml-pe", regex : "<\\?.*?\\?>" }, { token : "comment", diff --git a/lib/ace/mouse/default_gutter_handler.js b/lib/ace/mouse/default_gutter_handler.js index 0ba7d52d..c88de596 100644 --- a/lib/ace/mouse/default_gutter_handler.js +++ b/lib/ace/mouse/default_gutter_handler.js @@ -61,7 +61,7 @@ function GutterHandler(mouseHandler) { var tooltipTimeout, mouseEvent, tooltip, tooltipAnnotation; function createTooltip() { tooltip = dom.createElement("div"); - tooltip.className = "ace_gutter_tooltip"; + tooltip.className = "ace_gutter-tooltip"; tooltip.style.maxWidth = "500px"; tooltip.style.display = "none"; editor.container.appendChild(tooltip); diff --git a/lib/ace/mouse/default_handlers.js b/lib/ace/mouse/default_handlers.js index 08a18a64..f58b6644 100644 --- a/lib/ace/mouse/default_handlers.js +++ b/lib/ace/mouse/default_handlers.js @@ -44,7 +44,7 @@ function DefaultHandlers(mouseHandler) { editor.setDefaultHandler("dblclick", this.onDoubleClick.bind(mouseHandler)); editor.setDefaultHandler("tripleclick", this.onTripleClick.bind(mouseHandler)); editor.setDefaultHandler("quadclick", this.onQuadClick.bind(mouseHandler)); - editor.setDefaultHandler("mousewheel", this.onScroll.bind(mouseHandler)); + editor.setDefaultHandler("mousewheel", this.onMouseWheel.bind(mouseHandler)); var exports = ["select", "startSelect", "drag", "dragEnd", "dragWait", "dragWaitEnd", "startDrag", "focusWait"]; @@ -298,7 +298,10 @@ function DefaultHandlers(mouseHandler) { this.setState("null"); }; - this.onScroll = function(ev) { + this.onMouseWheel = function(ev) { + if (ev.getShiftKey() || ev.getAccelKey()){ + return; + } var editor = this.editor; var isScrolable = editor.renderer.isScrollableBy(ev.wheelX * ev.speed, ev.wheelY * ev.speed); if (isScrolable) { diff --git a/lib/ace/multi_select.js b/lib/ace/multi_select.js index 857ffba0..547463ad 100644 --- a/lib/ace/multi_select.js +++ b/lib/ace/multi_select.js @@ -399,7 +399,7 @@ var Editor = require("./editor").Editor; return; this.inMultiSelectMode = true; - this.setStyle("multiselect"); + this.setStyle("ace_multiselect"); this.keyBinding.addKeyboardHandler(commands.keyboardHandler); this.commands.on("exec", this.$onMultiSelectExec); @@ -412,7 +412,7 @@ var Editor = require("./editor").Editor; return; this.inMultiSelectMode = false; - this.unsetStyle("multiselect"); + this.unsetStyle("ace_multiselect"); this.keyBinding.removeKeyboardHandler(commands.keyboardHandler); this.commands.removeEventListener("exec", this.$onMultiSelectExec); diff --git a/lib/ace/scrollbar.js b/lib/ace/scrollbar.js index edb37ea9..ada4d023 100644 --- a/lib/ace/scrollbar.js +++ b/lib/ace/scrollbar.js @@ -52,9 +52,10 @@ var EventEmitter = require("./lib/event_emitter").EventEmitter; **/ var ScrollBar = function(parent) { this.element = dom.createElement("div"); - this.element.className = "ace_sb"; + this.element.className = "ace_scrollbar"; this.inner = dom.createElement("div"); + this.inner.className = "ace_scrollbar-inner"; this.element.appendChild(this.inner); parent.appendChild(this.element); diff --git a/lib/ace/theme/ambiance.css b/lib/ace/theme/ambiance.css index fba5dcc3..65a25bbd 100644 --- a/lib/ace/theme/ambiance.css +++ b/lib/ace/theme/ambiance.css @@ -1,16 +1,5 @@ -.ace-ambiance { - background-color: #202020; -} - -.ace-ambiance .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-ambiance .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-ambiance .ace_gutter { + background-color: #3d3d3d; background-image: -moz-linear-gradient(left, #3D3D3D, #333); background-image: -ms-linear-gradient(left, #3D3D3D, #333); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3D3D3D), to(#333)); @@ -18,51 +7,46 @@ background-image: -o-linear-gradient(left, #3D3D3D, #333); background-image: linear-gradient(left, #3D3D3D, #333); background-repeat: repeat-x; - + border-right: 1px solid #4d4d4d; text-shadow: 0px 1px 1px #4d4d4d; color: #222; - border-right: 1px solid #4d4d4d; - overflow : hidden; } .ace-ambiance .ace_gutter-layer { background: repeat left top; - width: 100%; - text-align: right; } -.ace-ambiance .ace_gutter-layer .ace_gutter-cell .ace_fold-widget { - position: absolute; - right: 2px; - margin: 0; - vertical-align: middle; - height: inherit; - width: auto; +.ace-ambiance .ace_fold-widget { + text-align: center; +} + +.ace-ambiance .ace_fold-widget:hover { + color: #777; +} + +.ace-ambiance .ace_fold-widget.ace_start, +.ace-ambiance .ace_fold-widget.ace_end, +.ace-ambiance .ace_fold-widget.ace_closed{ background: none; border: none; box-shadow: none; - outline: none; } -.ace-ambiance .ace_gutter-layer .ace_gutter-cell .ace_fold-widget:hover { - color: #777; -} - -.ace-ambiance .ace_gutter-layer .ace_gutter-cell .ace_fold-widget:hover { - color: #777; -} - -.ace-ambiance .ace_gutter-layer .ace_gutter-cell .ace_fold-widget.open:after { +.ace-ambiance .ace_fold-widget.ace_start:after { content: '▾' } -.ace-ambiance .ace_gutter-layer .ace_gutter-cell .ace_fold-widget.closed:after { +.ace-ambiance .ace_fold-widget.ace_end:after { + content: '▴' +} + +.ace-ambiance .ace_fold-widget.ace_closed:after { content: '‣' } -.ace-ambiance .ace_print_margin { +.ace-ambiance .ace_print-margin { border-left: 1px dotted #2D2D2D; - width: 100%; + right: 0; background: #262626; } @@ -75,9 +59,7 @@ } .ace-ambiance .ace_text-layer { - cursor: text; color: #E6E1DC; - background: url("noise.png") repeat left top; } .ace-ambiance .ace_cursor { @@ -97,7 +79,7 @@ background: rgba(221, 240, 255, 0.20); } -.ace-ambiance .ace_marker-layer .ace_selected_word { +.ace-ambiance .ace_marker-layer .ace_selected-word { border-radius: 4px; border: 8px solid #3f475d; box-shadow: 0 0 4px black; @@ -112,12 +94,10 @@ border: 1px solid rgba(255, 255, 255, 0.25); } -.ace-ambiance .ace_marker-layer .ace_active_line { +.ace-ambiance .ace_marker-layer .ace_active-line { background: rgba(255, 255, 255, 0.031); } - - .ace-ambiance .ace_invisible { color: #333; } @@ -223,7 +203,7 @@ color: #9b859d; } -.ace-ambiance .ace_xml_pe { +.ace-ambiance .ace_xml-pe { color: #494949; } @@ -231,3 +211,7 @@ .ace-ambiance .ace_text-layer { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC"); } + +.ace-ambiance .ace_indent-guide { + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC") right repeat-y; +} \ No newline at end of file diff --git a/lib/ace/theme/chrome.css b/lib/ace/theme/chrome.css index 7c0ed3bd..069a4b37 100644 --- a/lib/ace/theme/chrome.css +++ b/lib/ace/theme/chrome.css @@ -1,18 +1,10 @@ -.ace-chrome .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-chrome .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-chrome .ace_gutter { background: #ebebeb; color: #333; overflow : hidden; } -.ace-chrome .ace_print_margin { +.ace-chrome .ace_print-margin { width: 1px; background: #e8e8e8; } @@ -64,7 +56,7 @@ .ace-chrome .ace_line .ace_support.ace_type, .ace-chrome .ace_line .ace_support.ace_class -.ace-chrome .ace_line .ace_support.ace_other, { +.ace-chrome .ace_line .ace_support.ace_other { color: rgb(109, 121, 222); } @@ -96,7 +88,7 @@ color: rgb(49, 132, 149); } -.ace-chrome .ace_line .ace_xml_pe { +.ace-chrome .ace_line .ace_xml-pe { color: rgb(104, 104, 91); } @@ -104,9 +96,6 @@ color: #0000A2; } -.ace-chrome .ace_markup.ace_underline { - text-decoration:underline; -} .ace-chrome .ace_markup.ace_heading { color: rgb(12, 7, 255); @@ -133,15 +122,15 @@ border: 1px solid rgb(192, 192, 192); } -.ace-chrome .ace_marker-layer .ace_active_line { +.ace-chrome .ace_marker-layer .ace_active-line { background: rgba(0, 0, 0, 0.07); } -.ace-chrome .ace_gutter_active_line { +.ace-chrome .ace_gutter-active-line { background-color : #dcdcdc; } -.ace-chrome .ace_marker-layer .ace_selected_word { +.ace-chrome .ace_marker-layer .ace_selected-word { background: rgb(250, 250, 255); border: 1px solid rgb(200, 200, 250); } diff --git a/lib/ace/theme/clouds.css b/lib/ace/theme/clouds.css index 3f33a7d7..1f64a7cd 100644 --- a/lib/ace/theme/clouds.css +++ b/lib/ace/theme/clouds.css @@ -1,124 +1,124 @@ -.ace-clouds .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-clouds .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-clouds .ace_gutter { background: #ebebeb; - color: #333; + color: #333 } -.ace-clouds .ace_print_margin { +.ace-clouds .ace_print-margin { width: 1px; - background: #e8e8e8; + background: #e8e8e8 } .ace-clouds .ace_scroller { - background-color: #FFFFFF; + background-color: #FFFFFF } .ace-clouds .ace_text-layer { - color: #000000; + color: #000000 } .ace-clouds .ace_cursor { - border-left: 2px solid #000000; + border-left: 2px solid #000000 } .ace-clouds .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #000000; + border-bottom: 1px solid #000000 } .ace-clouds .ace_marker-layer .ace_selection { - background: #BDD5FC; + background: #BDD5FC } -.ace-clouds.multiselect .ace_selection.start { +.ace-clouds.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #FFFFFF; - border-radius: 2px; + border-radius: 2px } .ace-clouds .ace_marker-layer .ace_step { - background: rgb(255, 255, 0); + background: rgb(255, 255, 0) } .ace-clouds .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #BFBFBF; + border: 1px solid #BFBFBF } -.ace-clouds .ace_marker-layer .ace_active_line { - background: #FFFBD1; +.ace-clouds .ace_marker-layer .ace_active-line { + background: #FFFBD1 } -.ace-clouds .ace_gutter_active_line { - background-color : #dcdcdc; +.ace-clouds .ace_gutter-active-line { + background-color : #dcdcdc } -.ace-clouds .ace_marker-layer .ace_selected_word { - border: 1px solid #BDD5FC; +.ace-clouds .ace_marker-layer .ace_selected-word { + border: 1px solid #BDD5FC } .ace-clouds .ace_invisible { - color: #BFBFBF; + color: #BFBFBF } -.ace-clouds .ace_keyword, .ace-clouds .ace_meta { - color:#AF956F; +.ace-clouds .ace_keyword, +.ace-clouds .ace_meta, +.ace-clouds .ace_support.ace_constant.ace_property-value { + color: #AF956F } .ace-clouds .ace_keyword.ace_operator { - color:#484848; + color: #484848 +} + +.ace-clouds .ace_keyword.ace_other.ace_unit { + color: #96DC5F } .ace-clouds .ace_constant.ace_language { - color:#39946A; + color: #39946A } .ace-clouds .ace_constant.ace_numeric { - color:#46A609; + color: #46A609 +} + +.ace-clouds .ace_constant.ace_character.ace_entity { + color: #BF78CC } .ace-clouds .ace_invalid { - background-color:#FF002A; + background-color: #FF002A } .ace-clouds .ace_fold { - background-color: #AF956F; - border-color: #000000; + background-color: #AF956F; + border-color: #000000 } -.ace-clouds .ace_support.ace_function, +.ace-clouds .ace_storage, .ace-clouds .ace_support.ace_class, -.ace-clouds .ace_support.ace_type, -.ace-clouds .ace_support.ace_other { - color:#C52727; -} - -.ace-clouds .ace_storage { - color:#C52727; +.ace-clouds .ace_support.ace_function, +.ace-clouds .ace_support.ace_other, +.ace-clouds .ace_support.ace_type { + color: #C52727 } .ace-clouds .ace_string { - color:#5D90CD; + color: #5D90CD } .ace-clouds .ace_comment { - color:#BCC8BA; + color: #BCC8BA } +.ace-clouds .ace_entity.ace_name.ace_tag, .ace-clouds .ace_entity.ace_other.ace_attribute-name { - color:#606060; + color: #606060 } .ace-clouds .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-clouds .ace_indent-guide { - background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y; + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/clouds.js b/lib/ace/theme/clouds.js index 05e8e719..13d66603 100644 --- a/lib/ace/theme/clouds.js +++ b/lib/ace/theme/clouds.js @@ -34,6 +34,6 @@ exports.isDark = false; exports.cssClass = "ace-clouds"; exports.cssText = require('ace/requirejs/text!./clouds.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/clouds_midnight.css b/lib/ace/theme/clouds_midnight.css index ba8abd68..632dc4e5 100644 --- a/lib/ace/theme/clouds_midnight.css +++ b/lib/ace/theme/clouds_midnight.css @@ -1,126 +1,125 @@ - -.ace-clouds-midnight .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-clouds-midnight .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-clouds-midnight .ace_gutter { background: #232323; - color: #929292; + color: #929292 } -.ace-clouds-midnight .ace_print_margin { +.ace-clouds-midnight .ace_print-margin { width: 1px; - background: #232323; + background: #232323 } .ace-clouds-midnight .ace_scroller { - background-color: #191919; + background-color: #191919 } .ace-clouds-midnight .ace_text-layer { - color: #929292; + color: #929292 } .ace-clouds-midnight .ace_cursor { - border-left: 2px solid #7DA5DC; + border-left: 2px solid #7DA5DC } .ace-clouds-midnight .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #7DA5DC; + border-bottom: 1px solid #7DA5DC } .ace-clouds-midnight .ace_marker-layer .ace_selection { - background: #000000; + background: #000000 } -.ace-clouds-midnight.multiselect .ace_selection.start { +.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #191919; - border-radius: 2px; + border-radius: 2px } .ace-clouds-midnight .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-clouds-midnight .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #BFBFBF; + border: 1px solid #BFBFBF } -.ace-clouds-midnight .ace_marker-layer .ace_active_line { - background: rgba(215, 215, 215, 0.031); +.ace-clouds-midnight .ace_marker-layer .ace_active-line { + background: rgba(215, 215, 215, 0.031) } -.ace-clouds-midnight .ace_gutter_active_line { - background-color: rgba(215, 215, 215, 0.031); +.ace-clouds-midnight .ace_gutter-active-line { + background-color: rgba(215, 215, 215, 0.031) } -.ace-clouds-midnight .ace_marker-layer .ace_selected_word { - border: 1px solid #000000; +.ace-clouds-midnight .ace_marker-layer .ace_selected-word { + border: 1px solid #000000 } .ace-clouds-midnight .ace_invisible { - color: #BFBFBF; + color: #BFBFBF } -.ace-clouds-midnight .ace_keyword, .ace-clouds-midnight .ace_meta { - color:#927C5D; +.ace-clouds-midnight .ace_keyword, +.ace-clouds-midnight .ace_meta, +.ace-clouds-midnight .ace_support.ace_constant.ace_property-value { + color: #927C5D } .ace-clouds-midnight .ace_keyword.ace_operator { - color:#4B4B4B; + color: #4B4B4B +} + +.ace-clouds-midnight .ace_keyword.ace_other.ace_unit { + color: #366F1A } .ace-clouds-midnight .ace_constant.ace_language { - color:#39946A; + color: #39946A } .ace-clouds-midnight .ace_constant.ace_numeric { - color:#46A609; + color: #46A609 +} + +.ace-clouds-midnight .ace_constant.ace_character.ace_entity { + color: #A165AC } .ace-clouds-midnight .ace_invalid { - color:#FFFFFF; -background-color:#E92E2E; + color: #FFFFFF; + background-color: #E92E2E } .ace-clouds-midnight .ace_fold { - background-color: #927C5D; - border-color: #929292; + background-color: #927C5D; + border-color: #929292 } -.ace-clouds-midnight .ace_support.ace_function, +.ace-clouds-midnight .ace_storage, .ace-clouds-midnight .ace_support.ace_class, -.ace-clouds-midnight .ace_support.ace_type, -.ace-clouds-midnight .ace_support.ace_other { - color:#E92E2E; -} - -.ace-clouds-midnight .ace_storage { - color:#E92E2E; +.ace-clouds-midnight .ace_support.ace_function, +.ace-clouds-midnight .ace_support.ace_other, +.ace-clouds-midnight .ace_support.ace_type { + color: #E92E2E } .ace-clouds-midnight .ace_string { - color:#5D90CD; + color: #5D90CD } .ace-clouds-midnight .ace_comment { - color:#3C403B; + color: #3C403B } +.ace-clouds-midnight .ace_entity.ace_name.ace_tag, .ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name { - color:#606060; + color: #606060 } .ace-clouds-midnight .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-clouds-midnight .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlJT8z1BeXv4fAA2KA6+h9Z+2AAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlJT8z1BeXv4fAA2KA6+h9Z+2AAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/clouds_midnight.js b/lib/ace/theme/clouds_midnight.js index df434043..9359d120 100644 --- a/lib/ace/theme/clouds_midnight.js +++ b/lib/ace/theme/clouds_midnight.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-clouds-midnight"; exports.cssText = require('ace/requirejs/text!./clouds_midnight.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/cobalt.css b/lib/ace/theme/cobalt.css index f20de018..5e41ea00 100644 --- a/lib/ace/theme/cobalt.css +++ b/lib/ace/theme/cobalt.css @@ -1,147 +1,136 @@ -.ace-cobalt .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-cobalt .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-cobalt .ace_gutter { background: #011e3a; - color: #fff; + color: #fff } -.ace-cobalt .ace_print_margin { +.ace-cobalt .ace_print-margin { width: 1px; - background: #011e3a; + background: #011e3a } .ace-cobalt .ace_scroller { - background-color: #002240; + background-color: #002240 } .ace-cobalt .ace_text-layer { - color: #FFFFFF; + color: #FFFFFF } .ace-cobalt .ace_cursor { - border-left: 2px solid #FFFFFF; + border-left: 2px solid #FFFFFF } .ace-cobalt .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #FFFFFF; + border-bottom: 1px solid #FFFFFF } .ace-cobalt .ace_marker-layer .ace_selection { - background: rgba(179, 101, 57, 0.75); + background: rgba(179, 101, 57, 0.75) } -.ace-cobalt.multiselect .ace_selection.start { +.ace-cobalt.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #002240; - border-radius: 2px; + border-radius: 2px } .ace-cobalt .ace_marker-layer .ace_step { - background: rgb(127, 111, 19); + background: rgb(127, 111, 19) } .ace-cobalt .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(255, 255, 255, 0.15); + border: 1px solid rgba(255, 255, 255, 0.15) } -.ace-cobalt .ace_marker-layer .ace_active_line { - background: rgba(0, 0, 0, 0.35); +.ace-cobalt .ace_marker-layer .ace_active-line { + background: rgba(0, 0, 0, 0.35) } -.ace-cobalt .ace_gutter_active_line { - background-color: rgba(0, 0, 0, 0.35); +.ace-cobalt .ace_gutter-active-line { + background-color: rgba(0, 0, 0, 0.35) } -.ace-cobalt .ace_marker-layer .ace_selected_word { - border: 1px solid rgba(179, 101, 57, 0.75); +.ace-cobalt .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(179, 101, 57, 0.75) } .ace-cobalt .ace_invisible { - color: rgba(255, 255, 255, 0.15); + color: rgba(255, 255, 255, 0.15) } -.ace-cobalt .ace_keyword, .ace-cobalt .ace_meta { - color:#FF9D00; +.ace-cobalt .ace_keyword, +.ace-cobalt .ace_meta { + color: #FF9D00 } -.ace-cobalt .ace_constant, .ace-cobalt .ace_constant.ace_other { - color:#FF628C; -} - -.ace-cobalt .ace_constant.ace_character, { - color:#FF628C; -} - -.ace-cobalt .ace_constant.ace_character.ace_escape, { - color:#FF628C; +.ace-cobalt .ace_constant, +.ace-cobalt .ace_constant.ace_character, +.ace-cobalt .ace_constant.ace_character.ace_escape, +.ace-cobalt .ace_constant.ace_other { + color: #FF628C } .ace-cobalt .ace_invalid { - color:#F8F8F8; -background-color:#800F00; + color: #F8F8F8; + background-color: #800F00 } .ace-cobalt .ace_support { - color:#80FFBB; + color: #80FFBB } .ace-cobalt .ace_support.ace_constant { - color:#EB939A; + color: #EB939A } .ace-cobalt .ace_fold { - background-color: #FF9D00; - border-color: #FFFFFF; + background-color: #FF9D00; + border-color: #FFFFFF } .ace-cobalt .ace_support.ace_function { - color:#FFB054; + color: #FFB054 } .ace-cobalt .ace_storage { - color:#FFEE80; + color: #FFEE80 } .ace-cobalt .ace_string.ace_regexp { - color:#80FFC2; + color: #80FFC2 } .ace-cobalt .ace_comment { - font-style:italic; -color:#0088FF; + font-style: italic; + color: #0088FF } .ace-cobalt .ace_variable { - color:#CCCCCC; + color: #CCCCCC } .ace-cobalt .ace_variable.ace_language { - color:#FF80E1; + color: #FF80E1 } .ace-cobalt .ace_meta.ace_tag { - color:#9EFFFF; + color: #9EFFFF } .ace-cobalt .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-cobalt .ace_markup.ace_heading { - color:#C8E4FD; -background-color:#001221; + color: #C8E4FD; + background-color: #001221 } .ace-cobalt .ace_markup.ace_list { - background-color:#130D26; + background-color: #130D26 } + .ace-cobalt .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/cobalt.js b/lib/ace/theme/cobalt.js index de0bfff7..0964e9a6 100644 --- a/lib/ace/theme/cobalt.js +++ b/lib/ace/theme/cobalt.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-cobalt"; exports.cssText = require('ace/requirejs/text!./cobalt.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/crimson_editor.css b/lib/ace/theme/crimson_editor.css index ab8300de..8252ff5b 100644 --- a/lib/ace/theme/crimson_editor.css +++ b/lib/ace/theme/crimson_editor.css @@ -1,11 +1,3 @@ -.ace-crimson-editor .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-crimson-editor .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-crimson-editor .ace_gutter { background: #ebebeb; color: #333; @@ -17,7 +9,7 @@ text-align: right; } -.ace-crimson-editor .ace_print_margin { +.ace-crimson-editor .ace_print-margin { width: 1px; background: #e8e8e8; } @@ -112,7 +104,7 @@ color: rgb(0, 64, 128); } -.ace-crimson-editor .ace_line .ace_xml_pe { +.ace-crimson-editor .ace_line .ace_xml-pe { color: rgb(104, 104, 91); } @@ -133,11 +125,11 @@ border: 1px solid rgb(192, 192, 192); } -.ace-crimson-editor .ace_marker-layer .ace_active_line { +.ace-crimson-editor .ace_marker-layer .ace_active-line { background: rgb(232, 242, 254); } -.ace-crimson-editor .ace_gutter_active_line { +.ace-crimson-editor .ace_gutter-active-line { background-color : #dcdcdc; } @@ -145,7 +137,7 @@ color:rgb(28, 2, 255); } -.ace-crimson-editor .ace_marker-layer .ace_selected_word { +.ace-crimson-editor .ace_marker-layer .ace_selected-word { background: rgb(250, 250, 255); border: 1px solid rgb(200, 200, 250); } diff --git a/lib/ace/theme/dawn.css b/lib/ace/theme/dawn.css index d26edebf..fcfd5e89 100644 --- a/lib/ace/theme/dawn.css +++ b/lib/ace/theme/dawn.css @@ -1,153 +1,137 @@ - -.ace-dawn .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-dawn .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-dawn .ace_gutter { background: #ebebeb; - color: #333; + color: #333 } -.ace-dawn .ace_print_margin { +.ace-dawn .ace_print-margin { width: 1px; - background: #e8e8e8; + background: #e8e8e8 } .ace-dawn .ace_scroller { - background-color: #F9F9F9; + background-color: #F9F9F9 } .ace-dawn .ace_text-layer { - color: #080808; + color: #080808 } .ace-dawn .ace_cursor { - border-left: 2px solid #000000; + border-left: 2px solid #000000 } .ace-dawn .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #000000; + border-bottom: 1px solid #000000 } .ace-dawn .ace_marker-layer .ace_selection { - background: rgba(39, 95, 255, 0.30); + background: rgba(39, 95, 255, 0.30) } -.ace-dawn.multiselect .ace_selection.start { +.ace-dawn.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #F9F9F9; - border-radius: 2px; + border-radius: 2px } .ace-dawn .ace_marker-layer .ace_step { - background: rgb(255, 255, 0); + background: rgb(255, 255, 0) } .ace-dawn .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(75, 75, 126, 0.50); + border: 1px solid rgba(75, 75, 126, 0.50) } -.ace-dawn .ace_marker-layer .ace_active_line { - background: rgba(36, 99, 180, 0.12); +.ace-dawn .ace_marker-layer .ace_active-line { + background: rgba(36, 99, 180, 0.12) } -.ace-dawn .ace_gutter_active_line { - background-color : #dcdcdc; +.ace-dawn .ace_gutter-active-line { + background-color : #dcdcdc } -.ace-dawn .ace_marker-layer .ace_selected_word { - border: 1px solid rgba(39, 95, 255, 0.30); +.ace-dawn .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(39, 95, 255, 0.30) } .ace-dawn .ace_invisible { - color: rgba(75, 75, 126, 0.50); + color: rgba(75, 75, 126, 0.50) } -.ace-dawn .ace_keyword, .ace-dawn .ace_meta { - color:#794938; +.ace-dawn .ace_keyword, +.ace-dawn .ace_meta { + color: #794938 } -.ace-dawn .ace_constant, .ace-dawn .ace_constant.ace_other { - color:#811F24; -} - -.ace-dawn .ace_constant.ace_character, { - color:#811F24; -} - -.ace-dawn .ace_constant.ace_character.ace_escape, { - color:#811F24; +.ace-dawn .ace_constant, +.ace-dawn .ace_constant.ace_character, +.ace-dawn .ace_constant.ace_character.ace_escape, +.ace-dawn .ace_constant.ace_other { + color: #811F24 } .ace-dawn .ace_invalid.ace_illegal { - text-decoration:underline; -font-style:italic; -color:#F8F8F8; -background-color:#B52A1D; + text-decoration: underline; + font-style: italic; + color: #F8F8F8; + background-color: #B52A1D } .ace-dawn .ace_invalid.ace_deprecated { - text-decoration:underline; -font-style:italic; -color:#B52A1D; + text-decoration: underline; + font-style: italic; + color: #B52A1D } .ace-dawn .ace_support { - color:#691C97; + color: #691C97 } .ace-dawn .ace_support.ace_constant { - color:#B4371F; + color: #B4371F } .ace-dawn .ace_fold { - background-color: #794938; - border-color: #080808; + background-color: #794938; + border-color: #080808 } +.ace-dawn .ace_markup.ace_list, .ace-dawn .ace_support.ace_function { - color:#693A17; + color: #693A17 } .ace-dawn .ace_storage { - font-style:italic; -color:#A71D5D; + font-style: italic; + color: #A71D5D } .ace-dawn .ace_string { - color:#0B6125; + color: #0B6125 } .ace-dawn .ace_string.ace_regexp { - color:#CF5628; + color: #CF5628 } .ace-dawn .ace_comment { - font-style:italic; -color:#5A525F; + font-style: italic; + color: #5A525F } .ace-dawn .ace_variable { - color:#234A97; + color: #234A97 } .ace-dawn .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-dawn .ace_markup.ace_heading { - color:#19356D; -} - -.ace-dawn .ace_markup.ace_list { - color:#693A17; + color: #19356D } .ace-dawn .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/dawn.js b/lib/ace/theme/dawn.js index 4e85d1e9..88b5ae38 100644 --- a/lib/ace/theme/dawn.js +++ b/lib/ace/theme/dawn.js @@ -34,6 +34,6 @@ exports.isDark = false; exports.cssClass = "ace-dawn"; exports.cssText = require('ace/requirejs/text!./dawn.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/dreamweaver.css b/lib/ace/theme/dreamweaver.css index ab845390..5744e4ec 100644 --- a/lib/ace/theme/dreamweaver.css +++ b/lib/ace/theme/dreamweaver.css @@ -1,17 +1,9 @@ -.ace-dreamweaver .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-dreamweaver .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-dreamweaver .ace_gutter { background: #e8e8e8; color: #333; } -.ace-dreamweaver .ace_print_margin { +.ace-dreamweaver .ace_print-margin { width: 1px; background: #e8e8e8; } @@ -107,7 +99,7 @@ color: #06F } -.ace-dreamweaver .ace_line .ace_xml_pe { +.ace-dreamweaver .ace_line .ace_xml-pe { color: rgb(104, 104, 91); } @@ -115,9 +107,6 @@ color: #00F; } -.ace-dreamweaver .ace_markup.ace_underline { - text-decoration:underline; -} .ace-dreamweaver .ace_markup.ace_heading { color: rgb(12, 7, 255); @@ -144,11 +133,11 @@ border: 1px solid rgb(192, 192, 192); } -.ace-dreamweaver .ace_marker-layer .ace_active_line { +.ace-dreamweaver .ace_marker-layer .ace_active-line { background: rgba(0, 0, 0, 0.07); } -.ace-dreamweaver .ace_marker-layer .ace_selected_word { +.ace-dreamweaver .ace_marker-layer .ace_selected-word { background: rgb(250, 250, 255); border: 1px solid rgb(200, 200, 250); } diff --git a/lib/ace/theme/eclipse.css b/lib/ace/theme/eclipse.css index 27b9a001..ae184541 100644 --- a/lib/ace/theme/eclipse.css +++ b/lib/ace/theme/eclipse.css @@ -1,18 +1,10 @@ -.ace-eclipse .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-eclipse .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-eclipse .ace_gutter { background: #ebebeb; border-right: 1px solid rgb(159, 159, 159); color: rgb(136, 136, 136); } -.ace-eclipse .ace_print_margin { +.ace-eclipse .ace_print-margin { width: 1px; background: #ebebeb; } @@ -77,7 +69,7 @@ color: rgb(127, 0, 127); } -.ace-eclipse .ace_line .ace_xml_pe { +.ace-eclipse .ace_line .ace_xml-pe { color: rgb(104, 104, 91); } @@ -101,11 +93,11 @@ background: rgb(255, 255, 0); } -.ace-eclipse .ace_marker-layer .ace_active_line { +.ace-eclipse .ace_marker-layer .ace_active-line { background: rgb(232, 242, 254); } -.ace-eclipse .ace_marker-layer .ace_selected_word { +.ace-eclipse .ace_marker-layer .ace_selected-word { border: 1px solid rgb(181, 213, 255); } diff --git a/lib/ace/theme/github.css b/lib/ace/theme/github.css index 6233b427..3dc69b27 100644 --- a/lib/ace/theme/github.css +++ b/lib/ace/theme/github.css @@ -1,18 +1,5 @@ /* CSS style content from github's default pygments highlighter template. Cursor and selection styles from textmate.css. */ -.ace-github .ace_editor { - color: #333; - background-color: #F8F8F8; - border: 1px solid #CCC; - font: 13px 'Bitstream Vera Sans Mono', Courier, monospace !important; - line-height: 19px !important; - overflow: auto; - padding: 6px 10px; - border-radius: 3px; - position: relative; - margin-bottom: 15px; -} - .ace-github .ace_gutter { background: #e8e8e8; color: #AAA; @@ -68,7 +55,7 @@ font-weight: normal; } -.ace-github .ace_variable.ace_instancce { +.ace-github .ace_variable.ace_instance { color: teal; } @@ -88,21 +75,18 @@ border-bottom: 1px solid black; } -.ace-github .ace_marker-layer .ace_active_line { +.ace-github .ace_marker-layer .ace_active-line { background: rgb(255, 255, 204); } + .ace-github .ace_marker-layer .ace_selection { background: rgb(181, 213, 255); } -.ace-github.multiselect .ace_selection.start { + +.ace-github.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px white; border-radius: 2px; } -/* bold keywords cause cursor issues for some fonts */ -/* this disables bold style for editor and keeps for static highlighter */ -.ace-github.ace_editor .ace_line > span { - font-weight: normal !important; -} .ace-github .ace_marker-layer .ace_step { background: rgb(252, 255, 0); @@ -117,17 +101,17 @@ border: 1px solid rgb(192, 192, 192); } -.ace-github .ace_gutter_active_line { +.ace-github .ace_gutter-active-line { background-color : rgba(0, 0, 0, 0.07); } -.ace-github .ace_marker-layer .ace_selected_word { +.ace-github .ace_marker-layer .ace_selected-word { background: rgb(250, 250, 255); border: 1px solid rgb(200, 200, 250); } -.ace-github .ace_print_margin { +.ace-github .ace_print-margin { width: 1px; background: #e8e8e8; } diff --git a/lib/ace/theme/idle_fingers.css b/lib/ace/theme/idle_fingers.css index 00e8a81e..1b735dff 100644 --- a/lib/ace/theme/idle_fingers.css +++ b/lib/ace/theme/idle_fingers.css @@ -1,141 +1,125 @@ - -.ace-idle-fingers .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-idle-fingers .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-idle-fingers .ace_gutter { background: #3b3b3b; - color: #fff; + color: #fff } -.ace-idle-fingers .ace_print_margin { +.ace-idle-fingers .ace_print-margin { width: 1px; - background: #3b3b3b; + background: #3b3b3b } .ace-idle-fingers .ace_scroller { - background-color: #323232; + background-color: #323232 } .ace-idle-fingers .ace_text-layer { - color: #FFFFFF; + color: #FFFFFF } .ace-idle-fingers .ace_cursor { - border-left: 2px solid #91FF00; + border-left: 2px solid #91FF00 } .ace-idle-fingers .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #91FF00; + border-bottom: 1px solid #91FF00 } .ace-idle-fingers .ace_marker-layer .ace_selection { - background: rgba(90, 100, 126, 0.88); + background: rgba(90, 100, 126, 0.88) } -.ace-idle-fingers.multiselect .ace_selection.start { +.ace-idle-fingers.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #323232; - border-radius: 2px; + border-radius: 2px } .ace-idle-fingers .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-idle-fingers .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #404040; + border: 1px solid #404040 } -.ace-idle-fingers .ace_marker-layer .ace_active_line { - background: #353637; +.ace-idle-fingers .ace_marker-layer .ace_active-line { + background: #353637 } -.ace-idle-fingers .ace_gutter_active_line { - background-color: #353637; +.ace-idle-fingers .ace_gutter-active-line { + background-color: #353637 } -.ace-idle-fingers .ace_marker-layer .ace_selected_word { - border: 1px solid rgba(90, 100, 126, 0.88); +.ace-idle-fingers .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(90, 100, 126, 0.88) } .ace-idle-fingers .ace_invisible { - color: #404040; + color: #404040 } -.ace-idle-fingers .ace_keyword, .ace-idle-fingers .ace_meta { - color:#CC7833; +.ace-idle-fingers .ace_keyword, +.ace-idle-fingers .ace_meta { + color: #CC7833 } -.ace-idle-fingers .ace_constant, .ace-idle-fingers .ace_constant.ace_other { - color:#6C99BB; -} - -.ace-idle-fingers .ace_constant.ace_character, { - color:#6C99BB; -} - -.ace-idle-fingers .ace_constant.ace_character.ace_escape, { - color:#6C99BB; +.ace-idle-fingers .ace_constant, +.ace-idle-fingers .ace_constant.ace_character, +.ace-idle-fingers .ace_constant.ace_character.ace_escape, +.ace-idle-fingers .ace_constant.ace_other, +.ace-idle-fingers .ace_support.ace_constant { + color: #6C99BB } .ace-idle-fingers .ace_invalid { - color:#FFFFFF; -background-color:#FF0000; -} - -.ace-idle-fingers .ace_support.ace_constant { - color:#6C99BB; + color: #FFFFFF; + background-color: #FF0000 } .ace-idle-fingers .ace_fold { - background-color: #CC7833; - border-color: #FFFFFF; + background-color: #CC7833; + border-color: #FFFFFF } .ace-idle-fingers .ace_support.ace_function { - color:#B83426; + color: #B83426 } .ace-idle-fingers .ace_variable.ace_parameter { - font-style:italic; + font-style: italic } .ace-idle-fingers .ace_string { - color:#A5C261; + color: #A5C261 } .ace-idle-fingers .ace_string.ace_regexp { - color:#CCCC33; + color: #CCCC33 } .ace-idle-fingers .ace_comment { - font-style:italic; -color:#BC9458; + font-style: italic; + color: #BC9458 } .ace-idle-fingers .ace_meta.ace_tag { - color:#FFE5BB; + color: #FFE5BB } .ace-idle-fingers .ace_entity.ace_name { - color:#FFC66D; + color: #FFC66D } .ace-idle-fingers .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-idle-fingers .ace_collab.ace_user1 { - color:#323232; - background-color:#FFF980; + color: #323232; + background-color: #FFF980 } .ace-idle-fingers .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/idle_fingers.js b/lib/ace/theme/idle_fingers.js index 251d6e63..fcb3be31 100644 --- a/lib/ace/theme/idle_fingers.js +++ b/lib/ace/theme/idle_fingers.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-idle-fingers"; exports.cssText = require('ace/requirejs/text!./idle_fingers.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/kr_theme.css b/lib/ace/theme/kr_theme.css index ede07375..fbaaf41b 100644 --- a/lib/ace/theme/kr_theme.css +++ b/lib/ace/theme/kr_theme.css @@ -1,144 +1,131 @@ - -.ace-kr-theme .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-kr-theme .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-kr-theme .ace_gutter { background: #1c1917; - color: #FCFFE0; + color: #FCFFE0 } -.ace-kr-theme .ace_print_margin { +.ace-kr-theme .ace_print-margin { width: 1px; - background: #1c1917; + background: #1c1917 } .ace-kr-theme .ace_scroller { - background-color: #0B0A09; + background-color: #0B0A09 } .ace-kr-theme .ace_text-layer { - color: #FCFFE0; + color: #FCFFE0 } .ace-kr-theme .ace_cursor { - border-left: 2px solid #FF9900; + border-left: 2px solid #FF9900 } .ace-kr-theme .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #FF9900; + border-bottom: 1px solid #FF9900 } .ace-kr-theme .ace_marker-layer .ace_selection { - background: rgba(170, 0, 255, 0.45); + background: rgba(170, 0, 255, 0.45) } -.ace-kr-theme.multiselect .ace_selection.start { +.ace-kr-theme.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #0B0A09; - border-radius: 2px; + border-radius: 2px } .ace-kr-theme .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-kr-theme .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(255, 177, 111, 0.32); + border: 1px solid rgba(255, 177, 111, 0.32) } -.ace-kr-theme .ace_marker-layer .ace_active_line { - background: #38403D; +.ace-kr-theme .ace_marker-layer .ace_active-line { + background: #38403D } -.ace-kr-theme .ace_gutter_active_line { - background-color : #38403D; +.ace-kr-theme .ace_gutter-active-line { + background-color : #38403D } -.ace-kr-theme .ace_marker-layer .ace_selected_word { - border: 1px solid rgba(170, 0, 255, 0.45); +.ace-kr-theme .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(170, 0, 255, 0.45) } .ace-kr-theme .ace_invisible { - color: rgba(255, 177, 111, 0.32); + color: rgba(255, 177, 111, 0.32) } -.ace-kr-theme .ace_keyword, .ace-kr-theme .ace_meta { - color:#949C8B; +.ace-kr-theme .ace_keyword, +.ace-kr-theme .ace_meta { + color: #949C8B } -.ace-kr-theme .ace_constant, .ace-kr-theme .ace_constant.ace_other { - color:rgba(210, 117, 24, 0.76); -} - -.ace-kr-theme .ace_constant.ace_character, { - color:rgba(210, 117, 24, 0.76); -} - -.ace-kr-theme .ace_constant.ace_character.ace_escape, { - color:rgba(210, 117, 24, 0.76); +.ace-kr-theme .ace_constant, +.ace-kr-theme .ace_constant.ace_character, +.ace-kr-theme .ace_constant.ace_character.ace_escape, +.ace-kr-theme .ace_constant.ace_other { + color: rgba(210, 117, 24, 0.76) } .ace-kr-theme .ace_invalid { - color:#F8F8F8; -background-color:#A41300; + color: #F8F8F8; + background-color: #A41300 } .ace-kr-theme .ace_support { - color:#9FC28A; + color: #9FC28A } .ace-kr-theme .ace_support.ace_constant { - color:#C27E66; + color: #C27E66 } .ace-kr-theme .ace_fold { - background-color: #949C8B; - border-color: #FCFFE0; + background-color: #949C8B; + border-color: #FCFFE0 } .ace-kr-theme .ace_support.ace_function { - color:#85873A; + color: #85873A } .ace-kr-theme .ace_storage { - color:#FFEE80; + color: #FFEE80 } .ace-kr-theme .ace_string.ace_regexp { - color:rgba(125, 255, 192, 0.65); + color: rgba(125, 255, 192, 0.65) } .ace-kr-theme .ace_comment { - font-style:italic; -color:#706D5B; + font-style: italic; + color: #706D5B } .ace-kr-theme .ace_variable { - color:#D1A796; + color: #D1A796 } .ace-kr-theme .ace_variable.ace_language { - color:#FF80E1; + color: #FF80E1 } .ace-kr-theme .ace_meta.ace_tag { - color:#BABD9C; + color: #BABD9C } .ace-kr-theme .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-kr-theme .ace_markup.ace_list { - background-color:#0F0040; + background-color: #0F0040 } .ace-kr-theme .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/kr_theme.js b/lib/ace/theme/kr_theme.js index da7dd1d3..81faf395 100644 --- a/lib/ace/theme/kr_theme.js +++ b/lib/ace/theme/kr_theme.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-kr-theme"; exports.cssText = require('ace/requirejs/text!./kr_theme.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/merbivore.css b/lib/ace/theme/merbivore.css index 19a74801..a842b716 100644 --- a/lib/ace/theme/merbivore.css +++ b/lib/ace/theme/merbivore.css @@ -1,148 +1,122 @@ - -.ace-merbivore .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-merbivore .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-merbivore .ace_gutter { background: #202020; - color: #E6E1DC; + color: #E6E1DC } -.ace-merbivore .ace_print_margin { +.ace-merbivore .ace_print-margin { width: 1px; - background: #555651; + background: #555651 } .ace-merbivore .ace_scroller { - background-color: #161616; + background-color: #161616 } .ace-merbivore .ace_text-layer { - color: #E6E1DC; + color: #E6E1DC } .ace-merbivore .ace_cursor { - border-left: 2px solid #FFFFFF; + border-left: 2px solid #FFFFFF } .ace-merbivore .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #FFFFFF; + border-bottom: 1px solid #FFFFFF } .ace-merbivore .ace_marker-layer .ace_selection { - background: #454545; + background: #454545 } -.ace-merbivore.multiselect .ace_selection.start { +.ace-merbivore.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #161616; - border-radius: 2px; + border-radius: 2px } .ace-merbivore .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-merbivore .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #404040; + border: 1px solid #404040 } -.ace-merbivore .ace_marker-layer .ace_active_line { - background: #333435; +.ace-merbivore .ace_marker-layer .ace_active-line { + background: #333435 } -.ace-merbivore .ace_gutter_active_line { - background-color: #333435; +.ace-merbivore .ace_gutter-active-line { + background-color: #333435 } -.ace-merbivore .ace_marker-layer .ace_selected_word { - border: 1px solid #454545; +.ace-merbivore .ace_marker-layer .ace_selected-word { + border: 1px solid #454545 } .ace-merbivore .ace_invisible { - color: #404040; + color: #404040 } -.ace-merbivore .ace_keyword, .ace-merbivore .ace_meta { - color:#FC6F09; +.ace-merbivore .ace_entity.ace_name.ace_tag, +.ace-merbivore .ace_keyword, +.ace-merbivore .ace_meta, +.ace-merbivore .ace_meta.ace_tag, +.ace-merbivore .ace_storage, +.ace-merbivore .ace_support.ace_function { + color: #FC6F09 } -.ace-merbivore .ace_constant, .ace-merbivore .ace_constant.ace_other { - color:#1EDAFB; +.ace-merbivore .ace_constant, +.ace-merbivore .ace_constant.ace_character, +.ace-merbivore .ace_constant.ace_character.ace_escape, +.ace-merbivore .ace_constant.ace_other, +.ace-merbivore .ace_support.ace_type { + color: #1EDAFB } -.ace-merbivore .ace_constant.ace_character, { - color:#1EDAFB; -} - -.ace-merbivore .ace_constant.ace_character.ace_escape, { - color:#1EDAFB; +.ace-merbivore .ace_constant.ace_character.ace_escape { + color: #519F50 } .ace-merbivore .ace_constant.ace_language { - color:#FDC251; + color: #FDC251 } -.ace-merbivore .ace_constant.ace_library { - color:#8DFF0A; +.ace-merbivore .ace_constant.ace_library, +.ace-merbivore .ace_string, +.ace-merbivore .ace_support.ace_constant { + color: #8DFF0A } .ace-merbivore .ace_constant.ace_numeric { - color:#58C554; + color: #58C554 } .ace-merbivore .ace_invalid { - color:#FFFFFF; -background-color:#990000; -} - -.ace-merbivore .ace_support.ace_constant { - color:#8DFF0A; + color: #FFFFFF; + background-color: #990000 } .ace-merbivore .ace_fold { - background-color: #FC6F09; - border-color: #E6E1DC; -} - -.ace-merbivore .ace_support.ace_function { - color:#FC6F09; -} - -.ace-merbivore .ace_support.ace_type { - color:#1EDAFB; -} - -.ace-merbivore .ace_storage { - color:#FC6F09; -} - -.ace-merbivore .ace_string { - color:#8DFF0A; + background-color: #FC6F09; + border-color: #E6E1DC } .ace-merbivore .ace_comment { - font-style:italic; -color:#AD2EA4; -} - -.ace-merbivore .ace_meta.ace_tag { - color:#FC6F09; + font-style: italic; + color: #AD2EA4 } .ace-merbivore .ace_entity.ace_other.ace_attribute-name { - color:#FFFF89; + color: #FFFF89 } .ace-merbivore .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-merbivore .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/merbivore.js b/lib/ace/theme/merbivore.js index 254fdad0..bba49410 100644 --- a/lib/ace/theme/merbivore.js +++ b/lib/ace/theme/merbivore.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-merbivore"; exports.cssText = require('ace/requirejs/text!./merbivore.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/merbivore_soft.css b/lib/ace/theme/merbivore_soft.css index 591bd3a9..7e276a89 100644 --- a/lib/ace/theme/merbivore_soft.css +++ b/lib/ace/theme/merbivore_soft.css @@ -1,154 +1,123 @@ - -.ace-merbivore-soft .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-merbivore-soft .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-merbivore-soft .ace_gutter { background: #262424; - color: #E6E1DC; + color: #E6E1DC } -.ace-merbivore-soft .ace_print_margin { +.ace-merbivore-soft .ace_print-margin { width: 1px; - background: #262424; + background: #262424 } .ace-merbivore-soft .ace_scroller { - background-color: #1C1C1C; + background-color: #1C1C1C } .ace-merbivore-soft .ace_text-layer { - color: #E6E1DC; + color: #E6E1DC } .ace-merbivore-soft .ace_cursor { - border-left: 2px solid #FFFFFF; + border-left: 2px solid #FFFFFF } .ace-merbivore-soft .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #FFFFFF; + border-bottom: 1px solid #FFFFFF } .ace-merbivore-soft .ace_marker-layer .ace_selection { - background: #494949; + background: #494949 } -.ace-merbivore-soft.multiselect .ace_selection.start { +.ace-merbivore-soft.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #1C1C1C; - border-radius: 2px; + border-radius: 2px } .ace-merbivore-soft .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-merbivore-soft .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #404040; + border: 1px solid #404040 } -.ace-merbivore-soft .ace_marker-layer .ace_active_line { - background: #333435; +.ace-merbivore-soft .ace_marker-layer .ace_active-line { + background: #333435 } -.ace-merbivore-soft .ace_gutter_active_line { - background-color: #333435; +.ace-merbivore-soft .ace_gutter-active-line { + background-color: #333435 } -.ace-merbivore-soft .ace_marker-layer .ace_selected_word { - border: 1px solid #494949; +.ace-merbivore-soft .ace_marker-layer .ace_selected-word { + border: 1px solid #494949 } .ace-merbivore-soft .ace_invisible { - color: #404040; + color: #404040 } -.ace-merbivore-soft .ace_keyword, .ace-merbivore-soft .ace_meta { - color:#FC803A; +.ace-merbivore-soft .ace_entity.ace_name.ace_tag, +.ace-merbivore-soft .ace_keyword, +.ace-merbivore-soft .ace_meta, +.ace-merbivore-soft .ace_meta.ace_tag, +.ace-merbivore-soft .ace_storage { + color: #FC803A } -.ace-merbivore-soft .ace_constant, .ace-merbivore-soft .ace_constant.ace_other { - color:#68C1D8; +.ace-merbivore-soft .ace_constant, +.ace-merbivore-soft .ace_constant.ace_character, +.ace-merbivore-soft .ace_constant.ace_character.ace_escape, +.ace-merbivore-soft .ace_constant.ace_other, +.ace-merbivore-soft .ace_support.ace_type { + color: #68C1D8 } -.ace-merbivore-soft .ace_constant.ace_character, { - color:#68C1D8; -} - -.ace-merbivore-soft .ace_constant.ace_character.ace_escape, { - color:#68C1D8; +.ace-merbivore-soft .ace_constant.ace_character.ace_escape { + color: #B3E5B4 } .ace-merbivore-soft .ace_constant.ace_language { - color:#E1C582; + color: #E1C582 } -.ace-merbivore-soft .ace_constant.ace_library { - color:#8EC65F; +.ace-merbivore-soft .ace_constant.ace_library, +.ace-merbivore-soft .ace_string, +.ace-merbivore-soft .ace_support.ace_constant { + color: #8EC65F } .ace-merbivore-soft .ace_constant.ace_numeric { - color:#7FC578; -} - -.ace-merbivore-soft .ace_invalid { - color:#FFFFFF; -background-color:#FE3838; + color: #7FC578 } +.ace-merbivore-soft .ace_invalid, .ace-merbivore-soft .ace_invalid.ace_deprecated { - color:#FFFFFF; -background-color:#FE3838; -} - -.ace-merbivore-soft .ace_support.ace_constant { - color:#8EC65F; + color: #FFFFFF; + background-color: #FE3838 } .ace-merbivore-soft .ace_fold { - background-color: #FC803A; - border-color: #E6E1DC; -} - -.ace-merbivore-soft .ace_support.ace_type { - color:#68C1D8; -} - -.ace-merbivore-soft .ace_storage { - color:#FC803A; -} - -.ace-merbivore-soft .ace_string { - color:#8EC65F; -} - -.ace-merbivore-soft .ace_comment { - font-style:italic; -color:#AC4BB8; + background-color: #FC803A; + border-color: #E6E1DC } +.ace-merbivore-soft .ace_comment, .ace-merbivore-soft .ace_meta { - font-style:italic; -color:#AC4BB8; -} - -.ace-merbivore-soft .ace_meta.ace_tag { - color:#FC803A; + font-style: italic; + color: #AC4BB8 } .ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name { - color:#EAF1A3; + color: #EAF1A3 } .ace-merbivore-soft .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-merbivore-soft .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/merbivore_soft.js b/lib/ace/theme/merbivore_soft.js index d5e7dbbd..5848e289 100644 --- a/lib/ace/theme/merbivore_soft.js +++ b/lib/ace/theme/merbivore_soft.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-merbivore-soft"; exports.cssText = require('ace/requirejs/text!./merbivore_soft.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/mono_industrial.css b/lib/ace/theme/mono_industrial.css index e8c79c76..0bbc3f98 100644 --- a/lib/ace/theme/mono_industrial.css +++ b/lib/ace/theme/mono_industrial.css @@ -1,160 +1,133 @@ - -.ace-mono-industrial .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-mono-industrial .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-mono-industrial .ace_gutter { background: #1d2521; - color: #C5C9C9; + color: #C5C9C9 } -.ace-mono-industrial .ace_print_margin { +.ace-mono-industrial .ace_print-margin { width: 1px; - background: #555651; + background: #555651 } .ace-mono-industrial .ace_scroller { - background-color: #222C28; + background-color: #222C28 } .ace-mono-industrial .ace_text-layer { - color: #FFFFFF; + color: #FFFFFF } .ace-mono-industrial .ace_cursor { - border-left: 2px solid #FFFFFF; + border-left: 2px solid #FFFFFF } .ace-mono-industrial .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #FFFFFF; + border-bottom: 1px solid #FFFFFF } .ace-mono-industrial .ace_marker-layer .ace_selection { - background: rgba(145, 153, 148, 0.40); + background: rgba(145, 153, 148, 0.40) } -.ace-mono-industrial.multiselect .ace_selection.start { +.ace-mono-industrial.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #222C28; - border-radius: 2px; + border-radius: 2px } .ace-mono-industrial .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-mono-industrial .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(102, 108, 104, 0.50); + border: 1px solid rgba(102, 108, 104, 0.50) } -.ace-mono-industrial .ace_marker-layer .ace_active_line { - background: rgba(12, 13, 12, 0.25); +.ace-mono-industrial .ace_marker-layer .ace_active-line { + background: rgba(12, 13, 12, 0.25) } -.ace-mono-industrial .ace_gutter_active_line { - background-color: rgba(12, 13, 12, 0.25); +.ace-mono-industrial .ace_gutter-active-line { + background-color: rgba(12, 13, 12, 0.25) } -.ace-mono-industrial .ace_marker-layer .ace_selected_word { - border: 1px solid rgba(145, 153, 148, 0.40); +.ace-mono-industrial .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(145, 153, 148, 0.40) } .ace-mono-industrial .ace_invisible { - color: rgba(102, 108, 104, 0.50); + color: rgba(102, 108, 104, 0.50) } -.ace-mono-industrial .ace_keyword, .ace-mono-industrial .ace_meta { - color:#A39E64; +.ace-mono-industrial .ace_keyword, +.ace-mono-industrial .ace_meta { + color: #A39E64 } -.ace-mono-industrial .ace_keyword.ace_operator { - color:#A8B3AB; +.ace-mono-industrial .ace_constant, +.ace-mono-industrial .ace_constant.ace_character, +.ace-mono-industrial .ace_constant.ace_character.ace_escape, +.ace-mono-industrial .ace_constant.ace_numeric, +.ace-mono-industrial .ace_constant.ace_other { + color: #E98800 } -.ace-mono-industrial .ace_constant, .ace-mono-industrial .ace_constant.ace_other { - color:#E98800; -} - -.ace-mono-industrial .ace_constant.ace_character, { - color:#E98800; -} - -.ace-mono-industrial .ace_constant.ace_character.ace_escape, { - color:#E98800; -} - -.ace-mono-industrial .ace_constant.ace_numeric { - color:#E98800; +.ace-mono-industrial .ace_entity.ace_name.ace_function, +.ace-mono-industrial .ace_keyword.ace_operator, +.ace-mono-industrial .ace_variable { + color: #A8B3AB } .ace-mono-industrial .ace_invalid { - color:#FFFFFF; -background-color:rgba(153, 0, 0, 0.68); + color: #FFFFFF; + background-color: rgba(153, 0, 0, 0.68) } .ace-mono-industrial .ace_support.ace_constant { - color:#C87500; + color: #C87500 } .ace-mono-industrial .ace_fold { - background-color: #A8B3AB; - border-color: #FFFFFF; + background-color: #A8B3AB; + border-color: #FFFFFF } .ace-mono-industrial .ace_support.ace_function { - color:#588E60; + color: #588E60 } +.ace-mono-industrial .ace_entity.ace_name, +.ace-mono-industrial .ace_support.ace_class, .ace-mono-industrial .ace_support.ace_type { - color:#5778B6; -} - -.ace-mono-industrial .ace_support.ace_class { - color:#5778B6; + color: #5778B6 } .ace-mono-industrial .ace_storage { - color:#C23B00; -} - -.ace-mono-industrial .ace_variable { - color:#A8B3AB; + color: #C23B00 } +.ace-mono-industrial .ace_variable.ace_language, .ace-mono-industrial .ace_variable.ace_parameter { - color:#648BD2; + color: #648BD2 } .ace-mono-industrial .ace_comment { - color:#666C68; -background-color:#151C19; -} - -.ace-mono-industrial .ace_variable.ace_language { - color:#648BD2; + color: #666C68; + background-color: #151C19 } .ace-mono-industrial .ace_entity.ace_other.ace_attribute-name { - color:#909993; -} - -.ace-mono-industrial .ace_entity.ace_name { - color:#5778B6; -} - -.ace-mono-industrial .ace_entity.ace_name.ace_function { - color:#A8B3AB; + color: #909993 } .ace-mono-industrial .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline +} + +.ace-mono-industrial .ace_entity.ace_name.ace_tag { + color: #A65EFF } .ace-mono-industrial .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y; -} \ No newline at end of file + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y +} diff --git a/lib/ace/theme/mono_industrial.js b/lib/ace/theme/mono_industrial.js index d17f39f2..288cd710 100644 --- a/lib/ace/theme/mono_industrial.js +++ b/lib/ace/theme/mono_industrial.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-mono-industrial"; exports.cssText = require('ace/requirejs/text!./mono_industrial.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/monokai.css b/lib/ace/theme/monokai.css index 19c95ed3..1a34fed4 100644 --- a/lib/ace/theme/monokai.css +++ b/lib/ace/theme/monokai.css @@ -1,164 +1,128 @@ - -.ace-monokai .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-monokai .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-monokai .ace_gutter { background: #2f3129; - color: #f1f1f1; + color: #f1f1f1 } -.ace-monokai .ace_print_margin { +.ace-monokai .ace_print-margin { width: 1px; - background: #555651; + background: #555651 } .ace-monokai .ace_scroller { - background-color: #272822; + background-color: #272822 } .ace-monokai .ace_text-layer { - color: #F8F8F2; + color: #F8F8F2 } .ace-monokai .ace_cursor { - border-left: 2px solid #F8F8F0; + border-left: 2px solid #F8F8F0 } .ace-monokai .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #F8F8F0; + border-bottom: 1px solid #F8F8F0 } .ace-monokai .ace_marker-layer .ace_selection { - background: #49483E; + background: #49483E } -.ace-monokai.multiselect .ace_selection.start { +.ace-monokai.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #272822; - border-radius: 2px; + border-radius: 2px } .ace-monokai .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-monokai .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #49483E; + border: 1px solid #49483E } -.ace-monokai .ace_marker-layer .ace_active_line { - background: #49483E; +.ace-monokai .ace_marker-layer .ace_active-line { + background: #202020 } -.ace-monokai .ace_gutter_active_line { - background-color: #191916; +.ace-monokai .ace_gutter-active-line { + background-color: #272727 } -.ace-monokai .ace_marker-layer .ace_selected_word { - border: 1px solid #49483E; +.ace-monokai .ace_marker-layer .ace_selected-word { + border: 1px solid #49483E } .ace-monokai .ace_invisible { - color: #49483E; + color: #49483E } -.ace-monokai .ace_keyword, .ace-monokai .ace_meta { - color:#F92672; -} - -.ace-monokai .ace_constant.ace_character { - color:#AE81FF; -} - -.ace-monokai .ace_constant.ace_language { - color:#AE81FF; -} - -.ace-monokai .ace_constant.ace_numeric { - color:#AE81FF; +.ace-monokai .ace_entity.ace_name.ace_tag, +.ace-monokai .ace_keyword, +.ace-monokai .ace_meta, +.ace-monokai .ace_storage { + color: #F92672 } +.ace-monokai .ace_constant.ace_character, +.ace-monokai .ace_constant.ace_language, +.ace-monokai .ace_constant.ace_numeric, .ace-monokai .ace_constant.ace_other { - color:#AE81FF; + color: #AE81FF } .ace-monokai .ace_invalid { - color:#F8F8F0; -background-color:#F92672; + color: #F8F8F0; + background-color: #F92672 } .ace-monokai .ace_invalid.ace_deprecated { - color:#F8F8F0; -background-color:#AE81FF; + color: #F8F8F0; + background-color: #AE81FF } -.ace-monokai .ace_support.ace_constant { - color:#66D9EF; +.ace-monokai .ace_support.ace_constant, +.ace-monokai .ace_support.ace_function { + color: #66D9EF } .ace-monokai .ace_fold { - background-color: #A6E22E; - border-color: #F8F8F2; -} - -.ace-monokai .ace_support.ace_function { - color:#66D9EF; + background-color: #A6E22E; + border-color: #F8F8F2 } +.ace-monokai .ace_storage.ace_type, +.ace-monokai .ace_support.ace_class, .ace-monokai .ace_support.ace_type { - font-style:italic; -color:#66D9EF; -} - -.ace-monokai .ace_support.ace_class { - font-style:italic; -color:#66D9EF; -} - -.ace-monokai .ace_storage { - color:#F92672; -} - -.ace-monokai .ace_storage.ace_type, .ace-monokai .ace_support.ace_type { - font-style:italic; -color:#66D9EF; + font-style: italic; + color: #66D9EF } +.ace-monokai .ace_entity.ace_name.ace_function, +.ace-monokai .ace_entity.ace_other.ace_attribute-name, .ace-monokai .ace_variable { - color:#A6E22E; + color: #A6E22E } .ace-monokai .ace_variable.ace_parameter { - font-style:italic; -color:#FD971F; + font-style: italic; + color: #FD971F } .ace-monokai .ace_string { - color:#E6DB74; + color: #E6DB74 } .ace-monokai .ace_comment { - color:#75715E; -} - -.ace-monokai .ace_entity.ace_other.ace_attribute-name { - color:#A6E22E; -} - -.ace-monokai .ace_entity.ace_name.ace_function { - color:#A6E22E; + color: #75715E } .ace-monokai .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-monokai .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ11D6z7Bq1ar/ABCKBG6g04U2AAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ11D6z7Bq1ar/ABCKBG6g04U2AAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/monokai.js b/lib/ace/theme/monokai.js index b41141b0..fe4283c6 100644 --- a/lib/ace/theme/monokai.js +++ b/lib/ace/theme/monokai.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-monokai"; exports.cssText = require('ace/requirejs/text!./monokai.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/pastel_on_dark.css b/lib/ace/theme/pastel_on_dark.css index 104d5168..18f61d85 100644 --- a/lib/ace/theme/pastel_on_dark.css +++ b/lib/ace/theme/pastel_on_dark.css @@ -1,154 +1,141 @@ - -.ace-pastel-on-dark .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-pastel-on-dark .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-pastel-on-dark .ace_gutter { background: #353030; - color: #8F938F; + color: #8F938F } -.ace-pastel-on-dark .ace_print_margin { +.ace-pastel-on-dark .ace_print-margin { width: 1px; - background: #353030; + background: #353030 } .ace-pastel-on-dark .ace_scroller { - background-color: #2C2828; + background-color: #2C2828 } .ace-pastel-on-dark .ace_text-layer { - color: #8F938F; + color: #8F938F } .ace-pastel-on-dark .ace_cursor { - border-left: 2px solid #A7A7A7; + border-left: 2px solid #A7A7A7 } .ace-pastel-on-dark .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #A7A7A7; + border-bottom: 1px solid #A7A7A7 } .ace-pastel-on-dark .ace_marker-layer .ace_selection { - background: rgba(221, 240, 255, 0.20); + background: rgba(221, 240, 255, 0.20) } -.ace-pastel-on-dark.multiselect .ace_selection.start { +.ace-pastel-on-dark.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #2C2828; - border-radius: 2px; + border-radius: 2px } .ace-pastel-on-dark .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-pastel-on-dark .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(255, 255, 255, 0.25); + border: 1px solid rgba(255, 255, 255, 0.25) } -.ace-pastel-on-dark .ace_marker-layer .ace_active_line { - background: rgba(255, 255, 255, 0.031); +.ace-pastel-on-dark .ace_marker-layer .ace_active-line { + background: rgba(255, 255, 255, 0.031) } -.ace-pastel-on-dark .ace_gutter_active_line { - background-color: rgba(255, 255, 255, 0.031); +.ace-pastel-on-dark .ace_gutter-active-line { + background-color: rgba(255, 255, 255, 0.031) } -.ace-pastel-on-dark .ace_marker-layer .ace_selected_word { - border: 1px solid rgba(221, 240, 255, 0.20); +.ace-pastel-on-dark .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(221, 240, 255, 0.20) } .ace-pastel-on-dark .ace_invisible { - color: rgba(255, 255, 255, 0.25); + color: rgba(255, 255, 255, 0.25) } -.ace-pastel-on-dark .ace_keyword, .ace-pastel-on-dark .ace_meta { - color:#757aD8; +.ace-pastel-on-dark .ace_keyword, +.ace-pastel-on-dark .ace_meta { + color: #757aD8 +} + +.ace-pastel-on-dark .ace_constant, +.ace-pastel-on-dark .ace_constant.ace_character, +.ace-pastel-on-dark .ace_constant.ace_character.ace_escape, +.ace-pastel-on-dark .ace_constant.ace_other { + color: #4FB7C5 } .ace-pastel-on-dark .ace_keyword.ace_operator { - color:#797878; + color: #797878 } -.ace-pastel-on-dark .ace_constant, .ace-pastel-on-dark .ace_constant.ace_other { - color:#4FB7C5; -} - -.ace-pastel-on-dark .ace_constant.ace_character, { - color:#4FB7C5; -} - -.ace-pastel-on-dark .ace_constant.ace_character.ace_escape, { - color:#4FB7C5; +.ace-pastel-on-dark .ace_constant.ace_character { + color: #AFA472 } .ace-pastel-on-dark .ace_constant.ace_language { - color:#DE8E30; + color: #DE8E30 } .ace-pastel-on-dark .ace_constant.ace_numeric { - color:#CCCCCC; -} - -.ace-pastel-on-dark .ace_invalid { - color:#F8F8F8; -background-color:rgba(86, 45, 86, 0.75); + color: #CCCCCC } +.ace-pastel-on-dark .ace_invalid, .ace-pastel-on-dark .ace_invalid.ace_illegal { - color:#F8F8F8; -background-color:rgba(86, 45, 86, 0.75); + color: #F8F8F8; + background-color: rgba(86, 45, 86, 0.75) } .ace-pastel-on-dark .ace_invalid.ace_deprecated { - text-decoration:underline; -font-style:italic; -color:#D2A8A1; + text-decoration: underline; + font-style: italic; + color: #D2A8A1 } .ace-pastel-on-dark .ace_fold { - background-color: #757aD8; - border-color: #8F938F; + background-color: #757aD8; + border-color: #8F938F } .ace-pastel-on-dark .ace_support.ace_function { - color:#AEB2F8; + color: #AEB2F8 } .ace-pastel-on-dark .ace_string { - color:#66A968; + color: #66A968 } .ace-pastel-on-dark .ace_string.ace_regexp { - color:#E9C062; + color: #E9C062 } .ace-pastel-on-dark .ace_comment { - color:#A6C6FF; + color: #A6C6FF } .ace-pastel-on-dark .ace_variable { - color:#BEBF55; + color: #BEBF55 } .ace-pastel-on-dark .ace_variable.ace_language { - color:#C1C144; + color: #C1C144 } -.ace-pastel-on-dark .ace_xml_pe { - color:#494949; +.ace-pastel-on-dark .ace_xml-pe { + color: #494949 } .ace-pastel-on-dark .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-pastel-on-dark .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0dD4z9DR0fEfAA+vBBPqhbn1AAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0dD4z9DR0fEfAA+vBBPqhbn1AAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/pastel_on_dark.js b/lib/ace/theme/pastel_on_dark.js index 28672150..93776772 100644 --- a/lib/ace/theme/pastel_on_dark.js +++ b/lib/ace/theme/pastel_on_dark.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-pastel-on-dark"; exports.cssText = require('ace/requirejs/text!./pastel_on_dark.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/solarized_dark.css b/lib/ace/theme/solarized_dark.css index d67fa827..26b206b0 100644 --- a/lib/ace/theme/solarized_dark.css +++ b/lib/ace/theme/solarized_dark.css @@ -1,147 +1,113 @@ - -.ace-solarized-dark .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-solarized-dark .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-solarized-dark .ace_gutter { background: #01313f; - color: #d0edf7; + color: #d0edf7 } -.ace-solarized-dark .ace_print_margin { +.ace-solarized-dark .ace_print-margin { width: 1px; - background: #33555E; + background: #33555E } .ace-solarized-dark .ace_scroller { - background-color: #002B36; + background-color: #002B36 } +.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name, +.ace-solarized-dark .ace_storage, .ace-solarized-dark .ace_text-layer { - color: #93A1A1; + color: #93A1A1 } .ace-solarized-dark .ace_cursor { - border-left: 2px solid #D30102; + border-left: 2px solid #D30102 } .ace-solarized-dark .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #D30102; + border-bottom: 1px solid #D30102 } +.ace-solarized-dark .ace_marker-layer .ace_active-line, .ace-solarized-dark .ace_marker-layer .ace_selection { - background: #073642; + background: rgba(255, 255, 255, 0.1) } -.ace-solarized-dark.multiselect .ace_selection.start { +.ace-solarized-dark.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #002B36; - border-radius: 2px; + border-radius: 2px } .ace-solarized-dark .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-solarized-dark .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(147, 161, 161, 0.50); + border: 1px solid rgba(147, 161, 161, 0.50) } -.ace-solarized-dark .ace_marker-layer .ace_active_line { - background: #073642; +.ace-solarized-dark .ace_gutter-active-line { + background-color: #0d3440 } -.ace-solarized-dark .ace_gutter_active_line { - background-color: #0d3440; -} - -.ace-solarized-dark .ace_marker-layer .ace_selected_word { - border: 1px solid #073642; +.ace-solarized-dark .ace_marker-layer .ace_selected-word { + border: 1px solid #073642 } .ace-solarized-dark .ace_invisible { - color: rgba(147, 161, 161, 0.50); + color: rgba(147, 161, 161, 0.50) } -.ace-solarized-dark .ace_keyword, .ace-solarized-dark .ace_meta { - color:#859900; +.ace-solarized-dark .ace_keyword, +.ace-solarized-dark .ace_meta, +.ace-solarized-dark .ace_support.ace_class, +.ace-solarized-dark .ace_support.ace_type { + color: #859900 } -.ace-solarized-dark .ace_constant.ace_character { - color:#CB4B16; +.ace-solarized-dark .ace_constant.ace_character, +.ace-solarized-dark .ace_constant.ace_other { + color: #CB4B16 } .ace-solarized-dark .ace_constant.ace_language { - color:#B58900; + color: #B58900 } .ace-solarized-dark .ace_constant.ace_numeric { - color:#D33682; -} - -.ace-solarized-dark .ace_constant.ace_other { - color:#CB4B16; + color: #D33682 } .ace-solarized-dark .ace_fold { - background-color: #268BD2; - border-color: #93A1A1; + background-color: #268BD2; + border-color: #93A1A1 } -.ace-solarized-dark .ace_support.ace_function { - color:#268BD2; -} - -.ace-solarized-dark .ace_support.ace_type { - color:#859900; -} - -.ace-solarized-dark .ace_support.ace_class { - color:#859900; -} - -.ace-solarized-dark .ace_storage { - color:#93A1A1; -} - -.ace-solarized-dark .ace_variable { - color:#268BD2; +.ace-solarized-dark .ace_entity.ace_name.ace_function, +.ace-solarized-dark .ace_entity.ace_name.ace_tag, +.ace-solarized-dark .ace_support.ace_function, +.ace-solarized-dark .ace_variable, +.ace-solarized-dark .ace_variable.ace_language { + color: #268BD2 } .ace-solarized-dark .ace_string { - color:#2AA198; + color: #2AA198 } .ace-solarized-dark .ace_string.ace_regexp { - color:#D30102; + color: #D30102 } .ace-solarized-dark .ace_comment { - font-style:italic; -color:#657B83; -} - -.ace-solarized-dark .ace_variable.ace_language { - color:#268BD2; -} - -.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name { - color:#93A1A1; -} - -.ace-solarized-dark .ace_entity.ace_name.ace_function { - color:#268BD2; + font-style: italic; + color: #657B83 } .ace-solarized-dark .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-solarized-dark .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/solarized_dark.js b/lib/ace/theme/solarized_dark.js index 2b09b337..f2ef096b 100644 --- a/lib/ace/theme/solarized_dark.js +++ b/lib/ace/theme/solarized_dark.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-solarized-dark"; exports.cssText = require('ace/requirejs/text!./solarized_dark.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/solarized_light.css b/lib/ace/theme/solarized_light.css index 5f8cea3b..e00b9b39 100644 --- a/lib/ace/theme/solarized_light.css +++ b/lib/ace/theme/solarized_light.css @@ -1,146 +1,118 @@ - -.ace-solarized-light .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-solarized-light .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-solarized-light .ace_gutter { background: #fbf1d3; - color: #333; + color: #333 } -.ace-solarized-light .ace_print_margin { +.ace-solarized-light .ace_print-margin { width: 1px; - background: #e8e8e8; + background: #e8e8e8 } .ace-solarized-light .ace_scroller { - background-color: #FDF6E3; + background-color: #FDF6E3 } .ace-solarized-light .ace_text-layer { - color: #586E75; + color: #586E75 } .ace-solarized-light .ace_cursor { - border-left: 2px solid #000000; + border-left: 2px solid #000000 } .ace-solarized-light .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #000000; + border-bottom: 1px solid #000000 } .ace-solarized-light .ace_marker-layer .ace_selection { - background: #073642; + background: #073642 } -.ace-solarized-light.multiselect .ace_selection.start { +.ace-solarized-light.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #FDF6E3; - border-radius: 2px; + border-radius: 2px } .ace-solarized-light .ace_marker-layer .ace_step { - background: rgb(255, 255, 0); + background: rgb(255, 255, 0) } .ace-solarized-light .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(147, 161, 161, 0.50); + border: 1px solid rgba(147, 161, 161, 0.50) } -.ace-solarized-light .ace_marker-layer .ace_active_line { - background: #EEE8D5; +.ace-solarized-light .ace_marker-layer .ace_active-line { + background: #EEE8D5 } -.ace-solarized-light .ace_gutter_active_line { - background-color : #dcdcdc; +.ace-solarized-light .ace_gutter-active-line { + background-color : #dcdcdc } -.ace-solarized-light .ace_marker-layer .ace_selected_word { - border: 1px solid #073642; +.ace-solarized-light .ace_marker-layer .ace_selected-word { + border: 1px solid #073642 } .ace-solarized-light .ace_invisible { - color: rgba(147, 161, 161, 0.50); + color: rgba(147, 161, 161, 0.50) } -.ace-solarized-light .ace_keyword, .ace-solarized-light .ace_meta { - color:#859900; +.ace-solarized-light .ace_keyword, +.ace-solarized-light .ace_meta, +.ace-solarized-light .ace_support.ace_class, +.ace-solarized-light .ace_support.ace_type { + color: #859900 } -.ace-solarized-light .ace_constant.ace_character { - color:#CB4B16; +.ace-solarized-light .ace_constant.ace_character, +.ace-solarized-light .ace_constant.ace_other { + color: #CB4B16 } .ace-solarized-light .ace_constant.ace_language { - color:#B58900; + color: #B58900 } .ace-solarized-light .ace_constant.ace_numeric { - color:#D33682; -} - -.ace-solarized-light .ace_constant.ace_other { - color:#CB4B16; + color: #D33682 } .ace-solarized-light .ace_fold { - background-color: #268BD2; - border-color: #586E75; + background-color: #268BD2; + border-color: #586E75 } -.ace-solarized-light .ace_support.ace_function { - color:#268BD2; -} - -.ace-solarized-light .ace_support.ace_type { - color:#859900; -} - -.ace-solarized-light .ace_support.ace_class { - color:#859900; +.ace-solarized-light .ace_entity.ace_name.ace_function, +.ace-solarized-light .ace_entity.ace_name.ace_tag, +.ace-solarized-light .ace_support.ace_function, +.ace-solarized-light .ace_variable, +.ace-solarized-light .ace_variable.ace_language { + color: #268BD2 } .ace-solarized-light .ace_storage { - color:#073642; -} - -.ace-solarized-light .ace_variable { - color:#268BD2; + color: #073642 } .ace-solarized-light .ace_string { - color:#2AA198; + color: #2AA198 } .ace-solarized-light .ace_string.ace_regexp { - color:#D30102; -} - -.ace-solarized-light .ace_comment { - color:#93A1A1; -} - -.ace-solarized-light .ace_variable.ace_language { - color:#268BD2; + color: #D30102 } +.ace-solarized-light .ace_comment, .ace-solarized-light .ace_entity.ace_other.ace_attribute-name { - color:#93A1A1; -} - -.ace-solarized-light .ace_entity.ace_name.ace_function { - color:#268BD2; + color: #93A1A1 } .ace-solarized-light .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-solarized-light .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/solarized_light.js b/lib/ace/theme/solarized_light.js index e4095c1e..a8e9e10f 100644 --- a/lib/ace/theme/solarized_light.js +++ b/lib/ace/theme/solarized_light.js @@ -34,6 +34,6 @@ exports.isDark = false; exports.cssClass = "ace-solarized-light"; exports.cssText = require('ace/requirejs/text!./solarized_light.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/textmate.css b/lib/ace/theme/textmate.css index 80b9ae1d..fc9dcee8 100644 --- a/lib/ace/theme/textmate.css +++ b/lib/ace/theme/textmate.css @@ -1,17 +1,9 @@ -.ace-tm .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-tm .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-tm .ace_gutter { background: #f0f0f0; color: #333; } -.ace-tm .ace_print_margin { +.ace-tm .ace_print-margin { width: 1px; background: #e8e8e8; } @@ -104,7 +96,7 @@ color: rgb(49, 132, 149); } -.ace-tm .ace_line .ace_xml_pe { +.ace-tm .ace_line .ace_xml-pe { color: rgb(104, 104, 91); } @@ -112,9 +104,6 @@ color: #0000A2; } -.ace-tm .ace_markup.ace_underline { - text-decoration:underline; -} .ace-tm .ace_markup.ace_heading { color: rgb(12, 7, 255); @@ -135,7 +124,7 @@ .ace-tm .ace_marker-layer .ace_selection { background: rgb(181, 213, 255); } -.ace-tm.multiselect .ace_selection.start { +.ace-tm.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px white; border-radius: 2px; } @@ -152,15 +141,15 @@ border: 1px solid rgb(192, 192, 192); } -.ace-tm .ace_marker-layer .ace_active_line { +.ace-tm .ace_marker-layer .ace_active-line { background: rgba(0, 0, 0, 0.07); } -.ace-tm .ace_gutter_active_line { +.ace-tm .ace_gutter-active-line { background-color : #dcdcdc; } -.ace-tm .ace_marker-layer .ace_selected_word { +.ace-tm .ace_marker-layer .ace_selected-word { background: rgb(250, 250, 255); border: 1px solid rgb(200, 200, 250); } diff --git a/lib/ace/theme/tomorrow.css b/lib/ace/theme/tomorrow.css index e5bb2e88..90c397bf 100644 --- a/lib/ace/theme/tomorrow.css +++ b/lib/ace/theme/tomorrow.css @@ -1,180 +1,136 @@ - -.ace-tomorrow .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-tomorrow .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-tomorrow .ace_gutter { background: #f6f6f6; - color: #4D4D4C; + color: #4D4D4C } -.ace-tomorrow .ace_print_margin { +.ace-tomorrow .ace_print-margin { width: 1px; - background: #f6f6f6; + background: #f6f6f6 } .ace-tomorrow .ace_scroller { - background-color: #FFFFFF; + background-color: #FFFFFF } .ace-tomorrow .ace_text-layer { - color: #4D4D4C; + color: #4D4D4C } .ace-tomorrow .ace_cursor { - border-left: 2px solid #AEAFAD; + border-left: 2px solid #AEAFAD } .ace-tomorrow .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #AEAFAD; + border-bottom: 1px solid #AEAFAD } .ace-tomorrow .ace_marker-layer .ace_selection { - background: #D6D6D6; + background: #D6D6D6 } -.ace-tomorrow.multiselect .ace_selection.start { +.ace-tomorrow.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #FFFFFF; - border-radius: 2px; + border-radius: 2px } .ace-tomorrow .ace_marker-layer .ace_step { - background: rgb(255, 255, 0); + background: rgb(255, 255, 0) } .ace-tomorrow .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #D1D1D1; + border: 1px solid #D1D1D1 } -.ace-tomorrow .ace_marker-layer .ace_active_line { - background: #EFEFEF; +.ace-tomorrow .ace_marker-layer .ace_active-line { + background: #EFEFEF } -.ace-tomorrow .ace_gutter_active_line { - background-color : #dcdcdc; +.ace-tomorrow .ace_gutter-active-line { + background-color : #dcdcdc } -.ace-tomorrow .ace_marker-layer .ace_selected_word { - border: 1px solid #D6D6D6; +.ace-tomorrow .ace_marker-layer .ace_selected-word { + border: 1px solid #D6D6D6 } .ace-tomorrow .ace_invisible { - color: #D1D1D1; + color: #D1D1D1 } -.ace-tomorrow .ace_keyword, .ace-tomorrow .ace_meta { - color:#8959A8; +.ace-tomorrow .ace_keyword, +.ace-tomorrow .ace_meta, +.ace-tomorrow .ace_storage, +.ace-tomorrow .ace_storage.ace_type, +.ace-tomorrow .ace_support.ace_type { + color: #8959A8 } .ace-tomorrow .ace_keyword.ace_operator { - color:#3E999F; + color: #3E999F } -.ace-tomorrow .ace_constant.ace_character { - color:#F5871F; -} - -.ace-tomorrow .ace_constant.ace_language { - color:#F5871F; -} - -.ace-tomorrow .ace_constant.ace_numeric { - color:#F5871F; +.ace-tomorrow .ace_constant.ace_character, +.ace-tomorrow .ace_constant.ace_language, +.ace-tomorrow .ace_constant.ace_numeric, +.ace-tomorrow .ace_keyword.ace_other.ace_unit, +.ace-tomorrow .ace_support.ace_constant, +.ace-tomorrow .ace_variable.ace_parameter { + color: #F5871F } .ace-tomorrow .ace_constant.ace_other { - color:#666969; + color: #666969 } .ace-tomorrow .ace_invalid { - color:#FFFFFF; -background-color:#C82829; + color: #FFFFFF; + background-color: #C82829 } .ace-tomorrow .ace_invalid.ace_deprecated { - color:#FFFFFF; -background-color:#8959A8; -} - -.ace-tomorrow .ace_support.ace_constant { - color:#F5871F; + color: #FFFFFF; + background-color: #8959A8 } .ace-tomorrow .ace_fold { - background-color: #4271AE; - border-color: #4D4D4C; -} - -.ace-tomorrow .ace_support.ace_function { - color:#4271AE; -} - -.ace-tomorrow .ace_support.ace_type { - color:#C99E00; -} - -.ace-tomorrow .ace_support.ace_class { - color:#C99E00; -} - -.ace-tomorrow .ace_storage { - color:#8959A8; -} - -.ace-tomorrow .ace_storage.ace_type, .ace-tomorrow .ace_support.ace_type { - color:#8959A8; + background-color: #4271AE; + border-color: #4D4D4C } +.ace-tomorrow .ace_entity.ace_name.ace_function, +.ace-tomorrow .ace_support.ace_function, .ace-tomorrow .ace_variable { - color:#4271AE; + color: #4271AE } -.ace-tomorrow .ace_variable.ace_parameter { - color:#F5871F; +.ace-tomorrow .ace_support.ace_class, +.ace-tomorrow .ace_support.ace_type { + color: #C99E00 } +.ace-tomorrow .ace_markup.ace_heading, .ace-tomorrow .ace_string { - color:#718C00; + color: #718C00 } -.ace-tomorrow .ace_string.ace_regexp { - color:#C82829; +.ace-tomorrow .ace_entity.ace_name.ace_tag, +.ace-tomorrow .ace_entity.ace_other.ace_attribute-name, +.ace-tomorrow .ace_meta.ace_tag, +.ace-tomorrow .ace_string.ace_regexp, +.ace-tomorrow .ace_variable { + color: #C82829 } .ace-tomorrow .ace_comment { - color:#8E908C; -} - -.ace-tomorrow .ace_variable { - color:#C82829; -} - -.ace-tomorrow .ace_meta.ace_tag { - color:#C82829; -} - -.ace-tomorrow .ace_entity.ace_other.ace_attribute-name { - color:#C82829; -} - -.ace-tomorrow .ace_entity.ace_name.ace_function { - color:#4271AE; + color: #8E908C } .ace-tomorrow .ace_markup.ace_underline { - text-decoration:underline; -} - -.ace-tomorrow .ace_markup.ace_heading { - color:#718C00; + text-decoration: underline } .ace-tomorrow .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow.js b/lib/ace/theme/tomorrow.js index e740a080..acf984f9 100644 --- a/lib/ace/theme/tomorrow.js +++ b/lib/ace/theme/tomorrow.js @@ -34,6 +34,6 @@ exports.isDark = false; exports.cssClass = "ace-tomorrow"; exports.cssText = require('ace/requirejs/text!./tomorrow.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/tomorrow_night.css b/lib/ace/theme/tomorrow_night.css index 90ac0f0c..8a62bac2 100644 --- a/lib/ace/theme/tomorrow_night.css +++ b/lib/ace/theme/tomorrow_night.css @@ -1,180 +1,136 @@ - -.ace-tomorrow-night .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-tomorrow-night .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-tomorrow-night .ace_gutter { background: #25282c; - color: #C5C8C6; + color: #C5C8C6 } -.ace-tomorrow-night .ace_print_margin { +.ace-tomorrow-night .ace_print-margin { width: 1px; - background: #25282c; + background: #25282c } .ace-tomorrow-night .ace_scroller { - background-color: #1D1F21; + background-color: #1D1F21 } .ace-tomorrow-night .ace_text-layer { - color: #C5C8C6; + color: #C5C8C6 } .ace-tomorrow-night .ace_cursor { - border-left: 2px solid #AEAFAD; + border-left: 2px solid #AEAFAD } .ace-tomorrow-night .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #AEAFAD; + border-bottom: 1px solid #AEAFAD } .ace-tomorrow-night .ace_marker-layer .ace_selection { - background: #373B41; + background: #373B41 } -.ace-tomorrow-night.multiselect .ace_selection.start { +.ace-tomorrow-night.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #1D1F21; - border-radius: 2px; + border-radius: 2px } .ace-tomorrow-night .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-tomorrow-night .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #4B4E55; + border: 1px solid #4B4E55 } -.ace-tomorrow-night .ace_marker-layer .ace_active_line { - background: #282A2E; +.ace-tomorrow-night .ace_marker-layer .ace_active-line { + background: #282A2E } -.ace-tomorrow-night .ace_gutter_active_line { - background-color: #282A2E; +.ace-tomorrow-night .ace_gutter-active-line { + background-color: #282A2E } -.ace-tomorrow-night .ace_marker-layer .ace_selected_word { - border: 1px solid #373B41; +.ace-tomorrow-night .ace_marker-layer .ace_selected-word { + border: 1px solid #373B41 } .ace-tomorrow-night .ace_invisible { - color: #4B4E55; + color: #4B4E55 } -.ace-tomorrow-night .ace_keyword, .ace-tomorrow-night .ace_meta { - color:#B294BB; +.ace-tomorrow-night .ace_keyword, +.ace-tomorrow-night .ace_meta, +.ace-tomorrow-night .ace_storage, +.ace-tomorrow-night .ace_storage.ace_type, +.ace-tomorrow-night .ace_support.ace_type { + color: #B294BB } .ace-tomorrow-night .ace_keyword.ace_operator { - color:#8ABEB7; + color: #8ABEB7 } -.ace-tomorrow-night .ace_constant.ace_character { - color:#DE935F; -} - -.ace-tomorrow-night .ace_constant.ace_language { - color:#DE935F; -} - -.ace-tomorrow-night .ace_constant.ace_numeric { - color:#DE935F; +.ace-tomorrow-night .ace_constant.ace_character, +.ace-tomorrow-night .ace_constant.ace_language, +.ace-tomorrow-night .ace_constant.ace_numeric, +.ace-tomorrow-night .ace_keyword.ace_other.ace_unit, +.ace-tomorrow-night .ace_support.ace_constant, +.ace-tomorrow-night .ace_variable.ace_parameter { + color: #DE935F } .ace-tomorrow-night .ace_constant.ace_other { - color:#CED1CF; + color: #CED1CF } .ace-tomorrow-night .ace_invalid { - color:#CED2CF; -background-color:#DF5F5F; + color: #CED2CF; + background-color: #DF5F5F } .ace-tomorrow-night .ace_invalid.ace_deprecated { - color:#CED2CF; -background-color:#B798BF; -} - -.ace-tomorrow-night .ace_support.ace_constant { - color:#DE935F; + color: #CED2CF; + background-color: #B798BF } .ace-tomorrow-night .ace_fold { - background-color: #81A2BE; - border-color: #C5C8C6; -} - -.ace-tomorrow-night .ace_support.ace_function { - color:#81A2BE; -} - -.ace-tomorrow-night .ace_support.ace_type { - color:#F0C674; -} - -.ace-tomorrow-night .ace_support.ace_class { - color:#F0C674; -} - -.ace-tomorrow-night .ace_storage { - color:#B294BB; -} - -.ace-tomorrow-night .ace_storage.ace_type, .ace-tomorrow-night .ace_support.ace_type { - color:#B294BB; + background-color: #81A2BE; + border-color: #C5C8C6 } +.ace-tomorrow-night .ace_entity.ace_name.ace_function, +.ace-tomorrow-night .ace_support.ace_function, .ace-tomorrow-night .ace_variable { - color:#81A2BE; + color: #81A2BE } -.ace-tomorrow-night .ace_variable.ace_parameter { - color:#DE935F; +.ace-tomorrow-night .ace_support.ace_class, +.ace-tomorrow-night .ace_support.ace_type { + color: #F0C674 } +.ace-tomorrow-night .ace_markup.ace_heading, .ace-tomorrow-night .ace_string { - color:#B5BD68; + color: #B5BD68 } -.ace-tomorrow-night .ace_string.ace_regexp { - color:#CC6666; +.ace-tomorrow-night .ace_entity.ace_name.ace_tag, +.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name, +.ace-tomorrow-night .ace_meta.ace_tag, +.ace-tomorrow-night .ace_string.ace_regexp, +.ace-tomorrow-night .ace_variable { + color: #CC6666 } .ace-tomorrow-night .ace_comment { - color:#969896; -} - -.ace-tomorrow-night .ace_variable { - color:#CC6666; -} - -.ace-tomorrow-night .ace_meta.ace_tag { - color:#CC6666; -} - -.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name { - color:#CC6666; -} - -.ace-tomorrow-night .ace_entity.ace_name.ace_function { - color:#81A2BE; + color: #969896 } .ace-tomorrow-night .ace_markup.ace_underline { - text-decoration:underline; -} - -.ace-tomorrow-night .ace_markup.ace_heading { - color:#B5BD68; + text-decoration: underline } .ace-tomorrow-night .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night.js b/lib/ace/theme/tomorrow_night.js index b943b414..f3fcdbc9 100644 --- a/lib/ace/theme/tomorrow_night.js +++ b/lib/ace/theme/tomorrow_night.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-tomorrow-night"; exports.cssText = require('ace/requirejs/text!./tomorrow_night.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/tomorrow_night_blue.css b/lib/ace/theme/tomorrow_night_blue.css index 17821602..ca0a84fe 100644 --- a/lib/ace/theme/tomorrow_night_blue.css +++ b/lib/ace/theme/tomorrow_night_blue.css @@ -1,180 +1,133 @@ - -.ace-tomorrow-night-blue .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-tomorrow-night-blue .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-tomorrow-night-blue .ace_gutter { background: #00204b; - color: #7388b5; + color: #7388b5 } -.ace-tomorrow-night-blue .ace_print_margin { +.ace-tomorrow-night-blue .ace_print-margin { width: 1px; - background: #00204b; + background: #00204b } .ace-tomorrow-night-blue .ace_scroller { - background-color: #002451; + background-color: #002451 } +.ace-tomorrow-night-blue .ace_constant.ace_other, .ace-tomorrow-night-blue .ace_text-layer { - color: #FFFFFF; + color: #FFFFFF } .ace-tomorrow-night-blue .ace_cursor { - border-left: 2px solid #FFFFFF; + border-left: 2px solid #FFFFFF } .ace-tomorrow-night-blue .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #FFFFFF; + border-bottom: 1px solid #FFFFFF } .ace-tomorrow-night-blue .ace_marker-layer .ace_selection { - background: #003F8E; + background: #003F8E } -.ace-tomorrow-night-blue.multiselect .ace_selection.start { +.ace-tomorrow-night-blue.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #002451; - border-radius: 2px; + border-radius: 2px } .ace-tomorrow-night-blue .ace_marker-layer .ace_step { - background: rgb(127, 111, 19); + background: rgb(127, 111, 19) } .ace-tomorrow-night-blue .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #404F7D; + border: 1px solid #404F7D } -.ace-tomorrow-night-blue .ace_marker-layer .ace_active_line { - background: #00346E; +.ace-tomorrow-night-blue .ace_marker-layer .ace_active-line { + background: #00346E } -.ace-tomorrow-night-blue .ace_gutter_active_line { - background-color: #022040; +.ace-tomorrow-night-blue .ace_gutter-active-line { + background-color: #022040 } -.ace-tomorrow-night-blue .ace_marker-layer .ace_selected_word { - border: 1px solid #003F8E; +.ace-tomorrow-night-blue .ace_marker-layer .ace_selected-word { + border: 1px solid #003F8E } .ace-tomorrow-night-blue .ace_invisible { - color: #404F7D; + color: #404F7D } -.ace-tomorrow-night-blue .ace_keyword, .ace-tomorrow-night-blue .ace_meta { - color:#EBBBFF; +.ace-tomorrow-night-blue .ace_keyword, +.ace-tomorrow-night-blue .ace_meta, +.ace-tomorrow-night-blue .ace_storage, +.ace-tomorrow-night-blue .ace_storage.ace_type, +.ace-tomorrow-night-blue .ace_support.ace_type { + color: #EBBBFF } .ace-tomorrow-night-blue .ace_keyword.ace_operator { - color:#99FFFF; + color: #99FFFF } -.ace-tomorrow-night-blue .ace_constant.ace_character { - color:#FFC58F; -} - -.ace-tomorrow-night-blue .ace_constant.ace_language { - color:#FFC58F; -} - -.ace-tomorrow-night-blue .ace_constant.ace_numeric { - color:#FFC58F; -} - -.ace-tomorrow-night-blue .ace_constant.ace_other { - color:#FFFFFF; +.ace-tomorrow-night-blue .ace_constant.ace_character, +.ace-tomorrow-night-blue .ace_constant.ace_language, +.ace-tomorrow-night-blue .ace_constant.ace_numeric, +.ace-tomorrow-night-blue .ace_keyword.ace_other.ace_unit, +.ace-tomorrow-night-blue .ace_support.ace_constant, +.ace-tomorrow-night-blue .ace_variable.ace_parameter { + color: #FFC58F } .ace-tomorrow-night-blue .ace_invalid { - color:#FFFFFF; -background-color:#F99DA5; + color: #FFFFFF; + background-color: #F99DA5 } .ace-tomorrow-night-blue .ace_invalid.ace_deprecated { - color:#FFFFFF; -background-color:#EBBBFF; -} - -.ace-tomorrow-night-blue .ace_support.ace_constant { - color:#FFC58F; + color: #FFFFFF; + background-color: #EBBBFF } .ace-tomorrow-night-blue .ace_fold { - background-color: #BBDAFF; - border-color: #FFFFFF; -} - -.ace-tomorrow-night-blue .ace_support.ace_function { - color:#BBDAFF; -} - -.ace-tomorrow-night-blue .ace_support.ace_type { - color:#FFEEAD; -} - -.ace-tomorrow-night-blue .ace_support.ace_class { - color:#FFEEAD; -} - -.ace-tomorrow-night-blue .ace_storage { - color:#EBBBFF; -} - -.ace-tomorrow-night-blue .ace_storage.ace_type, .ace-tomorrow-night-blue .ace_support.ace_type { - color:#EBBBFF; + background-color: #BBDAFF; + border-color: #FFFFFF } +.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function, +.ace-tomorrow-night-blue .ace_support.ace_function, .ace-tomorrow-night-blue .ace_variable { - color:#BBDAFF; + color: #BBDAFF } -.ace-tomorrow-night-blue .ace_variable.ace_parameter { - color:#FFC58F; +.ace-tomorrow-night-blue .ace_support.ace_class, +.ace-tomorrow-night-blue .ace_support.ace_type { + color: #FFEEAD } +.ace-tomorrow-night-blue .ace_markup.ace_heading, .ace-tomorrow-night-blue .ace_string { - color:#D1F1A9; + color: #D1F1A9 } -.ace-tomorrow-night-blue .ace_string.ace_regexp { - color:#FF9DA4; +.ace-tomorrow-night-blue .ace_entity.ace_name.ace_tag, +.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name, +.ace-tomorrow-night-blue .ace_meta.ace_tag, +.ace-tomorrow-night-blue .ace_string.ace_regexp, +.ace-tomorrow-night-blue .ace_variable { + color: #FF9DA4 } .ace-tomorrow-night-blue .ace_comment { - color:#7285B7; -} - -.ace-tomorrow-night-blue .ace_variable { - color:#FF9DA4; -} - -.ace-tomorrow-night-blue .ace_meta.ace_tag { - color:#FF9DA4; -} - -.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name { - color:#FF9DA4; -} - -.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function { - color:#BBDAFF; + color: #7285B7 } .ace-tomorrow-night-blue .ace_markup.ace_underline { - text-decoration:underline; -} - -.ace-tomorrow-night-blue .ace_markup.ace_heading { - color:#D1F1A9; + text-decoration: underline } .ace-tomorrow-night-blue .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night_blue.js b/lib/ace/theme/tomorrow_night_blue.js index e3874f09..0b496d20 100644 --- a/lib/ace/theme/tomorrow_night_blue.js +++ b/lib/ace/theme/tomorrow_night_blue.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-tomorrow-night-blue"; exports.cssText = require('ace/requirejs/text!./tomorrow_night_blue.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/tomorrow_night_bright.css b/lib/ace/theme/tomorrow_night_bright.css index f200e37a..24f4469c 100644 --- a/lib/ace/theme/tomorrow_night_bright.css +++ b/lib/ace/theme/tomorrow_night_bright.css @@ -1,180 +1,136 @@ - -.ace-tomorrow-night-bright .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-tomorrow-night-bright .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-tomorrow-night-bright .ace_gutter { background: #1a1a1a; - color: #DEDEDE; + color: #DEDEDE } -.ace-tomorrow-night-bright .ace_print_margin { +.ace-tomorrow-night-bright .ace_print-margin { width: 1px; - background: #1a1a1a; + background: #1a1a1a } .ace-tomorrow-night-bright .ace_scroller { - background-color: #000000; + background-color: #000000 } .ace-tomorrow-night-bright .ace_text-layer { - color: #DEDEDE; + color: #DEDEDE } .ace-tomorrow-night-bright .ace_cursor { - border-left: 2px solid #9F9F9F; + border-left: 2px solid #9F9F9F } .ace-tomorrow-night-bright .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #9F9F9F; + border-bottom: 1px solid #9F9F9F } .ace-tomorrow-night-bright .ace_marker-layer .ace_selection { - background: #424242; + background: #424242 } -.ace-tomorrow-night-bright.multiselect .ace_selection.start { +.ace-tomorrow-night-bright.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #000000; - border-radius: 2px; + border-radius: 2px } .ace-tomorrow-night-bright .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-tomorrow-night-bright .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #343434; + border: 1px solid #343434 } -.ace-tomorrow-night-bright .ace_marker-layer .ace_active_line { - background: #2A2A2A; +.ace-tomorrow-night-bright .ace_marker-layer .ace_active-line { + background: #2A2A2A } -.ace-tomorrow-night-bright .ace_gutter_active_line { - background-color: #2A2A2A; +.ace-tomorrow-night-bright .ace_gutter-active-line { + background-color: #2A2A2A } -.ace-tomorrow-night-bright .ace_marker-layer .ace_selected_word { - border: 1px solid #424242; +.ace-tomorrow-night-bright .ace_marker-layer .ace_selected-word { + border: 1px solid #424242 } .ace-tomorrow-night-bright .ace_invisible { - color: #343434; + color: #343434 } -.ace-tomorrow-night-bright .ace_keyword, .ace-tomorrow-night-bright .ace_meta { - color:#C397D8; +.ace-tomorrow-night-bright .ace_keyword, +.ace-tomorrow-night-bright .ace_meta, +.ace-tomorrow-night-bright .ace_storage, +.ace-tomorrow-night-bright .ace_storage.ace_type, +.ace-tomorrow-night-bright .ace_support.ace_type { + color: #C397D8 } .ace-tomorrow-night-bright .ace_keyword.ace_operator { - color:#70C0B1; + color: #70C0B1 } -.ace-tomorrow-night-bright .ace_constant.ace_character { - color:#E78C45; -} - -.ace-tomorrow-night-bright .ace_constant.ace_language { - color:#E78C45; -} - -.ace-tomorrow-night-bright .ace_constant.ace_numeric { - color:#E78C45; +.ace-tomorrow-night-bright .ace_constant.ace_character, +.ace-tomorrow-night-bright .ace_constant.ace_language, +.ace-tomorrow-night-bright .ace_constant.ace_numeric, +.ace-tomorrow-night-bright .ace_keyword.ace_other.ace_unit, +.ace-tomorrow-night-bright .ace_support.ace_constant, +.ace-tomorrow-night-bright .ace_variable.ace_parameter { + color: #E78C45 } .ace-tomorrow-night-bright .ace_constant.ace_other { - color:#EEEEEE; + color: #EEEEEE } .ace-tomorrow-night-bright .ace_invalid { - color:#CED2CF; -background-color:#DF5F5F; + color: #CED2CF; + background-color: #DF5F5F } .ace-tomorrow-night-bright .ace_invalid.ace_deprecated { - color:#CED2CF; -background-color:#B798BF; -} - -.ace-tomorrow-night-bright .ace_support.ace_constant { - color:#E78C45; + color: #CED2CF; + background-color: #B798BF } .ace-tomorrow-night-bright .ace_fold { - background-color: #7AA6DA; - border-color: #DEDEDE; -} - -.ace-tomorrow-night-bright .ace_support.ace_function { - color:#7AA6DA; -} - -.ace-tomorrow-night-bright .ace_support.ace_type { - color:#E7C547; -} - -.ace-tomorrow-night-bright .ace_support.ace_class { - color:#E7C547; -} - -.ace-tomorrow-night-bright .ace_storage { - color:#C397D8; -} - -.ace-tomorrow-night-bright .ace_storage.ace_type, .ace-tomorrow-night-bright .ace_support.ace_type { - color:#C397D8; + background-color: #7AA6DA; + border-color: #DEDEDE } +.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function, +.ace-tomorrow-night-bright .ace_support.ace_function, .ace-tomorrow-night-bright .ace_variable { - color:#7AA6DA; + color: #7AA6DA } -.ace-tomorrow-night-bright .ace_variable.ace_parameter { - color:#E78C45; +.ace-tomorrow-night-bright .ace_support.ace_class, +.ace-tomorrow-night-bright .ace_support.ace_type { + color: #E7C547 } +.ace-tomorrow-night-bright .ace_markup.ace_heading, .ace-tomorrow-night-bright .ace_string { - color:#B9CA4A; + color: #B9CA4A } -.ace-tomorrow-night-bright .ace_string.ace_regexp { - color:#D54E53; +.ace-tomorrow-night-bright .ace_entity.ace_name.ace_tag, +.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name, +.ace-tomorrow-night-bright .ace_meta.ace_tag, +.ace-tomorrow-night-bright .ace_string.ace_regexp, +.ace-tomorrow-night-bright .ace_variable { + color: #D54E53 } .ace-tomorrow-night-bright .ace_comment { - color:#969896; -} - -.ace-tomorrow-night-bright .ace_variable { - color:#D54E53; -} - -.ace-tomorrow-night-bright .ace_meta.ace_tag { - color:#D54E53; -} - -.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name { - color:#D54E53; -} - -.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function { - color:#7AA6DA; + color: #969896 } .ace-tomorrow-night-bright .ace_markup.ace_underline { - text-decoration:underline; -} - -.ace-tomorrow-night-bright .ace_markup.ace_heading { - color:#B9CA4A; + text-decoration: underline } .ace-tomorrow-night-bright .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night_bright.js b/lib/ace/theme/tomorrow_night_bright.js index 5f18ee44..18bc4aa9 100644 --- a/lib/ace/theme/tomorrow_night_bright.js +++ b/lib/ace/theme/tomorrow_night_bright.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-tomorrow-night-bright"; exports.cssText = require('ace/requirejs/text!./tomorrow_night_bright.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/tomorrow_night_eighties.css b/lib/ace/theme/tomorrow_night_eighties.css index 6dfdbbd1..c1695b0d 100644 --- a/lib/ace/theme/tomorrow_night_eighties.css +++ b/lib/ace/theme/tomorrow_night_eighties.css @@ -1,176 +1,132 @@ - -.ace-tomorrow-night-eighties .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-tomorrow-night-eighties .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-tomorrow-night-eighties .ace_gutter { background: #272727; - color: #CCC; + color: #CCC } -.ace-tomorrow-night-eighties .ace_print_margin { +.ace-tomorrow-night-eighties .ace_print-margin { width: 1px; - background: #272727; + background: #272727 } .ace-tomorrow-night-eighties .ace_scroller { - background-color: #2D2D2D; + background-color: #2D2D2D } +.ace-tomorrow-night-eighties .ace_constant.ace_other, .ace-tomorrow-night-eighties .ace_text-layer { - color: #CCCCCC; + color: #CCCCCC } .ace-tomorrow-night-eighties .ace_cursor { - border-left: 2px solid #CCCCCC; + border-left: 2px solid #CCCCCC } .ace-tomorrow-night-eighties .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC } .ace-tomorrow-night-eighties .ace_marker-layer .ace_selection { - background: #515151; + background: #515151 } -.ace-tomorrow-night-eighties.multiselect .ace_selection.start { +.ace-tomorrow-night-eighties.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #2D2D2D; - border-radius: 2px; + border-radius: 2px } .ace-tomorrow-night-eighties .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-tomorrow-night-eighties .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #6A6A6A; + border: 1px solid #6A6A6A } -.ace-tomorrow-night-eighties .ace_marker-layer .ace_active_line { - background: #393939; +.ace-tomorrow-night-eighties .ace_marker-layer .ace_active-line { + background: #393939 } -.ace-tomorrow-night-eighties .ace_gutter_active_line { - background-color: #393939; +.ace-tomorrow-night-eighties .ace_gutter-active-line { + background-color: #393939 } -.ace-tomorrow-night-eighties .ace_marker-layer .ace_selected_word { - border: 1px solid #515151; +.ace-tomorrow-night-eighties .ace_marker-layer .ace_selected-word { + border: 1px solid #515151 } .ace-tomorrow-night-eighties .ace_invisible { - color: #6A6A6A; + color: #6A6A6A } -.ace-tomorrow-night-eighties .ace_keyword, .ace-tomorrow-night-eighties .ace_meta { - color:#CC99CC; +.ace-tomorrow-night-eighties .ace_keyword, +.ace-tomorrow-night-eighties .ace_meta, +.ace-tomorrow-night-eighties .ace_storage, +.ace-tomorrow-night-eighties .ace_storage.ace_type, +.ace-tomorrow-night-eighties .ace_support.ace_type { + color: #CC99CC } .ace-tomorrow-night-eighties .ace_keyword.ace_operator { - color:#66CCCC; + color: #66CCCC } -.ace-tomorrow-night-eighties .ace_constant.ace_character { - color:#F99157; -} - -.ace-tomorrow-night-eighties .ace_constant.ace_language { - color:#F99157; -} - -.ace-tomorrow-night-eighties .ace_constant.ace_numeric { - color:#F99157; -} - -.ace-tomorrow-night-eighties .ace_constant.ace_other { - color:#CCCCCC; +.ace-tomorrow-night-eighties .ace_constant.ace_character, +.ace-tomorrow-night-eighties .ace_constant.ace_language, +.ace-tomorrow-night-eighties .ace_constant.ace_numeric, +.ace-tomorrow-night-eighties .ace_keyword.ace_other.ace_unit, +.ace-tomorrow-night-eighties .ace_support.ace_constant, +.ace-tomorrow-night-eighties .ace_variable.ace_parameter { + color: #F99157 } .ace-tomorrow-night-eighties .ace_invalid { - color:#CDCDCD; -background-color:#F2777A; + color: #CDCDCD; + background-color: #F2777A } .ace-tomorrow-night-eighties .ace_invalid.ace_deprecated { - color:#CDCDCD; -background-color:#CC99CC; -} - -.ace-tomorrow-night-eighties .ace_support.ace_constant { - color:#F99157; + color: #CDCDCD; + background-color: #CC99CC } .ace-tomorrow-night-eighties .ace_fold { - background-color: #6699CC; - border-color: #CCCCCC; -} - -.ace-tomorrow-night-eighties .ace_support.ace_function { - color:#6699CC; -} - -.ace-tomorrow-night-eighties .ace_support.ace_type { - color:#FFCC66; -} - -.ace-tomorrow-night-eighties .ace_support.ace_class { - color:#FFCC66; -} - -.ace-tomorrow-night-eighties .ace_storage { - color:#CC99CC; -} - -.ace-tomorrow-night-eighties .ace_storage.ace_type, .ace-tomorrow-night-eighties .ace_support.ace_type { - color:#CC99CC; + background-color: #6699CC; + border-color: #CCCCCC } +.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function, +.ace-tomorrow-night-eighties .ace_support.ace_function, .ace-tomorrow-night-eighties .ace_variable { - color:#6699CC; + color: #6699CC } -.ace-tomorrow-night-eighties .ace_variable.ace_parameter { - color:#F99157; +.ace-tomorrow-night-eighties .ace_support.ace_class, +.ace-tomorrow-night-eighties .ace_support.ace_type { + color: #FFCC66 } +.ace-tomorrow-night-eighties .ace_markup.ace_heading, .ace-tomorrow-night-eighties .ace_string { - color:#99CC99; + color: #99CC99 } .ace-tomorrow-night-eighties .ace_comment { - color:#999999; + color: #999999 } +.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_tag, +.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name, +.ace-tomorrow-night-eighties .ace_meta.ace_tag, .ace-tomorrow-night-eighties .ace_variable { - color:#F2777A; -} - -.ace-tomorrow-night-eighties .ace_meta.ace_tag { - color:#F2777A; -} - -.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name { - color:#F2777A; -} - -.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function { - color:#6699CC; + color: #F2777A } .ace-tomorrow-night-eighties .ace_markup.ace_underline { - text-decoration:underline; -} - -.ace-tomorrow-night-eighties .ace_markup.ace_heading { - color:#99CC99; + text-decoration: underline } .ace-tomorrow-night-eighties .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ1dX9z7Bq1ar/ABE1BITwhhuFAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ1dX9z7Bq1ar/ABE1BITwhhuFAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/tomorrow_night_eighties.js b/lib/ace/theme/tomorrow_night_eighties.js index fff11892..8217cdbd 100644 --- a/lib/ace/theme/tomorrow_night_eighties.js +++ b/lib/ace/theme/tomorrow_night_eighties.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-tomorrow-night-eighties"; exports.cssText = require('ace/requirejs/text!./tomorrow_night_eighties.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/twilight.css b/lib/ace/theme/twilight.css index 70794da6..3051a3e6 100644 --- a/lib/ace/theme/twilight.css +++ b/lib/ace/theme/twilight.css @@ -1,166 +1,138 @@ - -.ace-twilight .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-twilight .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-twilight .ace_gutter { background: #232323; - color: #E2E2E2; + color: #E2E2E2 } -.ace-twilight .ace_print_margin { +.ace-twilight .ace_print-margin { width: 1px; - background: #232323; + background: #232323 } .ace-twilight .ace_scroller { - background-color: #141414; + background-color: #141414 } .ace-twilight .ace_text-layer { - color: #F8F8F8; + color: #F8F8F8 } .ace-twilight .ace_cursor { - border-left: 2px solid #A7A7A7; + border-left: 2px solid #A7A7A7 } .ace-twilight .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #A7A7A7; + border-bottom: 1px solid #A7A7A7 } .ace-twilight .ace_marker-layer .ace_selection { - background: rgba(221, 240, 255, 0.20); + background: rgba(221, 240, 255, 0.20) } -.ace-twilight.multiselect .ace_selection.start { +.ace-twilight.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #141414; - border-radius: 2px; + border-radius: 2px } .ace-twilight .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-twilight .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgba(255, 255, 255, 0.25); + border: 1px solid rgba(255, 255, 255, 0.25) } -.ace-twilight .ace_marker-layer .ace_active_line { - background: rgba(255, 255, 255, 0.031); +.ace-twilight .ace_marker-layer .ace_active-line { + background: rgba(255, 255, 255, 0.031) } -.ace-twilight .ace_gutter_active_line { - background-color: rgba(255, 255, 255, 0.031); +.ace-twilight .ace_gutter-active-line { + background-color: rgba(255, 255, 255, 0.031) } -.ace-twilight .ace_marker-layer .ace_selected_word { - border: 1px solid rgba(221, 240, 255, 0.20); +.ace-twilight .ace_marker-layer .ace_selected-word { + border: 1px solid rgba(221, 240, 255, 0.20) } .ace-twilight .ace_invisible { - color: rgba(255, 255, 255, 0.25); + color: rgba(255, 255, 255, 0.25) } -.ace-twilight .ace_keyword, .ace-twilight .ace_meta { - color:#CDA869; +.ace-twilight .ace_keyword, +.ace-twilight .ace_meta { + color: #CDA869 } -.ace-twilight .ace_constant, .ace-twilight .ace_constant.ace_other { - color:#CF6A4C; -} - -.ace-twilight .ace_constant.ace_character, { - color:#CF6A4C; -} - -.ace-twilight .ace_constant.ace_character.ace_escape, { - color:#CF6A4C; +.ace-twilight .ace_constant, +.ace-twilight .ace_constant.ace_character, +.ace-twilight .ace_constant.ace_character.ace_escape, +.ace-twilight .ace_constant.ace_other, +.ace-twilight .ace_markup.ace_heading, +.ace-twilight .ace_support.ace_constant { + color: #CF6A4C } .ace-twilight .ace_invalid.ace_illegal { - color:#F8F8F8; -background-color:rgba(86, 45, 86, 0.75); + color: #F8F8F8; + background-color: rgba(86, 45, 86, 0.75) } .ace-twilight .ace_invalid.ace_deprecated { - text-decoration:underline; -font-style:italic; -color:#D2A8A1; + text-decoration: underline; + font-style: italic; + color: #D2A8A1 } .ace-twilight .ace_support { - color:#9B859D; -} - -.ace-twilight .ace_support.ace_constant { - color:#CF6A4C; + color: #9B859D } .ace-twilight .ace_fold { - background-color: #AC885B; - border-color: #F8F8F8; + background-color: #AC885B; + border-color: #F8F8F8 } .ace-twilight .ace_support.ace_function { - color:#DAD085; + color: #DAD085 } +.ace-twilight .ace_markup.ace_list, .ace-twilight .ace_storage { - color:#F9EE98; + color: #F9EE98 } +.ace-twilight .ace_entity.ace_name.ace_function, +.ace-twilight .ace_meta.ace_tag, .ace-twilight .ace_variable { - color:#AC885B; + color: #AC885B } .ace-twilight .ace_string { - color:#8F9D6A; + color: #8F9D6A } .ace-twilight .ace_string.ace_regexp { - color:#E9C062; + color: #E9C062 } .ace-twilight .ace_comment { - font-style:italic; -color:#5F5A60; + font-style: italic; + color: #5F5A60 } .ace-twilight .ace_variable { - color:#7587A6; + color: #7587A6 } -.ace-twilight .ace_xml_pe { - color:#494949; -} - -.ace-twilight .ace_meta.ace_tag { - color:#AC885B; -} - -.ace-twilight .ace_entity.ace_name.ace_function { - color:#AC885B; +.ace-twilight .ace_xml-pe { + color: #494949 } .ace-twilight .ace_markup.ace_underline { - text-decoration:underline; -} - -.ace-twilight .ace_markup.ace_heading { - color:#CF6A4C; -} - -.ace-twilight .ace_markup.ace_list { - color:#F9EE98; + text-decoration: underline } .ace-twilight .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERH5zzBz5sz/AA5EBAYqeZXWAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERH5zzBz5sz/AA5EBAYqeZXWAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/twilight.js b/lib/ace/theme/twilight.js index 766ba9b3..5c1d3eef 100644 --- a/lib/ace/theme/twilight.js +++ b/lib/ace/theme/twilight.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-twilight"; exports.cssText = require('ace/requirejs/text!./twilight.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/vibrant_ink.css b/lib/ace/theme/vibrant_ink.css index 08993a63..fdd965f1 100644 --- a/lib/ace/theme/vibrant_ink.css +++ b/lib/ace/theme/vibrant_ink.css @@ -1,145 +1,118 @@ - -.ace-vibrant-ink .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.ace-vibrant-ink .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .ace-vibrant-ink .ace_gutter { background: #1a1a1a; - color: #BEBEBE; + color: #BEBEBE } -.ace-vibrant-ink .ace_print_margin { +.ace-vibrant-ink .ace_print-margin { width: 1px; - background: #1a1a1a; + background: #1a1a1a } .ace-vibrant-ink .ace_scroller { - background-color: #0F0F0F; + background-color: #0F0F0F } .ace-vibrant-ink .ace_text-layer { - color: #FFFFFF; + color: #FFFFFF } .ace-vibrant-ink .ace_cursor { - border-left: 2px solid #FFFFFF; + border-left: 2px solid #FFFFFF } .ace-vibrant-ink .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid #FFFFFF; + border-bottom: 1px solid #FFFFFF } .ace-vibrant-ink .ace_marker-layer .ace_selection { - background: #6699CC; + background: #6699CC } -.ace-vibrant-ink.multiselect .ace_selection.start { +.ace-vibrant-ink.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #0F0F0F; - border-radius: 2px; + border-radius: 2px } .ace-vibrant-ink .ace_marker-layer .ace_step { - background: rgb(102, 82, 0); + background: rgb(102, 82, 0) } .ace-vibrant-ink .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid #404040; + border: 1px solid #404040 } -.ace-vibrant-ink .ace_marker-layer .ace_active_line { - background: #333333; +.ace-vibrant-ink .ace_marker-layer .ace_active-line { + background: #333333 } -.ace-vibrant-ink .ace_gutter_active_line { - background-color: #333333; +.ace-vibrant-ink .ace_gutter-active-line { + background-color: #333333 } -.ace-vibrant-ink .ace_marker-layer .ace_selected_word { - border: 1px solid #6699CC; +.ace-vibrant-ink .ace_marker-layer .ace_selected-word { + border: 1px solid #6699CC } .ace-vibrant-ink .ace_invisible { - color: #404040; + color: #404040 } -.ace-vibrant-ink .ace_keyword, .ace-vibrant-ink .ace_meta { - color:#FF6600; +.ace-vibrant-ink .ace_keyword, +.ace-vibrant-ink .ace_meta { + color: #FF6600 } -.ace-vibrant-ink .ace_constant, .ace-vibrant-ink .ace_constant.ace_other { - color:#339999; -} - -.ace-vibrant-ink .ace_constant.ace_character, { - color:#339999; -} - -.ace-vibrant-ink .ace_constant.ace_character.ace_escape, { - color:#339999; +.ace-vibrant-ink .ace_constant, +.ace-vibrant-ink .ace_constant.ace_character, +.ace-vibrant-ink .ace_constant.ace_character.ace_escape, +.ace-vibrant-ink .ace_constant.ace_other { + color: #339999 } .ace-vibrant-ink .ace_constant.ace_numeric { - color:#99CC99; -} - -.ace-vibrant-ink .ace_invalid { - color:#CCFF33; -background-color:#000000; + color: #99CC99 } +.ace-vibrant-ink .ace_invalid, .ace-vibrant-ink .ace_invalid.ace_deprecated { - color:#CCFF33; -background-color:#000000; + color: #CCFF33; + background-color: #000000 } .ace-vibrant-ink .ace_fold { - background-color: #FFCC00; - border-color: #FFFFFF; -} - -.ace-vibrant-ink .ace_support.ace_function { - color:#FFCC00; + background-color: #FFCC00; + border-color: #FFFFFF } +.ace-vibrant-ink .ace_entity.ace_name.ace_function, +.ace-vibrant-ink .ace_support.ace_function, .ace-vibrant-ink .ace_variable { - color:#FFCC00; + color: #FFCC00 } .ace-vibrant-ink .ace_variable.ace_parameter { - font-style:italic; + font-style: italic } .ace-vibrant-ink .ace_string { - color:#66FF00; + color: #66FF00 } .ace-vibrant-ink .ace_string.ace_regexp { - color:#44B4CC; + color: #44B4CC } .ace-vibrant-ink .ace_comment { - color:#9933CC; + color: #9933CC } .ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name { - font-style:italic; -color:#99CC99; -} - -.ace-vibrant-ink .ace_entity.ace_name.ace_function { - color:#FFCC00; -} - -.ace-vibrant-ink .ace_markup.ace_underline { - text-decoration:underline; + font-style: italic; + color: #99CC99 } .ace-vibrant-ink .ace_indent-guide { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y } \ No newline at end of file diff --git a/lib/ace/theme/vibrant_ink.js b/lib/ace/theme/vibrant_ink.js index 28bd0496..584f8d29 100644 --- a/lib/ace/theme/vibrant_ink.js +++ b/lib/ace/theme/vibrant_ink.js @@ -34,6 +34,6 @@ exports.isDark = true; exports.cssClass = "ace-vibrant-ink"; exports.cssText = require('ace/requirejs/text!./vibrant_ink.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/xcode.css b/lib/ace/theme/xcode.css new file mode 100644 index 00000000..16db2006 --- /dev/null +++ b/lib/ace/theme/xcode.css @@ -0,0 +1,111 @@ +/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: EE3AD170-2B7F-4DE1-B724-C75F13FE0085) */ + +.ace-xcode .ace_gutter { + background: #e8e8e8; + color: #333 +} + +.ace-xcode .ace_print-margin { + width: 1px; + background: #e8e8e8 +} + +.ace-xcode .ace_scroller { + background-color: #FFFFFF +} + +.ace-xcode .ace_text-layer { + color: #000000 +} + +.ace-xcode .ace_cursor { + border-left: 2px solid #000000 +} + +.ace-xcode .ace_cursor.ace_overwrite { + border-left: 0px; + border-bottom: 1px solid #000000 +} + +.ace-xcode .ace_marker-layer .ace_selection { + background: #B5D5FF +} + +.ace-xcode.ace_multiselect .ace_selection.ace_start { + box-shadow: 0 0 3px 0px #FFFFFF; + border-radius: 2px +} + +.ace-xcode .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-xcode .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #BFBFBF +} + +.ace-xcode .ace_marker-layer .ace_active-line { + background: rgba(0, 0, 0, 0.071) +} + +.ace-xcode .ace_gutter-active-line { + background-color: rgba(0, 0, 0, 0.071) +} + +.ace-xcode .ace_marker-layer .ace_selected-word { + border: 1px solid #B5D5FF +} + +.ace-xcode .ace_constant.ace_language, +.ace-xcode .ace_keyword, +.ace-xcode .ace_meta, +.ace-xcode .ace_variable.ace_language { + color: #C800A4 +} + +.ace-xcode .ace_invisible { + color: #BFBFBF +} + +.ace-xcode .ace_constant.ace_character, +.ace-xcode .ace_constant.ace_other { + color: #275A5E +} + +.ace-xcode .ace_constant.ace_numeric { + color: #3A00DC +} + +.ace-xcode .ace_entity.ace_other.ace_attribute-name, +.ace-xcode .ace_support.ace_constant, +.ace-xcode .ace_support.ace_function { + color: #450084 +} + +.ace-xcode .ace_fold { + background-color: #C800A4; + border-color: #000000 +} + +.ace-xcode .ace_entity.ace_name.ace_tag, +.ace-xcode .ace_support.ace_class, +.ace-xcode .ace_support.ace_type { + color: #790EAD +} + +.ace-xcode .ace_storage { + color: #C900A4 +} + +.ace-xcode .ace_string { + color: #DF0002 +} + +.ace-xcode .ace_comment { + color: #008E00 +} + +.ace-xcode .ace_indent-guide { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y; +} \ No newline at end of file diff --git a/lib/ace/theme/xcode.js b/lib/ace/theme/xcode.js new file mode 100644 index 00000000..c6cba5b9 --- /dev/null +++ b/lib/ace/theme/xcode.js @@ -0,0 +1,39 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Distributed under the BSD license: + * + * Copyright (c) 2010, Ajax.org B.V. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Ajax.org B.V. nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ***** END LICENSE BLOCK ***** */ + +define(function(require, exports, module) { + +exports.isDark = false; +exports.cssClass = "ace-xcode"; +exports.cssText = require('ace/requirejs/text!./xcode.css'); + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); diff --git a/lib/ace/virtual_renderer.js b/lib/ace/virtual_renderer.js index 5ec1ffc5..edeca89e 100644 --- a/lib/ace/virtual_renderer.js +++ b/lib/ace/virtual_renderer.js @@ -484,7 +484,7 @@ var VirtualRenderer = function(container, theme) { if (!this.$gutterLineHighlight) { this.$gutterLineHighlight = dom.createElement("div"); - this.$gutterLineHighlight.className = "ace_gutter_active_line"; + this.$gutterLineHighlight.className = "ace_gutter-active-line"; this.$gutter.appendChild(this.$gutterLineHighlight); return; } @@ -512,11 +512,11 @@ var VirtualRenderer = function(container, theme) { if (!this.$printMarginEl) { containerEl = dom.createElement("div"); - containerEl.className = "ace_print_margin_layer"; + containerEl.className = "ace_layer ace_print-margin-layer"; this.$printMarginEl = dom.createElement("div"); - this.$printMarginEl.className = "ace_print_margin"; + this.$printMarginEl.className = "ace_print-margin"; containerEl.appendChild(this.$printMarginEl); - this.content.insertBefore(containerEl, this.$textLayer.element); + this.content.insertBefore(containerEl, this.content.firstChild); } var style = this.$printMarginEl.style; @@ -686,7 +686,7 @@ var VirtualRenderer = function(container, theme) { this.scrollLeft = scrollLeft; this.session.setScrollLeft(scrollLeft); - this.scroller.className = this.scrollLeft == 0 ? "ace_scroller" : "ace_scroller horscroll"; + this.scroller.className = this.scrollLeft == 0 ? "ace_scroller" : "ace_scroller ace_scroll-left"; } // full diff --git a/lib/ace/worker/worker.js b/lib/ace/worker/worker.js index 2e1853df..0e7270a3 100644 --- a/lib/ace/worker/worker.js +++ b/lib/ace/worker/worker.js @@ -1,8 +1,8 @@ "no use strict"; var console = { - log: function(msg) { - postMessage({type: "log", data: msg}); + log: function(msgs) { + postMessage({type: "log", data: arguments.join(" ")}); } }; var window = { @@ -30,6 +30,9 @@ var normalizeModule = function(parentId, moduleName) { }; var require = function(parentId, id) { + if (!id.charAt) + throw new Error("worker.js require() accepts only (parentId, id) as arguments"); + var id = normalizeModule(parentId, id); var module = require.modules[id]; diff --git a/package.json b/package.json index 1dfd461d..bef17187 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ace", "description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE", - "version": "0.2.0", + "version": "1.0.0", "homepage" : "http://github.com/ajaxorg/ace", "engines": {"node": ">= 0.6.0"}, "author": "Fabian Jakobs ", @@ -28,8 +28,7 @@ "lib": "lib/ace" }, "scripts": { - "test": "node lib/ace/test/all.js", - "postinstall": "node ./install.js" + "test": "node lib/ace/test/all.js" }, "config": { "github.com/sourcemint/bundler-js/0/-meta/config/0": { diff --git a/tool/Theme.tmpl.css b/tool/Theme.tmpl.css index 8b52ef83..3b83c5ba 100644 --- a/tool/Theme.tmpl.css +++ b/tool/Theme.tmpl.css @@ -1,19 +1,11 @@ /* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: %uuid%) */ -.%cssClass% .ace_editor { - border: 2px solid rgb(159, 159, 159); -} - -.%cssClass% .ace_editor.ace_focus { - border: 2px solid #327fbd; -} - .%cssClass% .ace_gutter { background: #e8e8e8; color: #333; } -.%cssClass% .ace_print_margin { +.%cssClass% .ace_print-margin { width: 1px; background: %printMargin%; } @@ -39,7 +31,7 @@ background: %selection%; } -.%cssClass%.multiselect .ace_selection.start { +.%cssClass%.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px %background%; border-radius: 2px; } @@ -53,211 +45,24 @@ border: 1px solid %bracket%; } -.%cssClass% .ace_marker-layer .ace_active_line { +.%cssClass% .ace_marker-layer .ace_active-line { background: %active_line%; } -.%cssClass% .ace_gutter_active_line { +.%cssClass% .ace_gutter-active-line { background-color: %active_line%; } -.%cssClass% .ace_marker-layer .ace_selected_word { +.%cssClass% .ace_marker-layer .ace_selected-word { %selected_word_highlight% } -.%cssClass% .ace_invisible { - %invisible% -} - -.%cssClass% .ace_keyword, .%cssClass% .ace_meta { - %keyword% -} - -.%cssClass% .ace_keyword.ace_operator { - %keyword.operator% -} - -.%cssClass% .ace_constant, .%cssClass% .ace_constant.ace_other { - %constant% -} - -.%cssClass% .ace_constant.ace_character { - %constant.character% -} - -.%cssClass% .ace_constant.ace_character.ace_escape { - %constant.character.escape% -} - -.%cssClass% .ace_constant.ace_language { - %constant.language% -} - -.%cssClass% .ace_constant.ace_library { - %constant.library% -} - -.%cssClass% .ace_constant.ace_numeric { - %constant.numeric% -} - -.%cssClass% .ace_constant.ace_other { - %constant.other% -} - -.%cssClass% .ace_invalid { - %invalid% -} - -.%cssClass% .ace_invalid.ace_illegal { - %invalid.illegal% -} - -.%cssClass% .ace_invalid.ace_deprecated { - %invalid.deprecated% -} - -.%cssClass% .ace_support { - %support% -} - -.%cssClass% .ace_support.ace_constant { - %support.constant% -} - .%cssClass% .ace_fold { background-color: %fold%; border-color: %foreground%; } -.%cssClass% .ace_support.ace_function { - %support.function% -} -.%cssClass% .ace_support.ace_type { - %support.type% -} -.%cssClass% .ace_support.ace_class { - %support.class% -} -.%cssClass% .ace_support.ace_other { - %support.other% -} -.%cssClass% .ace_storage { - %storage% -} - -.%cssClass% .ace_storage.ace_type, .%cssClass% .ace_support.ace_type{ - %storage.type% -} - -.%cssClass% .ace_variable { - %entity.name.function% -} - -.%cssClass% .ace_variable.ace_parameter { - %variable.parameter% -} - -.%cssClass% .ace_function.ace_buildin { - %function.buildin% -} - -.%cssClass% .ace_string { - %string% -} - -.%cssClass% .ace_string.ace_regexp { - %string.regexp% -} - -.%cssClass% .ace_comment { - %comment% -} - -.%cssClass% .ace_comment.ace_doc { - %comment.doc% -} - -.%cssClass% .ace_comment.ace_doc.ace_tag { - %comment.doc.tag% -} - -.%cssClass% .ace_variable { - %variable% -} - -.%cssClass% .ace_variable.ace_language { - %variable.language% -} - -.%cssClass% .ace_xml_pe { - %xml_pe% -} - -.%cssClass% .ace_meta { - %meta% -} - -.%cssClass% .ace_meta.ace_tag { - %meta.tag% -} - -.%cssClass% .ace_meta.ace_tag.ace_input { - %ace.meta.tag.input% -} - -.%cssClass% .ace_entity.ace_other.ace_attribute-name { - %entity.other.attribute-name% -} - -.%cssClass% .ace_entity.ace_name { - %entity.name% -} - -.%cssClass% .ace_entity.ace_name.ace_function { - %entity.name.function% -} - -.%cssClass% .ace_markup.ace_underline { - text-decoration:underline; -} - -.%cssClass% .ace_markup.ace_heading { - %markup.heading% -} - -.%cssClass% .ace_markup.ace_heading.ace_1 { - %markup.heading.1% -} - -.%cssClass% .ace_markup.ace_heading.ace_2 { - %markup.heading.2% -} - -.%cssClass% .ace_markup.ace_heading.ace_3 { - %markup.heading.3% -} - -.%cssClass% .ace_markup.ace_heading.ace_4 { - %markup.heading.4% -} - -.%cssClass% .ace_markup.ace_heading.ace_5 { - %markup.heading.5% -} - -.%cssClass% .ace_markup.ace_heading.ace_6 { - %markup.heading.6% -} - -.%cssClass% .ace_markup.ace_list { - %markup.list% -} - -.%cssClass% .ace_collab.ace_user1 { - %collab.user1% -} \ No newline at end of file diff --git a/tool/package.json b/tool/package.json index c576aff2..a96e830d 100644 --- a/tool/package.json +++ b/tool/package.json @@ -2,6 +2,8 @@ "name": "ace-tools", "version": "0.1.0", "dependencies": { - "plist": "" + "plist": "", + "css-parse": "", + "css-stringify": "" } } diff --git a/tool/tmlanguage.js b/tool/tmlanguage.js index 6a6fcb03..155d87c8 100644 --- a/tool/tmlanguage.js +++ b/tool/tmlanguage.js @@ -84,8 +84,12 @@ function checkForLookBehind(str) { function removeXFlag(str) { if (str.slice(0,4) == "(?x)") { - str = str.substr(4).replace(/\\[\s#]|\s+|(?:#[^\n]*)/g, function(s) { - return s[0] == "\\" ? s[1] : ""; + str = str.replace(/\\.|\[([^\]\\]|\\.)*?\]|\s+|(?:#[^\n]*)/g, function(s) { + if (s[0] == "[") + return s; + if (s[0] == "\\") + return /[#\s]/.test(s[1]) ? s[1] : s; + return ""; }); } return str; diff --git a/tool/tmtheme.js b/tool/tmtheme.js index fca5453b..39570e05 100755 --- a/tool/tmtheme.js +++ b/tool/tmtheme.js @@ -1,4 +1,8 @@ var fs = require("fs"); +var path = require("path"); +var util = require("util"); +var cssParse = require("css-parse"); +var cssStringify = require("css-stringify"); var parseString = require("plist").parseString; function parseTheme(themeXml, callback) { @@ -7,9 +11,12 @@ function parseTheme(themeXml, callback) { }); } +var unsupportedScopes = { }; + var supportedScopes = { "keyword": "keyword", "keyword.operator": "keyword.operator", + "keyword.other.unit": "keyword.other.unit", "constant": "constant", "constant.language": "constant.language", @@ -17,6 +24,7 @@ var supportedScopes = { "constant.numeric": "constant.numeric", "constant.character" : "constant.character", "constant.character.escape" : "constant.character.escape", + "constant.character.entity": "constant.character.entity", "constant.other" : "constant.other", "support": "support", @@ -25,6 +33,7 @@ var supportedScopes = { "support.function.firebug": "support.firebug", "support.function.constant": "support.function.constant", "support.constant": "support.constant", + "support.constant.property-value": "support.constant.property-value", "support.class": "support.class", "support.type": "support.type", "support.other": "support.other", @@ -51,13 +60,14 @@ var supportedScopes = { "variable.parameter": "variable.parameter", "meta": "meta", - "meta.tag.sgml.doctype": "xml_pe", + "meta.tag.sgml.doctype": "xml-pe", "meta.tag": "meta.tag", - "meta.tag.form": "meta.tag.form", + "meta.selector": "meta.selector", "entity.other.attribute-name": "entity.other.attribute-name", "entity.name.function": "entity.name.function", "entity.name": "entity.name", + "entity.name.tag": "entity.name.tag", "markup.heading": "markup.heading", "markup.heading.1": "markup.heading.1", @@ -71,6 +81,12 @@ var supportedScopes = { "collab.user1": "collab.user1" }; +var fallbackScopes = { + "keyword": "meta", + "support.type": "storage.type", + "variable": "entity.name.function" +}; + function extractStyles(theme) { var globalSettings = theme.settings[0].settings; @@ -94,18 +110,31 @@ function extractStyles(theme) { if (!element.scope) continue; var scopes = element.scope.split(/\s*[|,]\s*/g); - for (var j=0; j.css rules, + // (because some exist, for collab1 and ace_indentation_guide + try { + var outThemeCss = fs.readFileSync(__dirname + "/../lib/ace/theme/" + name + ".css"); + var oldRules = cssParse(outThemeCss).stylesheet.rules; + var newRules = cssParse(css).stylesheet.rules; + + + for (var i = 0; i < newRules.length; i++) { + var newSelectors = newRules[i].selectors; + + for (var j = 0; j < oldRules.length; j++) { + var oldSelectors = oldRules[j].selectors; + newSelectors = newSelectors.filter(function(s) { + return oldSelectors.indexOf(s) == -1; + }) + if (!newSelectors.length) + break; + } + if (newSelectors.length) { + newRules[i].selectors = newSelectors; + console.log("Adding NEW rule: ", newRules[i]) + oldRules.splice(i, 0, newRules[i]); + } + } + + oldRules = normalizeStylesheet(oldRules); + + css = cssStringify({stylesheet: {rules: oldRules}}, { compress: false }); + } catch(e) { + console.log("Creating new file: " + name + ".css") + } + fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".js", js); fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".css", css); }) } -for (var name in themes) - convertTheme(name); \ No newline at end of file +for (var name in themes) { + convertTheme(name); +} + +var sortedUnsupportedScopes = {}; +for (var u in unsupportedScopes) { + var value = unsupportedScopes[u]; + if (sortedUnsupportedScopes[value] === undefined) { + sortedUnsupportedScopes[value] = []; + } + sortedUnsupportedScopes[value].push(u); +} + +console.log("I found these unsupported scopes:"); +console.log(sortedUnsupportedScopes); +console.log("It's safe to ignore these, but they may affect your syntax highlighting if your mode depends on any of these rules."); +console.log("Refer to the docs on ace.ajax.org for information on how to add a scope to the CSS generator."); + + +/*** TODO: generate images for indent guides in node + +var indentGuideColor = "#2D2D2D" +var canvas = document.createElement("canvas") +canvas.width = 1; canvas.height = 2; +var ctx = canvas.getContext("2d") +imageData = ctx.getImageData(0,0,1,2) + +function getColor(color) { + ctx.fillStyle = color; + ctx.fillRect(0,0,1,2); + return Array.slice(ctx.getImageData(0,0,1,2).data).slice(0,4) +} +bgColor = getComputedStyle(ace.renderer.scroller).backgroundColor +var a = [].concat(getColor(bgColor), getColor(indentGuideColor)); +a.forEach(function(val,i){imageData.data[i] = val}) + +ctx.putImageData(imageData,0,0) +image = canvas.toDataURL("png") + +var rule = "."+ace.renderer.$theme +" .ace_indent-guide {\n\ + background: url(" + image +") right repeat-y;\n\ +}" +console.log(rule) +require("ace/lib/dom").importCssString(rule) + +*/ \ No newline at end of file diff --git a/tool/tmthemes/Chrome DevTools.tmTheme b/tool/tmthemes/Chrome DevTools.tmTheme new file mode 100644 index 00000000..8f14e4fa --- /dev/null +++ b/tool/tmthemes/Chrome DevTools.tmTheme @@ -0,0 +1,294 @@ + + + + + author + Austin Cummings + name + Chrome DevTools + settings + + + settings + + background + #FFFFFF + caret + #000000 + foreground + #000000 + invisibles + #B3B3B3F4 + lineHighlight + #0000001A + selection + #BAD6FD + + + + name + String + scope + string + settings + + foreground + #C41A16 + + + + name + Number + scope + constant.numeric + settings + + foreground + #1C00CF + + + + name + Keyword + scope + keyword + settings + + foreground + #AA0D91 + + + + name + Operator + scope + keyword.operator + settings + + foreground + #000000 + + + + name + Identifier + scope + constant.language + settings + + foreground + #AA0D91 + + + + name + Exception + scope + support.class.exception + settings + + foreground + #990000 + + + + name + Function name + scope + entity.name.function + settings + + foreground + #000000 + + + + + name + Type name + scope + entity.name.type + settings + + fontStyle + bold underline + + + + name + Arguments + scope + variable.parameter + settings + + fontStyle + italic + + + + name + Comment + scope + comment + settings + + + foreground + #007400 + + + + name + Invalid + scope + invalid + settings + + + foreground + #FF0000 + + + + name + Trailing whitespace + scope + invalid.deprecated.trailing-whitespace + settings + + background + #E71A1100 + + + + name + Embedded source + scope + text source + settings + + background + #FAFAFAFC + foreground + #000000 + + + + name + Tag + scope + meta.tag, declaration.tag + settings + + foreground + #AA0D91 + + + + + name + Support + scope + support + settings + + fontStyle + bold + foreground + #000000 + + + + name + Storage + scope + storage + settings + + + foreground + #AA0D91 + + + + name + Section name + scope + entity.name.section + settings + + fontStyle + bold underline + + + + name + Frame title + scope + entity.name.function.frame + settings + + fontStyle + bold + foreground + #000000 + + + + + name + XML Declaration + scope + meta.tag.preprocessor.xml + settings + + foreground + #333333 + + + + name + Tag Attribute + scope + entity.other.attribute-name + settings + + fontStyle + italic + foreground + + #994500 + + + + name + Tag Name + scope + entity.name.tag + settings + + foreground + #881280 + + + + + uuid + 4FCFA210-B247-11D9-9D00-000D93347A42 + + diff --git a/tool/tmthemes/Dreamweaver.tmTheme b/tool/tmthemes/Dreamweaver.tmTheme new file mode 100644 index 00000000..466863af --- /dev/null +++ b/tool/tmthemes/Dreamweaver.tmTheme @@ -0,0 +1,521 @@ + + + + + comment + By Jim Isaacs - jimisaacs.com + name + Dreamweaver + settings + + + settings + + background + #FFFFFF + caret + #000000 + foreground + #000000 + invisibles + #BFBFBF + lineHighlight + #00000012 + selection + #5EA0FF + + + + name + text + scope + text + settings + + foreground + #000000 + + + + name + constant numeric + scope + constant.numeric - source.css + settings + + fontStyle + + foreground + #EE000B + + + + name + comment general + scope + comment + settings + + fontStyle + + foreground + #9A9A9A + + + + name + html meta + scope + text.html meta.tag + settings + + fontStyle + + foreground + #00359E + + + + name + html string + scope + text.html.basic meta.tag string.quoted - source + settings + + foreground + #001EFF + + + + name + html contstant + scope + text.html.basic constant.character.entity.html + settings + + fontStyle + bold + foreground + #000000 + + + + name + html a tag + scope + text.html meta.tag.a - string + settings + + fontStyle + + foreground + #106800 + + + + name + html img tag + scope + text.html meta.tag.img - string + settings + + foreground + #6D232E + + + + name + html form tag + scope + text.html meta.tag.form - string + settings + + foreground + #FF9700 + + + + name + html table + scope + text.html meta.tag.table - string + settings + + foreground + #009079 + + + + name + js embedded + scope + source.js.embedded.html punctuation.definition.tag - source.php, source.js.embedded.html entity.name.tag.script, source.js.embedded entity.other.attribute-name - source.js string + settings + + fontStyle + + foreground + #842B44 + + + + name + js comment + scope + source.js comment - source.php + settings + + foreground + #9A9A9A + + + + name + js meta function + scope + source.js meta.function - source.php + settings + + fontStyle + + foreground + #000000 + + + + name + js instance / support.function + scope + source.js meta.class - source.php, source.js support.function - source.php + settings + + foreground + #24C696 + + + + name + js string + scope + source.js string - source.php, source.js keyword.operator + settings + + fontStyle + + foreground + #0035FF + + + + name + js support + scope + source.js support.class + settings + + foreground + #7E00B7 + + + + name + js storage + scope + source.js storage + settings + + fontStyle + bold + foreground + #000000 + + + + name + js storage (not function) / bool / new / braces + scope + source.js storage - storage.type.function - source.php, source.js constant - source.php, source.js keyword - source.php, source.js variable.language, source.js meta.brace, source.js punctuation.definition.parameters.begin, source.js punctuation.definition.parameters.end + settings + + fontStyle + bold + foreground + #05208C + + + + name + js regexp + scope + source.js string.regexp, source.js string.regexp constant + settings + + foreground + #106800 + + + + name + css embedded + scope + source.css.embedded.html punctuation.definition.tag, source.css.embedded.html entity.name.tag.style, source.css.embedded entity.other.attribute-name - meta.selector + settings + + foreground + #8D00B7 + + + + name + css @import + scope + source.css meta.at-rule.import.css + settings + + fontStyle + bold + foreground + #009C7F + + + + name + css @important + scope + source.css keyword.other.important + settings + + fontStyle + bold + foreground + #EE000B + + + + name + css @media + scope + source.css meta.at-rule.media + settings + + fontStyle + bold + foreground + #430303 + + + + name + css string + scope + source.css string + settings + + foreground + #106800 + + + + name + css selector/prop-list + scope + source.css meta.selector, source.css meta.property-list, source.css meta.at-rule + settings + + foreground + #DA29FF + + + + name + css punctuation + scope + source.css punctuation.separator - source.php, source.css punctuation.terminator - source.php + settings + + fontStyle + bold + foreground + #DA29FF + + + + name + css property name + scope + source.css meta.property-name + settings + + foreground + #05208C + + + + name + css property value + scope + source.css meta.property-value + settings + + foreground + #0035FF + + + + name + php begin/end block + scope + source.php punctuation.section.embedded.begin, source.php punctuation.section.embedded.end + settings + + fontStyle + bold + foreground + #EE000B + + + + name + php + scope + source.php - punctuation.section + settings + + fontStyle + + foreground + #000000 + + + + name + php varaible + scope + source.php variable, source.php meta.function.arguments + settings + + foreground + #000000 + + + + name + php punctuation + scope + source.php punctuation - string - variable - meta.function + settings + + foreground + #05208C + + + + name + php storage.type + scope + source.php storage.type + settings + + foreground + #24BF96 + + + + name + php keyword general / storage misc + scope + source.php keyword - comment, source.php storage.type.class, source.php storage.type.interface, source.php storage.modifier, source.php constant.language + settings + + foreground + #009714 + + + + name + php support / storage / operator + scope + source.php support , source.php storage, source.php keyword.operator, source.php storage.type.function + settings + + foreground + #0035FF + + + + name + php varaible global + scope + source.php variable.other.global + settings + + foreground + #0092F2 + + + + name + php support constant + scope + source.php support.constant, source.php constant.language.php + settings + + foreground + #551D02 + + + + name + php string + scope + source.php string, source.php string keyword.operator + settings + + fontStyle + + foreground + #E20000 + + + + name + php string variable + scope + source.php string.quoted.double variable + settings + + foreground + #FF6200 + + + + name + php comment general + scope + source.php comment + settings + + foreground + #FF9404 + + + + name + Invalid + scope + invalid + settings + + background + #EFFF8A + fontStyle + bold + foreground + #EE000B + + + + uuid + 4C43099A-C325-4F56-BACB-F332209207B0 + + diff --git a/tool/tmthemes/GitHub.tmTheme b/tool/tmthemes/GitHub.tmTheme new file mode 100644 index 00000000..aa21abce --- /dev/null +++ b/tool/tmthemes/GitHub.tmTheme @@ -0,0 +1,573 @@ + + + + + author + Martin Kühl + comment + A theme based on the GitHub code stylesheet. + name + GitHub + settings + + + comment + +background #files .file .data background-color +caret #files .file .meta color +invisibles .syntax .w +lineHighlight #FFFEEB #files .file .private background-color + alt: #FFFFCC colour that gets added via javascript +selection #B4D5FE handmade :-) + alt: #FFFFCC colour that gets added via javascript + #EAF2F5 #header .userbox background-color + #EAEAEA #files .file background-color + #DEDEDE #files .file border-color + #F9EA86 Mac OS X system selection colour “Gold” + + settings + + background + #F8F8FF + caret + #666666 + foreground + #000000 + invisibles + #BBBBBB + lineHighlight + #FFFEEB + selection + #B4D5FE + + + + comment + .syntax .c, .syntax .c[ml] + name + Comment + scope + comment + settings + + fontStyle + italic + foreground + #999988 + + + + name + Comment.Preproc + scope + comment.block.preprocessor + settings + + comment + .syntax .cp + fontStyle + bold + foreground + #999999 + + + + name + Comment.Special + scope + comment.documentation, comment.block.documentation + settings + + comment + .syntax .cs + fontStyle + bold italic + foreground + #999999 + + + + name + Error + scope + invalid.illegal + settings + + background + #E3D2D2 + comment + .syntax .err + foreground + #A61717 + + + + comment + .syntax .k, .syntax .k[dpr] + name + Keyword + scope + keyword, storage + settings + + fontStyle + bold + + + + comment + .syntax .o, .syntax .ow + name + Operator + scope + keyword.operator + settings + + fontStyle + bold + + + + name + Keyword.Constant + scope + constant.language, support.constant + settings + + comment + .style .kc + fontStyle + bold + + + + name + Keyword.Type + scope + storage.type, support.type + settings + + comment + .style .kt + fontStyle + bold + foreground + #445588 + + + + name + Name.Attribute + scope + entity.other.attribute-name + settings + + comment + .style .na + foreground + #008080 + + + + name + Name.Builtin + scope + variable.other + settings + + comment + .style .nb + foreground + #0086B3 + + + + name + Name.Builtin.Pseudo + scope + variable.language + settings + + comment + .style .bp + foreground + #999999 + + + + comment + TODO: support.class is styled as Name.Constant on GitHub. + name + Name.Class + scope + entity.name.type, entity.other.inherited-class, support.class + settings + + comment + .style .nc + fontStyle + bold + foreground + #445588 + + + + name + Name.Constant + scope + variable.other.constant + settings + + comment + .style .no + foreground + #008080 + + + + name + Name.Entity + scope + constant.character.entity + settings + + comment + .style .ni + foreground + #800080 + + + + name + Name.Exception + scope + entity.name.exception + settings + + comment + .style .ne + foreground + #990000 + + + + name + Name.Function + scope + entity.name.function, support.function, keyword.other.name-of-parameter + settings + + comment + .style .nf + foreground + #990000 + + + + name + Name.Namespace + scope + entity.name.section + settings + + comment + .style .nn + foreground + #555555 + + + + name + Name.Tag + scope + entity.name.tag + settings + + comment + .style .nt + foreground + #000080 + + + + name + Name.Variable + scope + variable.parameter, support.variable + settings + + comment + .style .nv, .style .v[cgi] + foreground + #008080 + + + + name + Literal.Number + scope + constant.numeric, constant.other + settings + + comment + .style .m, .style .m[fhio], .style .il + foreground + #009999 + + + + name + Literal.String + scope + string - string source, constant.character + settings + + comment + .style .s[bcd2ehixl] + fontStyle + + foreground + #DD1144 + + + + name + Literal.String.Regex + scope + string.regexp + settings + + comment + .style .sr + foreground + #009926 + + + + name + Literal.String.Symbol + scope + constant.other.symbol + settings + + comment + .style .ss + foreground + #990073 + + + + name + Punctuation + scope + punctuation + settings + + fontStyle + bold + + + + name + Generic.Deleted + scope + markup.deleted + settings + + background + #FFDDDD + comment + .syntax .gd + foreground + #000000 + + + + name + Generic.Emph + scope + markup.italic + settings + + comment + .syntax .ge + fontStyle + italic + + + + name + Generic.Error + scope + markup.error + settings + + comment + .syntax .gr + foreground + #AA0000 + + + + name + Generic.Heading + scope + markup.heading.1 + settings + + comment + .syntax .gh + foreground + #999999 + + + + name + Generic.Inserted + scope + markup.inserted + settings + + background + #DDFFDD + comment + .syntax .gi + foreground + #000000 + + + + name + Generic.Output + scope + markup.output, markup.raw + settings + + comment + .syntax .go + foreground + #888888 + + + + name + Generic.Prompt + scope + markup.prompt + settings + + comment + .syntax .gp + foreground + #555555 + + + + name + Generic.Strong + scope + markup.bold + settings + + comment + .syntax .gs + fontStyle + bold + + + + name + Generic.Subheading + scope + markup.heading + settings + + comment + .syntax .gu + foreground + #AAAAAA + + + + name + Generic.Traceback + scope + markup.traceback + settings + + comment + .syntax .gt + foreground + #AA0000 + + + + name + Generic.Underline + scope + markup.underline + settings + + fontStyle + underline + + + + name + Extra: Diff Range + scope + meta.diff.range, meta.diff.index, meta.separator + settings + + background + #EAF2F5 + comment + .syntax .gc + foreground + #999999 + + + + name + Extra: Diff From + scope + meta.diff.header.from-file + settings + + background + #FFDDDD + foreground + #999999 + + + + name + Extra: Diff To + scope + meta.diff.header.to-file + settings + + background + #DDFFDD + foreground + #999999 + + + + name + Extra: Link + scope + meta.link + settings + + fontStyle + + foreground + #4183C4 + + + + uuid + FDD6F02A-74F7-4B6C-97F1-857D792EC90E + + diff --git a/tool/tmthemes/Mac Classic.tmTheme b/tool/tmthemes/Textmate (Mac Classic).tmTheme similarity index 100% rename from tool/tmthemes/Mac Classic.tmTheme rename to tool/tmthemes/Textmate (Mac Classic).tmTheme diff --git a/tool/tmthemes/Xcode_default.tmTheme b/tool/tmthemes/Xcode_default.tmTheme new file mode 100644 index 00000000..c7b5072c --- /dev/null +++ b/tool/tmthemes/Xcode_default.tmTheme @@ -0,0 +1,240 @@ + + + + + comment + Carmine Paolino + name + Xcode default + settings + + + settings + + background + #FFFFFF + caret + #000000 + foreground + #000000 + invisibles + #BFBFBF + lineHighlight + #00000012 + selection + #B5D5FF + + + + name + Comment + scope + comment + settings + + foreground + #008E00 + + + + name + Preprocessor Statements + scope + meta.preprocessor, keyword.control.import + settings + + foreground + #7D4726 + + + + name + String + scope + string + settings + + foreground + #DF0002 + + + + name + Number + scope + constant.numeric + settings + + foreground + #3A00DC + + + + name + Built-in constant + scope + constant.language + settings + + foreground + #C800A4 + + + + name + User-defined constant + scope + constant.character, constant.other + settings + + foreground + #275A5E + + + + name + Variable + scope + variable.language, variable.other + settings + + foreground + #C800A4 + + + + name + Keyword + scope + keyword + settings + + foreground + #C800A4 + + + + name + Storage + scope + storage + settings + + foreground + #C900A4 + + + + name + Class name + scope + entity.name.class + settings + + foreground + #438288 + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + + + name + Function name + scope + entity.name.function + settings + + + + name + Function argument + scope + variable.parameter + settings + + + + name + Tag name + scope + entity.name.tag + settings + + foreground + #790EAD + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + foreground + #450084 + + + + name + Library function + scope + support.function + settings + + foreground + #450084 + + + + name + Library constant + scope + support.constant + settings + + foreground + #450084 + + + + name + Library class/type + scope + support.type, support.class + settings + + foreground + #790EAD + + + + name + Library variable + scope + support.other.variable + settings + + foreground + #790EAD + + + + name + Invalid + scope + invalid + settings + + + + uuid + EE3AD170-2B7F-4DE1-B724-C75F13FE0085 + +