From 4fee6a40346171a30fa802143175ada5916e255f Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Wed, 17 Oct 2012 13:32:51 -0700 Subject: [PATCH] Update generated API content --- api/edit_session.html | 8 ++++---- doc/resources/ace/templates/layout.jade | 2 +- lib/ace/edit_session.js | 2 +- lib/ace/tokenizer_dev.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/edit_session.html b/api/edit_session.html index 64081b69..398d61c3 100644 --- a/api/edit_session.html +++ b/api/edit_session.html @@ -136,7 +136,7 @@

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

      @@ -147,9 +147,9 @@

      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.

      +

      Arguments

      rangeRange

      Required. The range to work with

      +

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

      +

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

      Arguments

      rowNumber

      Required. The row number to retrieve from

      columnNumber

      Required. The column number to retrieve from

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

      diff --git a/doc/resources/ace/templates/layout.jade b/doc/resources/ace/templates/layout.jade index da6c2226..68864969 100644 --- a/doc/resources/ace/templates/layout.jade +++ b/doc/resources/ace/templates/layout.jade @@ -3,7 +3,7 @@ include lib #documentation.span8 -if (isIndex) - != content + != indexContent -else mixin api() diff --git a/lib/ace/edit_session.js b/lib/ace/edit_session.js index a951afbb..a739b677 100644 --- a/lib/ace/edit_session.js +++ b/lib/ace/edit_session.js @@ -353,7 +353,7 @@ var EditSession = function(text, mode) { * - row (Number): The row number to retrieve from * - column (Number): The column number to retrieve from * - * Returns an object indicating the token at the current row. THe object has two properties: `index` and `start`. + * Returns an object indicating the token at the current row. The object has two properties: `index` and `start`. **/ this.getTokenAt = function(row, column) { var tokens = this.bgTokenizer.getTokens(row); diff --git a/lib/ace/tokenizer_dev.js b/lib/ace/tokenizer_dev.js index 53d6ea57..6022c4ae 100644 --- a/lib/ace/tokenizer_dev.js +++ b/lib/ace/tokenizer_dev.js @@ -30,7 +30,7 @@ define(function(require, exports, module) { -/** +/* * version of Tokenizer with additional logging * and infinite loop checks * can be used for developing/testing new modes