diff --git a/.gitignore b/.gitignore index a589a0c9..b78137a0 100644 --- a/.gitignore +++ b/.gitignore @@ -13,15 +13,7 @@ # A handy place to put stuff that git should ignore: /ignore/ -node_modules/htmlparser/ -node_modules/amd-loader/ -node_modules/asyncjs/ -node_modules/jsdom/ -node_modules/libxml/ -node_modules/mime/ -node_modules/dryice/ -node_modules/uglify-js/ -node_modules/.bin/ +node_modules/ tool/node_modules/ .git-ref diff --git a/doc/.gitignore b/doc/.gitignore deleted file mode 100644 index 2c4b631f..00000000 --- a/doc/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.DS_Store -out/ -node_modules/ \ No newline at end of file diff --git a/doc/out/ace.html b/doc/out/ace.html new file mode 100644 index 00000000..ae556a5d --- /dev/null +++ b/doc/out/ace.html @@ -0,0 +1,203 @@ + + + + + + + + + Ace API - ace + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

Ace[edit] +

+ +
+
+
+
+

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 | DOMElementRequired. Either the id of an element, or the element itself
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/anchor.html b/doc/out/anchor.html new file mode 100644 index 00000000..4bae9ef9 --- /dev/null +++ b/doc/out/anchor.html @@ -0,0 +1,366 @@ + + + + + + + + + Ace API - anchor + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

Anchor[edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

Creates a new Anchor and associates it with a document. ...

+ +
+

Creates a new Anchor and associates it with a document.

+ +
+

   

+
+

Arguments

docDocumentRequired. The document to associate with the anchor
rowNumberRequired. The starting row position
columnNumberRequired. The starting column position
+
+
+
+
+
+

Events

+
+
+
+
+
    +
  • +
      +
    • Anchor.on("onChange", function(Event e))
    • +
    +
      +
    +
  • +
+
+
+

Fires whenever the anchor position changes. Events that can trigger this function include 'includeText', `'insertL...

+ +
+

Fires whenever the anchor position changes. Events that can trigger this function include 'includeText', 'insertLines', 'removeText', and 'removeLines'.

+ +
+

   

+
+

Arguments

eEventRequired. Contains data about the event
+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • Anchor.detach()
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Anchor.getDocument() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current document. ...

+ +
+

Returns the current document.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Anchor.getPosition() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

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

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

rowNumberRequired. The row index to move the anchor to
columnNumberRequired. The column index to move the anchor to
noClipBooleanRequired. Identifies if you want the position to be clipped
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/background_tokenizer.html b/doc/out/background_tokenizer.html new file mode 100644 index 00000000..0f8ac219 --- /dev/null +++ b/doc/out/background_tokenizer.html @@ -0,0 +1,465 @@ + + + + + + + + + Ace API - background_tokenizer + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

BackgroundTokenizer[edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Constructors

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

Creates a new BackgroundTokenizer object. ...

+ +
+

Creates a new BackgroundTokenizer object.

+ +
+

   

+
+

Arguments

tokenizerTokenizerRequired. The tokenizer to use
editorEditorRequired. The editor to associate with
+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • BackgroundTokenizer.$tokenizeRows(Number firstRow, Number lastRow) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Tokenizes all the rows within the specified region. ...

+ +
+

Tokenizes all the rows within the specified region.

+ +
+

   

+
+

Arguments

startRowNumberRequired. The row to start at
lastRowNumberRequired. The row to finish at
+

Returns

Array of ObjectsA list of the tokenized rows. Each item in the list is an object with two properties, state and start.
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • 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

firstRowNumberRequired. The starting row region
lastRowNumberRequired. The final row region
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • BackgroundTokenizer.getState(Number row) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the state of tokenization for a row.

+ +
+

Returns the state of tokenization for a row.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to start at
+
+
+
+
+
+
+
+
+
+ +
+
+

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

firstRowNumberRequired. The row to start at
lastRowNumberRequired. The row to finish at
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • BackgroundTokenizer.setDocument(Document doc)
    • +
    +
      +
    +
  • +
+
+
+

Sets a new document to associate with this object. ...

+ +
+

Sets a new document to associate with this object.

+ +
+

   

+
+

Arguments

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

tokenizerTokenizerRequired. The new tokenizer to use
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • BackgroundTokenizer.start(Number startRow)
    • +
    +
      +
    +
  • +
+
+
+

Starts tokenizing at the row indicated. ...

+ +
+

Starts tokenizing at the row indicated.

+ +
+

   

+
+

Arguments

startRowNumberRequired. The row to start at
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • BackgroundTokenizer.stop()
    • +
    +
      +
    +
  • +
+
+
+

Stops tokenizing. ...

+ +
+

Stops tokenizing.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/document.html b/doc/out/document.html new file mode 100644 index 00000000..d4572a08 --- /dev/null +++ b/doc/out/document.html @@ -0,0 +1,1031 @@ + + + + + + + + + Ace API - document + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+

Contains the text of the document. Documents are controlled by a single EditSession. 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 | ArrayRequired. The starting text
+
+
+
+
+
+

Methods

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

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

+ +
+

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

rowNumberRequired. The row number to use
columnNumberRequired. 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!

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Document.getLength() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

rowNumberRequired. The row index to retrieve
+
+
+
+
+
+
+
+
+
+ +
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

firstRowNumberRequired. The first row index to retrieve
lastRowNumberRequired. 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

+ +
+

   

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

[Given a range within the document, this function returns all the text within that range as a single string.]{: #Doc...

+ +
+

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

+ +
+

   

+
+

Arguments

rangeRangeRequired. The range to work with
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Document.getValue() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

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

...

+ +
+
+
+

   

+
+

Arguments

positionNumberRequired. The position to start inserting at
textStringRequired. 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.

+ +
+

   

+
+

Arguments

positionNumberRequired. The position to insert at
textStringRequired. 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 trigge...

+ +
+

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

+ +
+

   

+
+

Arguments

rowNumberRequired. The index of the row to insert at
linesArrayRequired. 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}
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Document.insertNewLine(String position) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

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

+ +
+

   

+
+

Arguments

textStringRequired. The text to check
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

Removes the range from the document. ...

+ +
+

Removes the range from the document.

+ +
+

   

+
+

Arguments

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

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to remove from
startColumnNumberRequired. The column to start removing at
endColumnNumberRequired. 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.

+ +
+

   

+
+

Arguments

firstRowNumberRequired. The first row to be removed
lastRowNumberRequired. 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.

+ +
+

   

+
+

Arguments

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

rangeRangeRequired. A specified Range to replace
textStringRequired. 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 `'...

+ +
+

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

newLineModeStringRequired. The newline mode to use; can be either windows, unix, or auto
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Document.setValue(String text) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

textStringRequired. The text to use
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/edit_session.html b/doc/out/edit_session.html new file mode 100644 index 00000000..2b464340 --- /dev/null +++ b/doc/out/edit_session.html @@ -0,0 +1,2770 @@ + + + + + + + + + Ace API - edit_session + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+

Stores various states related to a Document. A single EditSession can be in charge of several Documents.

+ +
+
+
+

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 | StringRequired. If text is a Document, it associates the EditSession with it. Otherwise, a new Document is created, with the initial text
modeTextModeRequired. The inital language mode to use for the document
+
+
+
+
+
+

Events

+
+
+
+
+
    +
  • +
      +
    • EditSession.on("onChange", function(e))
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the document changes. ...

+ +
+

Emitted when the document changes.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("onChangeFold", function(e))
    • +
    +
      +
    +
  • +
+
+
+

Emitted when a code fold changes its state. ...

+ +
+

Emitted when a code fold changes its state.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("onReloadTokenizer", function(e))
    • +
    +
      +
    +
  • +
+
+
+

Reloads all the tokens on the current session. This function calls [[BackgroundTokenizer.start `BackgroundTokenizer....

+ +
+

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

+ +
+

   

+
+
+
+
+
+
+

Methods

+
+
+
+
+ +
+
+

Adds a new marker to the given Range. If inFront is true, a front marker is defined, and the `'changeFrontMark...

+ +
+

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

rangeRangeRequired. Define the range of the marker
clazzStringRequired. Set the CSS class for the marker
typeFunction | StringRequired. Identify the type of the marker
inFrontBooleanRequired. Set to true to establish a front marker
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.clearAnnotations()
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

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

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

+ +
+

   

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

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

docRowNumberRequired. The document row to check
docColumnNumberRequired. The document column to check
+

Returns

ObjectThe object returned by this method has two properties: row and column.
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

Duplicates all the text between firstRow and lastRow. ...

+ +
+

Duplicates all the text between firstRow and lastRow.

+ +
+

   

+
+

Arguments

firstRowNumberRequired. The starting row to duplicate
lastRowNumberRequired. 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.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row number to start from
columnNumberRequired. 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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getDocument() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the Document associated with this session. ...

+ +
+

Returns the Document associated with this session.

+ +
+

   

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

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

rowNumberRequired. The row to retrieve from
+
+
+
+
+
+
+
+
+
+ +
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

firstRowNumberRequired. The first row index to retrieve
lastRowNumberRequired. The final row index to retrieve
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getMarkers(Boolean inFront) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

inFrontBooleanRequired. If true, indicates you only want front markers; false indicates only back markers
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getMode() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current text mode. ...

+ +
+

Returns the current text mode.

+ +
+

   

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

Returns the current new line mode. ...

+ +
+

Returns the current new line mode.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getOverwrite() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if overwrites are enabled; false otherwise. ...

+ +
+

Returns true if overwrites are enabled; false otherwise.

+ +
+

   

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

Returns the height of the indicated row. This is mostly relevant for situations where wrapping occurs, and a single ...

+ +
+

Returns the height of the indicated row. This is mostly relevant for situations where wrapping occurs, and a single line spans across multiple rows.

+ +
+

   

+
+

Arguments

configObjectRequired. An object containing a parameter indicating the lineHeight.
rowNumberRequired. The row number to check
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

Returns the length of the indicated row. ...

+ +
+

Returns the length of the indicated row.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row number to check
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getScreenLength() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the length of the screen. ...

+ +
+

Returns the length of the screen.

+ +
+

   

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

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

+ +
+

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

+ +
+

   

+
+

Arguments

screenColumnNumberRequired. 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.]{: #Ed...

+ +
+

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 for a row. ...

+ +
+

Returns the state of tokenization for a row.

+ +
+

   

+
+

Arguments

rowNumberRequired. 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 [[Ed...

+ +
+

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.

+ +
+

   

+
+

Arguments

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

rowNumberRequired. The row number to retrieve from
columnNumberRequired. The column number to retrieve from
+
+
+
+
+
+
+
+
+
+ +
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

firstRowNumberRequired. The row to start at
lastRowNumberRequired. The row to finish at
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getUndoManager() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getUseWorker() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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.

+ +
+

   

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

Returns the current Document as a string. ...

+ +
+

Returns the current Document as a string.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getWidth() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the width of the document. ...

+ +
+

Returns the width of the document.

+ +
+

   

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

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

rowNumberRequired. The row to start at
columnNumberRequired. The column to start at
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getWrapLimit() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the value of wrap limit. ...

+ +
+

Returns the value of wrap limit.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.getWrapLimitRange() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
{ min: wrapLimitRange_min, max: wrapLimitRange_max }
+ +
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+

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

+ +

Arguments

startRowNumberRequired. Starting row
endRowNumberRequired. Ending row
indentStringStringRequired. The indent token
+
+
+
+
+
+
+
+
+
+ +
+
+

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

+ +
+

Inserts a block of text and the indicated position.

+ +
+

   

+
+

Arguments

positionNumberRequired. The position to start inserting at
textStringRequired. 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.

+ +
+

   

+
+

Arguments

positionObjectRequired. The position to check
+
+
+
+
+
+
+
+
+
+ +
+
+

...

+ +
+
+
+

   

+
+

Arguments

firstRowNumberRequired. The starting row to move down
lastRowNumberRequired. 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.

+ +
+

   

+
+

Arguments

firstRowNumberRequired. The starting row to move up
lastRowNumberRequired. 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

fromRangeRangeRequired. The range of text you want moved within the document
toPositionObjectRequired. 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.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

rangeRangeRequired. A range of rows
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

Re-implements a previously undone change to your document. ...

+ +
+

Re-implements a previously undone change to your document.

+ +
+

   

+
+

Arguments

deltasArrayRequired. An array of previous changes
dontSelectBooleanRequired. 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

rangeRangeRequired. 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.removeMarker(Number markerId)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

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

rangeRangeRequired. A specified Range to replace
textStringRequired. 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.
+
+
+
+
+
+
+
+
+
+ +
+
+

Converts characters coordinates on the screen to characters coordinates within the document. [This takes into accoun...

+ +
+

This takes into account code folding, word wrap, tab size, and any other visual modifications.

+ +
+

   

+
+

Arguments

screenRowNumberRequired. The screen row to check
screenColumnNumberRequired. The screen column to check
+

Returns

ObjectThe object returned has two properties: row and column.
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • 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

annotationsArrayRequired. A list of annotations
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.setBreakpoint(Number row)
    • +
    +
      +
    +
  • +
+
+
+

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

rowNumberRequired. A row index
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • 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

rowsArrayRequired. An array of row indicies
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.setDocument(Document doc)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

docDocumentRequired. The new Document to use
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.setMode(TextMode mode)
    • +
    +
      +
    +
  • +
+
+
+

Sets a new text mode for the EditSession. This method also emits the 'changeMode' event. If a [[BackgroundTokeni...

+ +
+

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

modeTextModeRequired. Set a new text mode
+
+
+
+
+
+
+
+
+
+ +
+
+

Sets the new line mode. ...

+ +
+

Sets the new line mode.

+ +
+

   

+
+

Arguments

newLineModeStringRequired. 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. If overwrites is enabled, any text you e...

+ +
+

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

overwriteBooleanRequired. 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.]{: #Edi...

+ +
+

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

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

+ +
+

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

tabSizeNumberRequired. The new tab size
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.setUndoManager(UndoManager undoManager)
    • +
    +
      +
    +
  • +
+
+
+

Sets the undo manager. ...

+ +
+

Sets the undo manager.

+ +
+

   

+
+

Arguments

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

enableBooleanRequired. If true, selects the range of the reinserted change
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.setUseSoftTabs(Boolean useSoftTabs)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

useSoftTabsBooleanRequired. Value indicating whether or not to use soft tabs
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.setUseWorker(Boolean useWorker)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

useWorkerBooleanRequired. 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 `'changeWrap...

+ +
+

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

+ +
+

   

+
+

Arguments

useWrapModeBooleanRequired. Enable (or disable) wrap mode
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.setValue(String text)
    • +
    +
      +
    +
  • +
+
+
+

Sets the session text. ...

+ +
+

Sets the session text.

+ +
+

   

+
+

Arguments

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

+ +
+

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

minNumberRequired. The minimum wrap value (the left side wrap)
maxNumberRequired. The maximum wrap value (the right side wrap)
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.toggleOverwrite()
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

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

Returns the current Document as a string. ...

+ +
+

Returns the current Document as a string.

+ +
+

   

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

Reverts previous changes to your document. ...

+ +
+

Reverts previous changes to your document.

+ +
+

   

+
+

Arguments

deltasArrayRequired. An array of previous changes
dontSelectBooleanRequired. If true, doesn't select the range of where the change occured
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/editor.html b/doc/out/editor.html new file mode 100644 index 00000000..3f57f203 --- /dev/null +++ b/doc/out/editor.html @@ -0,0 +1,4400 @@ + + + + + + + + + Ace API - editor + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

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

rendererVirtualRendererRequired. Associated VirtualRenderer that draws everything
sessionEditSessionRequired. The EditSession to refer to
+
+
+
+
+
+

Events

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

Emitted once the editor has been blurred. ...

+ +
+

Emitted once the editor has been blurred.

+ +
+

   

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

Emitted when an annotation changes. ...

+ +
+

Emitted when an annotation changes.

+ +
+

   

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

Emitted when a back marker changes. ...

+ +
+

Emitted when a back marker changes.

+ +
+

   

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

Emitted when a breakpoint changes. ...

+ +
+

Emitted when a breakpoint changes.

+ +
+

   

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

Emitted when the code folds change. ...

+ +
+

Emitted when the code folds change.

+ +
+

   

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

Emitted when a front marker changes. ...

+ +
+

Emitted when a front marker changes.

+ +
+

   

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

Emitted when the mode changes. ...

+ +
+

Emitted when the mode changes.

+ +
+

   

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

Emitted when the wrap limit changes. ...

+ +
+

Emitted when the wrap limit changes.

+ +
+

   

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

Emitted when the wrap mode changes. ...

+ +
+

Emitted when the wrap mode changes.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.on("onCommandKey", function(e, hashId, keyCode))
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the command-key is pressed. ...

+ +
+

Emitted when the command-key is pressed.

+ +
+

   

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

Emitted when the cursor changes. ...

+ +
+

Emitted when the cursor changes.

+ +
+

   

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

Emitted whenever the document is changed. ...

+ +
+

Emitted whenever the document is changed.

+ +
+

   

+
+

Arguments

eObjectRequired. Contains a single property, data, which has the delta of changes
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.on("onFocus", function())
    • +
    +
      +
    +
  • +
+
+
+

Emitted once the editor comes into focus. ...

+ +
+

Emitted once the editor comes into focus.

+ +
+

   

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

Emitted when the scroll left changes. ...

+ +
+

Emitted when the scroll left changes.

+ +
+

   

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

Emitted when the scroll top changes. ...

+ +
+

Emitted when the scroll top changes.

+ +
+

   

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

Emitted when a selection has changed. ...

+ +
+

Emitted when a selection has changed.

+ +
+

   

+
+

Arguments

eObjectRequired. Contains a single property, data, which has the delta of changes
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.on("onTextInput", function(String text, Boolean pasted))
    • +
    +
      +
    +
  • +
+
+
+

Emitted when text is entered. ...

+ +
+

Emitted when text is entered.

+ +
+

   

+
+

Arguments

textStringRequired. The text entered
pastedBooleanRequired. Identifies whether the text was pasted (true) or not
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.on("onTokenizerUpdate", function(Object e))
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the a tokenizer is updated. ...

+ +
+

Emitted when the a tokenizer is updated.

+ +
+

   

+
+

Arguments

eObjectRequired. Contains a single property, data, which indicates the changed rows
+
+
+
+
+
+

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.

+ +
+

   

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

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

+ +
+

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

+ +
+

   

+
+

Arguments

moverFunctionRequired. A method to call on each selected row
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.addSelectionMarker(Range orientedRange) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Adds the selection and cursor. ...

+ +
+

Adds the selection and cursor.

+ +
+

   

+
+

Arguments

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

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

needleStringRequired. The text to search for
optionsObjectRequired. An object defining various search properties
+
+
+
+
+
+
+
+
+
+ +
+
+

Finds and selects all the occurences of needle. ...

+ +
+

Finds and selects all the occurences of needle.

+ +
+

   

+
+

Arguments

needleStringRequired. The text to find
optionsObjectRequired. Any of the additional search options
additiveBooleanRequired. TODO
+

Returns

NumberThe number of found ranges.
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.findNext(options)
    • +
    + +
  • +
+
+
+

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.findPrevious(options)
    • +
    + +
  • +
+
+
+

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.

+ +
+

   

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

cmdStringRequired. The command to execute
argsStringRequired. 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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getCopyText() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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 screen position of the cursor. ...

+ +
+

Returns the screen position of the cursor.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getDragDelay() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current mouse drag delay. ...

+ +
+

Returns the current mouse drag delay.

+ +
+

   

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

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

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 the index of the last visible row. ...

+ +
+

Returns the index of the last visible row.

+ +
+

   

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

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getReadOnly() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getScrollSpeed() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getSelection() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the currently highlighted selection. ...

+ +
+

Returns the currently highlighted selection.

+ +
+

   

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

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getShowFoldWidgets() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the fold widgets are shown. ...

+ +
+

Returns true if the fold widgets are shown.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getShowInvisibles() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if invisible characters are being shown. ...

+ +
+

Returns true if invisible characters are being shown.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getShowPrintMargin() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the print margin is being shown. ...

+ +
+

Returns true if the print margin is being shown.

+ +
+

   

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

Returns the path of the current theme. ...

+ +
+

Returns the path of the current theme.

+ +
+

   

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

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

lineNumberNumberRequired. The line number to go to
columnNumberRequired. A column number to go to
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • 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.

+ +
+

   

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

Indents the current line. ...

+ +
+

Indents the current line.

+ +
+

   

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

Inserts text into wherever the cursor is pointing. ...

+ +
+

Inserts text into wherever the cursor is pointing.

+ +
+

   

+
+

Arguments

textStringRequired. The new text to add
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.isFocused() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the current textInput is in focus. ...

+ +
+

Returns true if the current textInput is in focus.

+ +
+

   

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

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

+ +
+

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

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to check
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

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

+ +
+

Indicates if the row is currently visible on the screen.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to check
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.jumpToMatching()
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

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

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

+ +
+

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

+ +
+

   

+
+

Arguments

rowNumberRequired. The new row number
columnNumberRequired. 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.

+ +
+

   

+
+

Arguments

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

+ +
+

   

+

{ row: newRowLocation, column: newColumnLocation }

+ +

Arguments

fromRangeRangeRequired. The range of text you want moved within the document
toPositionObjectRequired. 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 selec...

+ +
+

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

+ +
+

   

+
+

Arguments

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

+ +
+

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

+ +
+

   

+
+

Arguments

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

+ +
+

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

+ +
+

   

+
+

Arguments

timesNumberRequired. The number of times to change navigation
+
+
+
+
+
+
+
+
+
+ +
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

rowNumberRequired. The new row number
columnNumberRequired. The new column number
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.navigateUp(Number times)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

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

+ +
+

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

+ +
+

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

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.removeSelectionMarker(Range range)
    • +
    +
      +
    +
  • +
+
+
+

Removes the selection marker. ...

+ +
+

Removes the selection marker.

+ +
+

   

+
+

Arguments

rangeRangeRequired. The selection range added with addSelectionMarker().
+
+
+
+
+
+
+
+
+
+ +
+
+

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

dirNumberRequired. The direction of lines to select: -1 for up, 1 for down
skipBooleanRequired. If true, removes the active selection range
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

Adds a cursor above or below the active cursor. ...

+ +
+

Adds a cursor above or below the active cursor.

+ +
+

   

+
+

Arguments

dirNumberRequired. The direction of lines to select: -1 for up, 1 for down
skipBooleanRequired. If true, removes the active selection range
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.transposeSelections(Number dir)
    • +
    +
      +
    +
  • +
+
+
+

Transposes the selected ranges. ...

+ +
+

Transposes the selected ranges.

+ +
+

   

+
+

Arguments

dirNumberRequired. The direction to rotate selections
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.onCut()
    • +
    +
      +
    +
  • +
+
+
+

Emitted whenever a text "cut" happens. ...

+ +
+

Emitted whenever a text "cut" happens.

+ +
+

   

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

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

+ +
+

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

+ +
+

   

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

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

+ +
+

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

+ +
+

   

+
+

Arguments

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

replacementStringRequired. The text to replace with
optionsObjectRequired. 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

replacementStringRequired. The text to replace with
optionsObjectRequired. The Search options to use
+
+
+
+
+
+
+
+
+
+ +
+
+

Triggers a resize of the editor. ...

+ +
+

Triggers a resize of the editor.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • 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 scrollsa to line, if center == true, puts line in middle of screen or attempts to) ...

+ +
+

TODO scrollsa to line, if center == true, puts line in middle of screen or attempts to)

+ +
+

   

+
+

Arguments

lineNumberRequired. The line to scroll to
centerBooleanRequired. If true
+
+
+
+
+
+
+
+
+
+ +
+
+

Moves the editor to the specified row. ...

+ +
+

Moves the editor to the specified row.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to move to
+
+
+
+
+
+
+
+
+
+ +
+
+

Selects all the text in editor. ...

+ +
+

Selects all the text in editor.

+ +
+

   

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

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

+ +
+

"Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.

+ +
+

   

+
+

Arguments

enabledBooleanRequired. Enables or disables behaviors
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setDragDelay(Number dragDelay)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

dragDelayNumberRequired. A value indicating the new delay
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setFontSize(Number size)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

sizeNumberRequired. A font size
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setHighlightActiveLine(Boolean shouldHighlight)
    • +
    +
      +
    +
  • +
+
+
+

Determines whether or not the current line should be highlighted. ...

+ +
+

Determines whether or not the current line should be highlighted.

+ +
+

   

+
+

Arguments

shouldHighlightBooleanRequired. Set to true to highlight the current line
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setHighlightSelectedWord(Boolean shouldHighlight)
    • +
    +
      +
    +
  • +
+
+
+

Determines if the currently selected word should be highlighted. ...

+ +
+

Determines if the currently selected word should be highlighted.

+ +
+

   

+
+

Arguments

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

+ +
+

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

overwriteBooleanRequired. Defines wheter or not to set overwrites
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setPrintMarginColumn(Number showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

Sets the column defining where the print margin should be. ...

+ +
+

Sets the column defining where the print margin should be.

+ +
+

   

+
+

Arguments

showPrintMarginNumberRequired. Specifies the new print margin
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setReadOnly(Boolean readOnly)
    • +
    +
      +
    +
  • +
+
+
+

If readOnly is true, then the editor is set to read-only mode, and none of the content can change. ...

+ +
+

If readOnly is true, then the editor is set to read-only mode, and none of the content can change.

+ +
+

   

+
+

Arguments

readOnlyBooleanRequired. Specifies whether the editor can be modified or not
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setScrollSpeed(Number speed)
    • +
    +
      +
    +
  • +
+
+
+

Sets how fast the mouse scrolling should do. ...

+ +
+

Sets how fast the mouse scrolling should do.

+ +
+

   

+
+

Arguments

speedNumberRequired. 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 `'chan...

+ +
+

Indicates how selections should occur. By default, selections are set to "line". This function also emits the 'changeSelectionStyle' event.

+ +
+

   

+
+

Arguments

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

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

showBooleanRequired. Specifies whether the fold widgets are shown
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setShowInvisibles(Boolean showInvisibles)
    • +
    +
      +
    +
  • +
+
+
+

If showInvisibiles is set to true, invisible characters—like spaces or new lines—are show in the editor. ...

+ +
+

If showInvisibiles is set to true, invisible characters—like spaces or new lines—are show in the editor.

+ +
+

   

+
+

Arguments

showInvisiblesBooleanRequired. Specifies whether or not to show invisible characters
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setShowPrintMargin(Boolean showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

If showPrintMargin is set to true, the print margin is shown in the editor. ...

+ +
+

If showPrintMargin is set to true, the print margin is shown in the editor.

+ +
+

   

+
+

Arguments

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

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setTheme(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.

+ +
+

   

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

+ +
+

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.

+ +
+

   

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

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/index.html b/doc/out/index.html new file mode 100644 index 00000000..16813924 --- /dev/null +++ b/doc/out/index.html @@ -0,0 +1,137 @@ + + + + + + + + + Ace API + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+

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 diff --git a/doc/out/multi_select.html b/doc/out/multi_select.html new file mode 100644 index 00000000..7a30ef88 --- /dev/null +++ b/doc/out/multi_select.html @@ -0,0 +1,132 @@ + + + + + + + + + Ace API - multi_select + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/placeholder.html b/doc/out/placeholder.html new file mode 100644 index 00000000..a8d0ab7a --- /dev/null +++ b/doc/out/placeholder.html @@ -0,0 +1,414 @@ + + + + + + + + + Ace API - placeholder + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

PlaceHolder[edit] +

+ +
+
+
+
+

TODO

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

TODO ...

+ +
+

TODO

+ +
+

   

+
+

Arguments

sessionDocumentRequired. The document to associate with the anchor
lengthNumberRequired. The starting row position
posNumberRequired. The starting column position
othersStringRequired.
mainClassStringRequired.
othersClassStringRequired.
+
+
+
+
+
+

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/doc/out/range.html b/doc/out/range.html new file mode 100644 index 00000000..d0da16c0 --- /dev/null +++ b/doc/out/range.html @@ -0,0 +1,1106 @@ + + + + + + + + + Ace API - range + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

Range[edit] +

+ +
+
+
+
+

This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

Creates a new Range object with the given starting and ending row and column points. ...

+ +
+

Creates a new Range object with the given starting and ending row and column points.

+ +
+

   

+
+

Arguments

startRowNumberRequired. The starting row
startColumnNumberRequired. The starting column
endRowNumberRequired. The ending row
endColumnNumberRequired. The ending column
+
+
+
+
+
+

Methods

+
+
+
+
+ +
+
+

Returns the part of the current Range that occurs within the boundaries of firstRow and lastRow as a new `Rang...

+ +
+

Returns the part of the current Range that occurs within the boundaries of firstRow and lastRow as a new Range object.

+ +
+

   

+
+

Arguments

firstRowNumberRequired. The starting row
lastRowNumberRequired. The ending row
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.clone() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

rowNumberRequired. A row point to compare with
columnNumberRequired. 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.

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to compare with
columnNumberRequired. 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.

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to compare with
columnNumberRequired. 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.

+ +
+

   

+
+

Arguments

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

+ +
+

   

+
+

Arguments

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

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to compare with
columnNumberRequired. 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 return...

+ +
+

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

rowNumberRequired. A row to check for
columnNumberRequired. 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 ...

+ +
+

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

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

+ +
+

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

rowNumberRequired. A new row to extend to
columnNumberRequired. A new column to extend to
+
+
+
+
+
+
+
+
+
+ +
+
+

Creates and returns a new Range based on the row and column of the given parameters. ...

+ +
+

Creates and returns a new Range based on the row and column of the given parameters.

+ +
+

   

+
+

Arguments

startRangeRequired. A starting point to use
endRangeRequired. An ending point to use
+
+
+
+
+
+
+
+
+
+ +
+
+

Returns true if the row and column are within the given range. ...

+ +
+

Returns true if the row and column are within the given range.

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to compare with
columnNumberRequired. A column point to compare with
+
+
+
+
+
+
+
+
+
+ +
+
+

Returns true if the row and column are within the given range's ending points. ...

+ +
+

Returns true if the row and column are within the given range's ending points.

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to compare with
columnNumberRequired. A column point to compare with
+
+
+
+
+
+
+
+
+
+ +
+
+

Returns true if the row and column are within the given range's starting points. ...

+ +
+

Returns true if the row and column are within the given range's starting points.

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to compare with
columnNumberRequired. A column point to compare with
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

Returns true if passed in range intersects with the one calling this method. ...

+ +
+

Returns true if passed in range intersects with the one calling this method.

+ +
+

   

+
+

Arguments

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

+ +
+

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

rowNumberRequired. A row point to compare with
columnNumberRequired. 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 ...

+ +
+

Returns true if and only if the starting row and column, and ending tow and column, are equivalent to those given by range.

+ +
+

   

+
+

Arguments

rangeRangeRequired. A range to check against
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.isMultiLine() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the range spans across multiple lines. ...

+ +
+

Returns true if the range spans across multiple lines.

+ +
+

   

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

Returns true if the caller's starting row point is the same as row, and if the caller's starting column is the s...

+ +
+

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

rowNumberRequired. A row point to compare with
columnNumberRequired. A column point to compare with
+
+
+
+
+
+
+
+
+
+ +
+
+

Sets the starting row and column for the range. ...

+ +
+

Sets the starting row and column for the range.

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to set
columnNumberRequired. A column point to set
+
+
+
+
+
+
+
+
+
+ +
+
+

Sets the starting row and column for the range. ...

+ +
+

Sets the starting row and column for the range.

+ +
+

   

+
+

Arguments

rowNumberRequired. A row point to set
columnNumberRequired. A column point to set
+
+
+
+
+
+
+
+
+
+ +
+
+

Given the current Range, this function converts those starting and ending points into screen positions, and then r...

+ +
+

Given the current Range, this function converts those starting and ending points into screen positions, and then returns a new Range object.

+ +
+

   

+
+

Arguments

sessionEditSessionRequired. The EditSession to retrieve coordinates from
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.toString() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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 diff --git a/doc/out/resources/csses/ace_api.css b/doc/out/resources/csses/ace_api.css new file mode 100644 index 00000000..170d6108 --- /dev/null +++ b/doc/out/resources/csses/ace_api.css @@ -0,0 +1,1027 @@ +/* + Generic "affects everything" stuff +*/ +body { + min-width: 1010px; + color: #2D2D2D; + background: #EDF5FA url(../images/main_bg.png) 0 0 repeat; +} + +ul { + font-size: 13px; +} + +li { + color: black; +} + +a, a:hover { + color : #00438a; +} + +code { + font-size: 12px; + line-height: 16px; + font-family: 'Ubuntu Mono',Monaco,Consolas,monospace !important; + background-color: #F9F9F9; + border-radius: 3px 3px 3px 3px; + box-shadow: 0 0 2px #888888; + display: inline-block; + padding: 0 4px; + margin: 2px 1px; + color: inherit; +} + +pre { + margin-top: 10px; + border-radius: none; + box-shadow: none; + background : white; + /*background : #f5f5f5; + border: 0;*/ + + -webkit-border-radius: 6px 6px 0 0; + -moz-border-radius: 6px 6px 0 0; + border-radius: 6px 6px 0 0; + + padding: 5px; +} + +.method pre, .event pre, .property pre { + background : white; +} + +pre code { + background-color: transparent; + border-radius: none; + box-shadow: none; +} + +a code { + color: #00438a; +} + +h2 { + font-size: 26px; +} +p { + font-size: 13px; + line-height : 20px; + margin-bottom : 13px; +} +li p:last-child { + margin-bottom : 5px; +} + +blockquote p{ + font-size: 14px; + font-weight: 500; + line-height: 23px; + font-style: italic; +} + +.alert-message{ + margin-bottom : 13px; +} +/* + Header and shoulders +*/ + +.navbar .nav > li { + float:none; + display:inline-block; + *display:inline; /* ie7 fix */ + zoom:1; /* hasLayout ie7 trigger */ +} + +.navbar { + text-align:center; +} + +.small_win #topSection { + width: 100%; +} +.small_win #topSection .dropdown { + margin-right: 40%; +} +.brand { + background: transparent url(../images/ace_logo_menu.png) no-repeat 13px 5px; + width: 105px; + outline: none; + height: 40px; + padding: 0 10px !important; + border: none; +} +.brand.dropdown-toggle:after { + content: none; + display: block; + height: 40px; + border: none; +} + +.ace_logo { + position: absolute; + top: 45px; + z-index: 20000; + left: 210px; +} + +.masthead { + background: #101010 url(../images/dashed_back.png) repeat 0 0; +} +.masthead .container { + /*width: 680px;*/ + padding-left: 285px; + margin: 0 auto; + color: white; +} +.jumbotron { + min-width: 1000px; + padding-top: 40px; + position: relative; +} + +.jumbotron .inner { +/* background: transparent url(../images/header-back.png) top center;*/ + padding: 45px 0; +/* -webkit-box-shadow: inset 0 10px 30px rgba(0,0,0,.3); + -moz-box-shadow: inset 0 10px 30px rgba(0,0,0,.3);*/ +} + +.headerTitle { + position: relative; + top: 100px; + left: 250px; +} + +/* + Menu venue +*/ + +ul.menu { + margin-left: 16px; +} + +.menu li { + list-style-image: url(../images/menu_disc.png); + margin-bottom: 3px; + font-weight : 700; +} + +.menu li .menu-item a.menuLink, .menu li .menu-item span.menuLink { + color: #262626; +} +.menuTwo { + margin-bottom: 5px; + margin-top: 2px; +} +.menuTwo li .menu-item a.menuLink { + color: #262626; +} + +/* need specificity to "beat" the above colors */ +.menu li .menu-item a.currentItem, .menuTwo li .menu-item { + color: #0072bc; +} + +/* + Members and the tabs that represent them +*/ + +.members { +/* width: 800px; */ + /*width: 700px;*/ +/* margin: 0 10px;*/ + + height: 42px; + left: 0; +/* position: fixed;*/ + top: 0; +/* transition-duration: 300ms, 300ms; + transition-property: box-shadow, height; + transition-timing-function: ease-out, ease-out; + -moz-transition-duration: 300ms, 300ms; + -moz-transition-property: -moz-box-shadow, height; + -moz-transition-timing-function: ease-out, ease-out; + -o-transition-duration: 300ms, 300ms; + -o-transition-property: -o-box-shadow, height; + -o-transition-timing-function: ease-out, ease-out; + -webkit-transition-duration: 300ms, 300ms; + -webkit-transition-property: -webkit-box-shadow, height; + -webkit-transition-timing-function: ease-out, ease-out;*/ +/* width: 100%;*/ + /*transition-duration: 300ms; + transition-property: box-shadow; + transition-timing-function: ease-out; + -moz-transition-duration: 300ms, 300ms; + -moz-transition-property: -moz-box-shadow, height; + -moz-transition-timing-function: ease-out, ease-out; + -o-transition-duration: 300ms; + -o-transition-property: -o-box-shadow; + -o-transition-timing-function: ease-out;*/ + -webkit-transition-duration: 400ms, 0ms; + -webkit-transition-property: -webkit-box-shadow, background; + -webkit-transition-timing-function: ease-out, ease-out; + z-index: 100; + padding-bottom : 5px; + overflow: visible !important; + +/* background: #FFF; + width: 100%; + padding-bottom: 13px; + top: 40px; + position: fixed;*/ +} +.srolled .members { + width: 100%; +/* -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); + -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); + box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); */ + padding-bottom: 15px; +/* height: 31px;*/ + top: 40px; + position: fixed; +} +.shadow.members{ + background: #edf8fd; + box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); + -moz-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); + -o-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); + -webkit-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3); +} + +.membersContent { + +/* border-bottom: 0.1em solid #FFF;*/ + height: 3em; + padding-top: 4px; +/* line-height: 4;*/ +/* margin-top: -0.1em;*/ + position: relative; +/* transition-property: border-color, line-height; + transition-duration: 125ms, 250ms; + transition-timing-function: ease-out, ease-out; + -moz-transition-property: border-color, line-height; + -moz-transition-duration: 125ms, 250ms; + -moz-transition-timing-function: ease-out, ease-out; + -o-transition-property: border-color, line-height; + -o-transition-duration: 125ms, 250ms; + -o-transition-timing-function: ease-out, ease-out; + -webkit-transition-property: border-color, line-height; + -webkit-transition-duration: 125ms, 250ms; + -webkit-transition-timing-function: ease-out, ease-out;*/ + + /*transition-duration: 125ms; + transition-property: top; + transition-timing-function: ease-out; + + top : 11px;*/ + z-index: 103; + /*width: 700px;*/ +} +.srolledHeader .membersContent { + line-height: 3; +} +.srolled .membersContent { + /*top : 0;*/ + width : 695px; + padding-left : 305px; + margin : 0 auto 0 auto; +} +.membersBackground { +/* background-color: white; + position: fixed; + z-index: 2; + top: 40px; + left: 0px; + right: 0px; + width: 100%; + height: 55px; + opacity: 0; + display: none; + box-shadow: rgba(0, 0, 0, 0.398438) 1px 4px 6px;*/ + + background-color: transparent; + height: 47px; + /*width: 700px;*/ + position: absolute; +} +.srolled .membersBackground { + position: relative; +} +.srolledHeader .membersBackground { +/* display: block;*/ +} +.memberHeader { + float: left; + padding-right: 10px; + margin-bottom: 5px; + position: absolute; + +} + +.tabs a.menu:after, .tabs .dropdown-toggle:after { + margin-top: 22px; +} + +.dropdown .caret { + margin-top: 14px; + color: #6D8CA0; +} + +li.dropdown { + color: #2D2D2D; + font-weight: bold; +} + + +.backToMDN, .editInC9 { + font-size: 11px; + color: #657383; + margin : 0 0 0 5px; +} + +.backToMDN a, .editInC9 a { + color: #657383; + font-weight: normal; + position : relative; + top : -2px; +} + +.tabs { + padding-top: 10px; + /*border-bottom: 1px solid #848484;*/ + min-height : 27px; + padding-bottom : 5px; +} +.tabsSansBorder { + border: 0; +} +.tabs, .pills { + margin-bottom: 0; +} +.srolledHeader .members .tabs { + background-color: white; +} + +li.dropdown { + color: #2D2D2D; + font-weight: bold; +} + +.members .tabs .dropdown a, +.members .tabs a.menu:after, +.members .tabs .dropdown-toggle:after { + margin-right: 0; + margin-left: 6px; +} + +.members .tabs ul li { + font-weight: bold; +} + +.memberLink a { + margin-left: 0 !important; +} +.menu-dropdown, .dropdown-menu { + min-width : 105px; + max-height: 350px; + overflow: auto; + border-color : rgba(0, 0, 0, 0.1); +} +.topbar div > ul .menu-dropdown li a:hover, +.nav .menu-dropdown li a:hover, +.topbar div > ul .dropdown-menu li a:hover, +.nav .dropdown-menu li a:hover { + background-color: #ffffff; + color: #000000; +} +.dropdown-menu { + border-top: none; +} + +.tabs a.menu:after, .tabs .dropdown-toggle:after { + margin-top: 13px; + line-height: 28px; +} +.open .menu, .dropdown.open .menu, .open .dropdown-toggle, .dropdown.open .dropdown-toggle { + background: transparent; + color: black; +/* font-weight: bold;*/ +} +#topSection .open .menu, #topSection .dropdown.open .menu, #topSection .open .dropdown-toggle, +#topSection .dropdown.open .dropdown-toggle { + color: #bfbfbf; +} + +.tabs > li { + font-weight: bold; +} + +.tabs > li > a { + border: none; + outline: none; + line-height: 28px; + font-size: 11px; + padding: 0 5px; +} +.tabs > li > a:hover { + color: #000000; + text-decoration: none; + background-color: transparent; + border: none; +} +.tabs > li, .pills > li { + float: right; +} +.topbar .dropdown-menu a, .dropdown-menu a { + font-size: 11px; +/* padding: 2px 12px;*/ + line-height: 14px; +} +.tabs .active > a, .tabs .active > a:hover { + color: #000000; + border: none; + cursor: default; +} +.tabs .menu-dropdown, .tabs .dropdown-menu { + border-radius: 0 0 6px 6px; + top: 32px; + right: 0px; + width: 150px; +} +.srolled .tabs .menu-dropdown, .srolled .tabs .dropdown-menu { + top: 32px; +} +.dropdown-toggle { + color: #6D8CA0; +} + +ul.tabs .double ul, ul.tabs .triple ul, ul.tabs .quad ul{ + width:760px; + margin-bottom:20px; + overflow:hidden; + border-top:1px solid #ccc; +} +/*ul.tabs .double li, ul.tabs .triple li, ul.tabs .quad li{ + line-height:1.5em; + border-bottom:1px solid #ccc; + float:left; + display:inline; +}*/ + +/* + Center content (the "real stuff") +*/ + +.content .row { + width: 1000px; + margin-left: auto; + margin-right: auto; +} + +.content .centerpiece { + background: url(../images/sidebar_border.png) repeat-y 180px 0; + padding-bottom: 50px; +} + +header.filler { + position: relative; + background: #EDF5FA; + height: 50px; + width: 100%; +} + +.container { + width: 100%; +} + +/* +.container-fluid .row-fluid { + width: 1000px; + margin-left: auto; + margin-right: auto; +}*/ + +.divider { + height: 3px; + background-color: #BEDAEA; + margin-bottom: 3px; +} + +.sidebarContainer { + width: 280px; + margin-left: 0px; +} + +#sidebar { + margin-top: 9px; + /*background: url(../images/sidebar-border.png) repeat-y right 0;*/ + margin-left: 12px; +/* width: 280px;*/ +/* overflow: auto;*/ + padding-right : 10px; +} + +#sidebar h3 a, +#sidebar h3 a:hover { + color: #404040; +} + +.mainContent .hero-unit { + background: rgba(255, 255, 255, 0.5); +} + +#documentation { + padding-bottom: 10px; +} + +#documentation article.article { +/* border-bottom: 1px solid #e9e9e9;*/ + border-top: 1px solid #e9e9e9; + padding: 16px 10px 2px; +} +div#documentation article:last-child { + border-bottom: 1px solid #e9e9e9; + padding-bottom: 40px; +} +#documentation article.article.methodToggleOpen { + background: rgba(255, 255, 255, 0.5); + padding: 20px; + font-size: 13px; + line-height: 24px; + margin: 0 0 10px 0; +} + +#documentation article:first-child { + border:none; +} + +.site_logo { + display: block; + margin-left: auto; + margin-right: auto; +} +/* + Edit in Cloud9, sucka +*/ + +.snippet pre { + margin-bottom: 0; +} + +.snippet .toolbar { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; + + text-align: right; + padding: 3px 10px; + margin-top : -1px; +} + +.snippet .filename, .snippet .toolbar { + font-family: Ubuntu, sans-serif; + font-size: 12px; + color: #EEE; +} + +.snippet .filename { + padding: 0 5px 2px 5px; + font-size: 10px; + background: rgba(230,230,230,0.5); + padding: 0 5px 2px 5px; + border-radius: 0 6px 0 6px; + margin : 1px; + position : absolute; + right : 0; + top : 0; +} + +.snippet .filename span{ + color : #666; +} + +.snippet .toolbar { + background-color: rgba(30,30,30,0.5); +} + +div.snippet { + margin-bottom: 18px; + position : relative; +} + +div.snippet a, div.toolbar a { + color: #FFF; +} + +/* + All about signatures +*/ + +.signatures { +/* width: 800px;*/ + margin-left: 20px; + margin-bottom: 5px; +} +.sideToggler { + padding-left: 20px; +} +ul.signatures ul { + list-style: none; + display: inline; +} + +li.signature { + list-style: none; +} + +.signature ul { + padding: 0; + margin: 0; +} + +.signature li { + display: inline; +} + +.signature ul.argument-types::before { + content: '→'; + margin: 0 5px; +} + +.signature li.argument-type::after { + content: '|'; + padding: 0 5px 0 5px; +} + +.signature li.argument-type:last-child:after { + content: ''; + padding: 0 5px 0 5px; +} + +.member-name { + color: #4397cd; + font-weight: bold; + text-decoration: none; + cursor: pointer; + padding-right: 3px; +} + +.signature-call { + cursor: pointer; +} +.signature-call a { + color: #8e487e; +} + +.sigClassName { + display: none; +} + +.eventObjName { + font-style: italic; +} +.eventListenerStart, .eventFunctionOpen, .eventFunctionClose { + color: #999999; +} +.eventMember { + padding-right: 0px; +} + +.metaInfo { + float: right; + z-index: 1; + position: relative; +} + +.chainable { + background-color: #0072bc; + color: #ffffff; +} + +.deprecated { + background-color: #f7941d; + color: #ffffff; +} + +.alias { + background-color: #6c951e; + color: #ffffff; +} + +.related-to { + background-color: #89289a; + color: #ffffff; + font-size: 10px; + padding: 2px 5px 3px; + text-transform: capitalize; +} + +.alias a, .related-to a { + color: #ffffff; + /* text-decoration: underline; */ +} +.alias a:hover, .related-to a:hover { + text-decoration: none; +} +.alias:hover, .related-to:hover { + opacity: 0.8; + cursor: pointer; +} +.memberContent .title { + +} +.memberContent .description { + position:relative; + /*top: -13px;*/ + display: none; +} +.snip-container .actions .toggle-plaintext label { + margin-top: 1px; + padding-top: 0; + text-align: left; +} +.snip-container .actions .toggle-plaintext input { + margin-top: 4px !important; +} +.snip-container label { + color: #ffffff; +} +.description h4 { + font-size: 18px; + margin: 20px 0 10px; + line-height : 18px; +} + +.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th { + background-color: #F9F9F9; +} +.table-striped tbody tr:nth-child(even) td, .table-striped tbody tr:nth-child(even) th { + background-color: #fbfbfb; +} +.table-striped tbody tr:hover td, .table-striped tbody tr:hover th { +} + +.argument-list { + margin-bottom : 13px; +} +.argName { + font-style: italic; +} + + +/* + Everyday I'm togglin' +*/ +.mainContent { + padding-top: 10px; + float: right + margin-left: 0px; + width: 695px; + padding-left: 5px; +} + +#documentation h3 { + font-size: 24px; + margin-top: 5px; +} +#documentation h3.methodToggle { + margin: 0; +} +#documentation h3.sectionHeader { + margin: 10px 0 17px 0; + line-height : 24px; +} + +div.method { + position: relative; +} + +.methodToggle a { + color: #fff; + border-bottom: 0px; + text-decoration: none; +} + +h3.methodToggle { + height : 13px; + width : 8px; + background-position : 0px 0px; + position: absolute; + top: -20px; + background-image : url(../images/member-sprites.png); + background-color : transparent; + background-repeat : no-repeat; + overflow: hidden; + left: 0px; +} + +h3.methodToggleHover { + /* background-position : 0px -28px; */ +} + +h3.methodToggle.inactive { + top: 4px; +} + +h3.methodToggle.active { + top: 6px; + height : 13px; + width : 8px; + background-position : 0px -59px; +} + +.hidden { + display: none; + visibility: hidden; +} + +.hiddenSpan { + display: none; +} + +.ellipsis_description, .short_description { +/* width: 800px;*/ +} +.methodToggleOpen .ellipsis_description { + display: none; +} +.sideToggler .short_description, +.sideToggler .description{ + display: none; +} +.methodToggleOpen .short_description, +.methodToggleOpen .description { + display: block; +} +.description td p { + margin: 0; +} +/* + Footer? I hardly know her +*/ + +#footer { + left:0px; + bottom:0px; + padding-top: 0; + width:100%; + background: #101010 url(../images/dashed_back.png) repeat 0 0; + font-size: 12px; + color: white; + border-top: none; + margin-top: 0; +} +#footer .container { + width: 710px; + padding-left: 300px; + margin-left: auto; + margin-right: auto; + min-height: 60px; +} +#footer .footer-text { + display: block; + float: right; + margin-right: 10px; + margin-top: 24px; +} +#footer .sponsors { + display: inline-block; + margin-top: 18px; +} + +#footer .sponsors .sponsor { + padding-right: 22px; +} + +#footer a, #footer a:hover { + color: #8DD0FF; +} +#footer .c9-logo { + width: 141px; + height: 20px; + background: url(../images/c9-log-footer.png) no-repeat 0 0; + display: inline-block; + padding-right: 10px; +} +#footer .joyent-logo { + width: 70px; + height: 19px; + background: url(../images/joyent-logo-footer.png) no-repeat 0 0; + display: inline-block; + padding-right: 10px; +} +#footer .mozilla-logo { + width: 78px; + height: 24px; + background: url(../images/mozilla-logo-footer.png) no-repeat 0 0; + display: inline-block; + padding-right: 10px; +} +#footer .debuggable-logo { + width: 119px; + height: 25px; + background: url(../images/debuggable-logo-footer.png) no-repeat 0 0; + display: inline-block; + padding-right: 0 !important; + margin-bottom : -3px; +} +#footer .span11 { + margin-left: 0; +} + +.logoText, .logoImg { + /*position: absolute;*/ + margin-bottom: 5px; +} + +.logoImg { + top: 40px; +} +.topbar div > ul .menu-dropdown li a:hover, +.nav .menu-dropdown li a:hover, +.topbar div > ul .dropdown-menu li a:hover, +.nav .dropdown-menu li a:hover { + background-color: #191919; + background-repeat: repeat-x; + background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919)); + background-image: -moz-linear-gradient(top, #292929, #191919); + background-image: -ms-linear-gradient(top, #292929, #191919); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919)); + background-image: -webkit-linear-gradient(top, #292929, #191919); + background-image: -o-linear-gradient(top, #292929, #191919); + background-image: linear-gradient(top, #292929, #191919); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0); + color: #ffffff; +} + +.alert-message.block-message { + background: #fefaca; + border-color : #fefaca; + padding : 8px 14px 8px 14px; +} + +body .dsq-reply{ + margin-top : 10px; +} + +#disqus_thread{ + border-top : 1px solid #ddd; + margin-top : 30px; +} + +#disqus_thread h3, body #dsq-content h3 { + font-size : 12px; + margin : 0 0 20px 0; + line-height : 12px; +} +body #dsq-reply h3{ + font-size : 18px; + line-height : 18px; + margin : 15px 0 20px 0; +} + +#disqus_thread select{ + font-size : 11px; + height : 20px; + color : #444; +} + +#dsq-global-toolbar, #dsq-pagination, .dsq-trackback-url{ + display : none; +} + +/* Sticky footer stuff */ + +html +{ +height: 100%; +} + +body +{ +height: 100%; +} + +#nonFooter +{ +position: relative; +min-height: 100%; +} + +* html #nonFooter +{ +height: 100%; +} + +#wrapper +{ +padding-bottom: 9em; +} + +#footer +{ +position: relative; +margin-top: -3.5em; +} \ No newline at end of file diff --git a/doc/out/resources/csses/bootstrap.min.css b/doc/out/resources/csses/bootstrap.min.css new file mode 100644 index 00000000..c9514677 --- /dev/null +++ b/doc/out/resources/csses/bootstrap.min.css @@ -0,0 +1,689 @@ +article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;} +audio,canvas,video{display:inline-block;*display:inline;*zoom:1;} +audio:not([controls]){display:none;} +html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;} +a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} +a:hover,a:active{outline:0;} +sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;} +sup{top:-0.5em;} +sub{bottom:-0.25em;} +img{height:auto;border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;} +button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;} +button,input{*overflow:visible;line-height:normal;} +button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;} +button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;} +input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;} +input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;} +textarea{overflow:auto;vertical-align:top;} +.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";} +.clearfix:after{clear:both;} +.hide-text{overflow:hidden;text-indent:100%;white-space:nowrap;} +.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;} +body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333333;background-color:#ffffff;} +a{color:#0088cc;text-decoration:none;} +a:hover{color:#005580;text-decoration:underline;} +.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";} +.row:after{clear:both;} +[class*="span"]{float:left;margin-left:20px;} +.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;} +.span12{width:940px;} +.span11{width:860px;} +.span10{width:780px;} +.span9{width:700px;} +.span8{width:620px;} +.span7{width:540px;} +.span6{width:460px;} +.span5{width:380px;} +.span4{width:300px;} +.span3{width:220px;} +.span2{width:140px;} +.span1{width:60px;} +.offset12{margin-left:980px;} +.offset11{margin-left:900px;} +.offset10{margin-left:820px;} +.offset9{margin-left:740px;} +.offset8{margin-left:660px;} +.offset7{margin-left:580px;} +.offset6{margin-left:500px;} +.offset5{margin-left:420px;} +.offset4{margin-left:340px;} +.offset3{margin-left:260px;} +.offset2{margin-left:180px;} +.offset1{margin-left:100px;} +.row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} +.row-fluid:after{clear:both;} +.row-fluid>[class*="span"]{float:left;margin-left:2.127659574%;} +.row-fluid>[class*="span"]:first-child{margin-left:0;} +.row-fluid > .span12{width:99.99999998999999%;} +.row-fluid > .span11{width:91.489361693%;} +.row-fluid > .span10{width:82.97872339599999%;} +.row-fluid > .span9{width:74.468085099%;} +.row-fluid > .span8{width:65.95744680199999%;} +.row-fluid > .span7{width:57.446808505%;} +.row-fluid > .span6{width:48.93617020799999%;} +.row-fluid > .span5{width:40.425531911%;} +.row-fluid > .span4{width:31.914893614%;} +.row-fluid > .span3{width:23.404255317%;} +.row-fluid > .span2{width:14.89361702%;} +.row-fluid > .span1{width:6.382978723%;} +.container{margin-left:auto;margin-right:auto;*zoom:1;}.container:before,.container:after{display:table;content:"";} +.container:after{clear:both;} +.container-fluid{padding-left:20px;padding-right:20px;*zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";} +.container-fluid:after{clear:both;} +p{margin:0 0 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;}p small{font-size:11px;color:#999999;} +.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px;} +h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999;} +h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;} +h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;} +h3{line-height:27px;font-size:18px;}h3 small{font-size:14px;} +h4,h5,h6{line-height:18px;} +h4{font-size:14px;}h4 small{font-size:12px;} +h5{font-size:12px;} +h6{font-size:11px;color:#999999;text-transform:uppercase;} +.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee;} +.page-header h1{line-height:1;} +ul,ol{padding:0;margin:0 0 9px 25px;} +ul ul,ul ol,ol ol,ol ul{margin-bottom:0;} +ul{list-style:disc;} +ol{list-style:decimal;} +li{line-height:18px;} +ul.unstyled,ol.unstyled{margin-left:0;list-style:none;} +dl{margin-bottom:18px;} +dt,dd{line-height:18px;} +dt{font-weight:bold;line-height:17px;} +dd{margin-left:9px;} +.dl-horizontal dt{float:left;clear:left;width:120px;text-align:right;} +.dl-horizontal dd{margin-left:130px;} +hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff;} +strong{font-weight:bold;} +em{font-style:italic;} +.muted{color:#999999;} +abbr[title]{border-bottom:1px dotted #ddd;cursor:help;} +abbr.initialism{font-size:90%;text-transform:uppercase;} +blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee;}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px;} +blockquote small{display:block;line-height:18px;color:#999999;}blockquote small:before{content:'\2014 \00A0';} +blockquote.pull-right{float:right;padding-left:0;padding-right:15px;border-left:0;border-right:5px solid #eeeeee;}blockquote.pull-right p,blockquote.pull-right small{text-align:right;} +q:before,q:after,blockquote:before,blockquote:after{content:"";} +address{display:block;margin-bottom:18px;line-height:18px;font-style:normal;} +small{font-size:100%;} +cite{font-style:normal;} +code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;} +pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;white-space:pre;white-space:pre-wrap;word-break:break-all;word-wrap:break-word;}pre.prettyprint{margin-bottom:18px;} +pre code{padding:0;color:inherit;background-color:transparent;border:0;} +.pre-scrollable{max-height:340px;overflow-y:scroll;} +form{margin:0 0 18px;} +fieldset{padding:0;margin:0;border:0;} +legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee;}legend small{font-size:13.5px;color:#999999;} +label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px;} +input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;} +label{display:block;margin-bottom:5px;color:#333333;} +input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.uneditable-textarea{width:auto;height:auto;} +label input,label textarea,label select{display:block;} +input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0 \9;} +input[type="image"]{border:0;} +input[type="file"]{width:auto;padding:initial;line-height:initial;border:initial;background-color:#ffffff;background-color:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} +input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;} +select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px;} +input[type="file"]{line-height:18px \9;} +select{width:220px;background-color:#ffffff;} +select[multiple],select[size]{height:auto;} +input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} +textarea{height:auto;} +input[type="hidden"]{display:none;} +.radio,.checkbox{padding-left:18px;} +.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px;} +.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px;} +.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle;} +.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;} +input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;} +input:focus,textarea:focus{border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);outline:0;outline:thin dotted \9;} +input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} +.input-mini{width:60px;} +.input-small{width:90px;} +.input-medium{width:150px;} +.input-large{width:210px;} +.input-xlarge{width:270px;} +.input-xxlarge{width:530px;} +input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{float:none;margin-left:0;} +input,textarea,.uneditable-input{margin-left:0;} +input.span12, textarea.span12, .uneditable-input.span12{width:930px;} +input.span11, textarea.span11, .uneditable-input.span11{width:850px;} +input.span10, textarea.span10, .uneditable-input.span10{width:770px;} +input.span9, textarea.span9, .uneditable-input.span9{width:690px;} +input.span8, textarea.span8, .uneditable-input.span8{width:610px;} +input.span7, textarea.span7, .uneditable-input.span7{width:530px;} +input.span6, textarea.span6, .uneditable-input.span6{width:450px;} +input.span5, textarea.span5, .uneditable-input.span5{width:370px;} +input.span4, textarea.span4, .uneditable-input.span4{width:290px;} +input.span3, textarea.span3, .uneditable-input.span3{width:210px;} +input.span2, textarea.span2, .uneditable-input.span2{width:130px;} +input.span1, textarea.span1, .uneditable-input.span1{width:50px;} +input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{background-color:#eeeeee;border-color:#ddd;cursor:not-allowed;} +.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853;} +.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853;}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e;} +.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853;} +.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48;} +.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48;}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:0 0 6px #d59392;-moz-box-shadow:0 0 6px #d59392;box-shadow:0 0 6px #d59392;} +.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48;} +.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847;} +.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847;}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b;} +.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847;} +input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b;}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;} +.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#eeeeee;border-top:1px solid #ddd;*zoom:1;}.form-actions:before,.form-actions:after{display:table;content:"";} +.form-actions:after{clear:both;} +.uneditable-input{display:block;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;} +:-moz-placeholder{color:#999999;} +::-webkit-input-placeholder{color:#999999;} +.help-block,.help-inline{color:#555555;} +.help-block{display:block;margin-bottom:9px;} +.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px;} +.input-prepend,.input-append{margin-bottom:5px;}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{*margin-left:0;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{position:relative;z-index:2;} +.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc;} +.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;min-width:16px;height:18px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc;} +.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} +.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546;} +.input-prepend .add-on,.input-prepend .btn{margin-right:-1px;} +.input-append input,.input-append select .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} +.input-append .uneditable-input{border-left-color:#eee;border-right-color:#ccc;} +.input-append .add-on,.input-append .btn{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;} +.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} +.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;} +.search-query{padding-left:14px;padding-right:14px;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;} +.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;margin-bottom:0;} +.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none;} +.form-search label,.form-inline label{display:inline-block;} +.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0;} +.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle;} +.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-left:0;margin-right:3px;} +.control-group{margin-bottom:9px;} +legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate;} +.form-horizontal .control-group{margin-bottom:18px;*zoom:1;}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";} +.form-horizontal .control-group:after{clear:both;} +.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right;} +.form-horizontal .controls{margin-left:160px;*display:inline-block;*margin-left:0;*padding-left:20px;} +.form-horizontal .help-block{margin-top:9px;margin-bottom:0;} +.form-horizontal .form-actions{padding-left:160px;} +table{max-width:100%;border-collapse:collapse;border-spacing:0;background-color:transparent;} +.table{width:100%;margin-bottom:18px;}.table th,.table td{padding:8px;line-height:18px;text-align:left;vertical-align:top;border-top:1px solid #dddddd;} +.table th{font-weight:bold;} +.table thead th{vertical-align:bottom;} +.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0;} +.table tbody+tbody{border-top:2px solid #dddddd;} +.table-condensed th,.table-condensed td{padding:4px 5px;} +.table-bordered{border:1px solid #dddddd;border-left:0;border-collapse:separate;*border-collapse:collapsed;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd;} +.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;} +.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-radius:4px 0 0 0;-moz-border-radius:4px 0 0 0;border-radius:4px 0 0 0;} +.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0;} +.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;} +.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-radius:0 0 4px 0;-moz-border-radius:0 0 4px 0;border-radius:0 0 4px 0;} +.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9;} +.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5;} +table .span1{float:none;width:44px;margin-left:0;} +table .span2{float:none;width:124px;margin-left:0;} +table .span3{float:none;width:204px;margin-left:0;} +table .span4{float:none;width:284px;margin-left:0;} +table .span5{float:none;width:364px;margin-left:0;} +table .span6{float:none;width:444px;margin-left:0;} +table .span7{float:none;width:524px;margin-left:0;} +table .span8{float:none;width:604px;margin-left:0;} +table .span9{float:none;width:684px;margin-left:0;} +table .span10{float:none;width:764px;margin-left:0;} +table .span11{float:none;width:844px;margin-left:0;} +table .span12{float:none;width:924px;margin-left:0;} +table .span13{float:none;width:1004px;margin-left:0;} +table .span14{float:none;width:1084px;margin-left:0;} +table .span15{float:none;width:1164px;margin-left:0;} +table .span16{float:none;width:1244px;margin-left:0;} +table .span17{float:none;width:1324px;margin-left:0;} +table .span18{float:none;width:1404px;margin-left:0;} +table .span19{float:none;width:1484px;margin-left:0;} +table .span20{float:none;width:1564px;margin-left:0;} +table .span21{float:none;width:1644px;margin-left:0;} +table .span22{float:none;width:1724px;margin-left:0;} +table .span23{float:none;width:1804px;margin-left:0;} +table .span24{float:none;width:1884px;margin-left:0;} +[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;*margin-right:.3em;}[class^="icon-"]:last-child,[class*=" icon-"]:last-child{*margin-left:0;} +.icon-white{background-image:url("../img/glyphicons-halflings-white.png");} +.icon-glass{background-position:0 0;} +.icon-music{background-position:-24px 0;} +.icon-search{background-position:-48px 0;} +.icon-envelope{background-position:-72px 0;} +.icon-heart{background-position:-96px 0;} +.icon-star{background-position:-120px 0;} +.icon-star-empty{background-position:-144px 0;} +.icon-user{background-position:-168px 0;} +.icon-film{background-position:-192px 0;} +.icon-th-large{background-position:-216px 0;} +.icon-th{background-position:-240px 0;} +.icon-th-list{background-position:-264px 0;} +.icon-ok{background-position:-288px 0;} +.icon-remove{background-position:-312px 0;} +.icon-zoom-in{background-position:-336px 0;} +.icon-zoom-out{background-position:-360px 0;} +.icon-off{background-position:-384px 0;} +.icon-signal{background-position:-408px 0;} +.icon-cog{background-position:-432px 0;} +.icon-trash{background-position:-456px 0;} +.icon-home{background-position:0 -24px;} +.icon-file{background-position:-24px -24px;} +.icon-time{background-position:-48px -24px;} +.icon-road{background-position:-72px -24px;} +.icon-download-alt{background-position:-96px -24px;} +.icon-download{background-position:-120px -24px;} +.icon-upload{background-position:-144px -24px;} +.icon-inbox{background-position:-168px -24px;} +.icon-play-circle{background-position:-192px -24px;} +.icon-repeat{background-position:-216px -24px;} +.icon-refresh{background-position:-240px -24px;} +.icon-list-alt{background-position:-264px -24px;} +.icon-lock{background-position:-287px -24px;} +.icon-flag{background-position:-312px -24px;} +.icon-headphones{background-position:-336px -24px;} +.icon-volume-off{background-position:-360px -24px;} +.icon-volume-down{background-position:-384px -24px;} +.icon-volume-up{background-position:-408px -24px;} +.icon-qrcode{background-position:-432px -24px;} +.icon-barcode{background-position:-456px -24px;} +.icon-tag{background-position:0 -48px;} +.icon-tags{background-position:-25px -48px;} +.icon-book{background-position:-48px -48px;} +.icon-bookmark{background-position:-72px -48px;} +.icon-print{background-position:-96px -48px;} +.icon-camera{background-position:-120px -48px;} +.icon-font{background-position:-144px -48px;} +.icon-bold{background-position:-167px -48px;} +.icon-italic{background-position:-192px -48px;} +.icon-text-height{background-position:-216px -48px;} +.icon-text-width{background-position:-240px -48px;} +.icon-align-left{background-position:-264px -48px;} +.icon-align-center{background-position:-288px -48px;} +.icon-align-right{background-position:-312px -48px;} +.icon-align-justify{background-position:-336px -48px;} +.icon-list{background-position:-360px -48px;} +.icon-indent-left{background-position:-384px -48px;} +.icon-indent-right{background-position:-408px -48px;} +.icon-facetime-video{background-position:-432px -48px;} +.icon-picture{background-position:-456px -48px;} +.icon-pencil{background-position:0 -72px;} +.icon-map-marker{background-position:-24px -72px;} +.icon-adjust{background-position:-48px -72px;} +.icon-tint{background-position:-72px -72px;} +.icon-edit{background-position:-96px -72px;} +.icon-share{background-position:-120px -72px;} +.icon-check{background-position:-144px -72px;} +.icon-move{background-position:-168px -72px;} +.icon-step-backward{background-position:-192px -72px;} +.icon-fast-backward{background-position:-216px -72px;} +.icon-backward{background-position:-240px -72px;} +.icon-play{background-position:-264px -72px;} +.icon-pause{background-position:-288px -72px;} +.icon-stop{background-position:-312px -72px;} +.icon-forward{background-position:-336px -72px;} +.icon-fast-forward{background-position:-360px -72px;} +.icon-step-forward{background-position:-384px -72px;} +.icon-eject{background-position:-408px -72px;} +.icon-chevron-left{background-position:-432px -72px;} +.icon-chevron-right{background-position:-456px -72px;} +.icon-plus-sign{background-position:0 -96px;} +.icon-minus-sign{background-position:-24px -96px;} +.icon-remove-sign{background-position:-48px -96px;} +.icon-ok-sign{background-position:-72px -96px;} +.icon-question-sign{background-position:-96px -96px;} +.icon-info-sign{background-position:-120px -96px;} +.icon-screenshot{background-position:-144px -96px;} +.icon-remove-circle{background-position:-168px -96px;} +.icon-ok-circle{background-position:-192px -96px;} +.icon-ban-circle{background-position:-216px -96px;} +.icon-arrow-left{background-position:-240px -96px;} +.icon-arrow-right{background-position:-264px -96px;} +.icon-arrow-up{background-position:-289px -96px;} +.icon-arrow-down{background-position:-312px -96px;} +.icon-share-alt{background-position:-336px -96px;} +.icon-resize-full{background-position:-360px -96px;} +.icon-resize-small{background-position:-384px -96px;} +.icon-plus{background-position:-408px -96px;} +.icon-minus{background-position:-433px -96px;} +.icon-asterisk{background-position:-456px -96px;} +.icon-exclamation-sign{background-position:0 -120px;} +.icon-gift{background-position:-24px -120px;} +.icon-leaf{background-position:-48px -120px;} +.icon-fire{background-position:-72px -120px;} +.icon-eye-open{background-position:-96px -120px;} +.icon-eye-close{background-position:-120px -120px;} +.icon-warning-sign{background-position:-144px -120px;} +.icon-plane{background-position:-168px -120px;} +.icon-calendar{background-position:-192px -120px;} +.icon-random{background-position:-216px -120px;} +.icon-comment{background-position:-240px -120px;} +.icon-magnet{background-position:-264px -120px;} +.icon-chevron-up{background-position:-288px -120px;} +.icon-chevron-down{background-position:-313px -119px;} +.icon-retweet{background-position:-336px -120px;} +.icon-shopping-cart{background-position:-360px -120px;} +.icon-folder-close{background-position:-384px -120px;} +.icon-folder-open{background-position:-408px -120px;} +.icon-resize-vertical{background-position:-432px -119px;} +.icon-resize-horizontal{background-position:-456px -118px;} +.dropdown{position:relative;} +.dropdown-toggle{*margin-bottom:-3px;} +.dropdown-toggle:active,.open .dropdown-toggle{outline:0;} +.caret{display:inline-block;width:0;height:0;vertical-align:top;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000000;opacity:0.3;filter:alpha(opacity=30);content:"";} +.dropdown .caret{margin-top:8px;margin-left:2px;} +.dropdown:hover .caret,.open.dropdown .caret{opacity:1;filter:alpha(opacity=100);} +.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;padding:4px 0;margin:0;list-style:none;background-color:#ffffff;border-color:#ccc;border-color:rgba(0, 0, 0, 0.2);border-style:solid;border-width:1px;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;*border-right-width:2px;*border-bottom-width:2px;}.dropdown-menu.pull-right{right:0;left:auto;} +.dropdown-menu .divider{height:1px;margin:8px 1px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;*width:100%;*margin:-5px 0 5px;} +.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333333;white-space:nowrap;} +.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#0088cc;} +.dropdown.open{*z-index:1000;}.dropdown.open .dropdown-toggle{color:#ffffff;background:#ccc;background:rgba(0, 0, 0, 0.3);} +.dropdown.open .dropdown-menu{display:block;} +.pull-right .dropdown-menu{left:auto;right:0;} +.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191";} +.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px;} +.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15);} +.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} +.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.fade{-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear;opacity:0;}.fade.in{opacity:1;} +.collapse{-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease;position:relative;overflow:hidden;height:0;}.collapse.in{height:auto;} +.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.close:hover{color:#000000;text-decoration:none;opacity:0.4;filter:alpha(opacity=40);cursor:pointer;} +.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:middle;background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-ms-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(top, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);border:1px solid #cccccc;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);cursor:pointer;*margin-left:.3em;}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#e6e6e6;} +.btn:active,.btn.active{background-color:#cccccc \9;} +.btn:first-child{*margin-left:0;} +.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear;} +.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;} +.btn.active,.btn:active{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);background-color:#e6e6e6;background-color:#d9d9d9 \9;outline:0;} +.btn.disabled,.btn[disabled]{cursor:default;background-image:none;background-color:#e6e6e6;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} +.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} +.btn-large [class^="icon-"]{margin-top:1px;} +.btn-small{padding:5px 9px;font-size:11px;line-height:16px;} +.btn-small [class^="icon-"]{margin-top:-1px;} +.btn-mini{padding:2px 6px;font-size:11px;line-height:14px;} +.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);color:#ffffff;} +.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255, 255, 255, 0.75);} +.btn-primary{background-color:#0074cc;background-image:-moz-linear-gradient(top, #0088cc, #0055cc);background-image:-ms-linear-gradient(top, #0088cc, #0055cc);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));background-image:-webkit-linear-gradient(top, #0088cc, #0055cc);background-image:-o-linear-gradient(top, #0088cc, #0055cc);background-image:linear-gradient(top, #0088cc, #0055cc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);border-color:#0055cc #0055cc #003580;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#0055cc;} +.btn-primary:active,.btn-primary.active{background-color:#004099 \9;} +.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;} +.btn-warning:active,.btn-warning.active{background-color:#c67605 \9;} +.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-ms-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(top, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;} +.btn-danger:active,.btn-danger.active{background-color:#942a25 \9;} +.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-ms-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(top, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;} +.btn-success:active,.btn-success.active{background-color:#408140 \9;} +.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-ms-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(top, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;} +.btn-info:active,.btn-info.active{background-color:#24748c \9;} +.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top, #555555, #222222);background-image:-ms-linear-gradient(top, #555555, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));background-image:-webkit-linear-gradient(top, #555555, #222222);background-image:-o-linear-gradient(top, #555555, #222222);background-image:linear-gradient(top, #555555, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;} +.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9;} +button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px;}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0;} +button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px;} +button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px;} +button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px;} +.btn-group{position:relative;*zoom:1;*margin-left:.3em;}.btn-group:before,.btn-group:after{display:table;content:"";} +.btn-group:after{clear:both;} +.btn-group:first-child{*margin-left:0;} +.btn-group+.btn-group{margin-left:5px;} +.btn-toolbar{margin-top:9px;margin-bottom:9px;}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1;} +.btn-group .btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.btn-group .btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;} +.btn-group .btn:last-child,.btn-group .dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;} +.btn-group .btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;} +.btn-group .btn.large:last-child,.btn-group .large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;} +.btn-group .btn:hover,.btn-group .btn:focus,.btn-group .btn:active,.btn-group .btn.active{z-index:2;} +.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0;} +.btn-group .dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);*padding-top:3px;*padding-bottom:3px;} +.btn-group .btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px;*padding-top:1px;*padding-bottom:1px;} +.btn-group .btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px;} +.btn-group .btn-large.dropdown-toggle{padding-left:12px;padding-right:12px;} +.btn-group.open{*z-index:1000;}.btn-group.open .dropdown-menu{display:block;margin-top:1px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} +.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);} +.btn .caret{margin-top:7px;margin-left:0;} +.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100);} +.btn-mini .caret{margin-top:5px;} +.btn-small .caret{margin-top:6px;} +.btn-large .caret{margin-top:6px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;} +.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75);} +.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853;} +.alert-heading{color:inherit;} +.alert .close{position:relative;top:-2px;right:-21px;line-height:18px;} +.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847;} +.alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48;} +.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad;} +.alert-block{padding-top:14px;padding-bottom:14px;} +.alert-block>p,.alert-block>ul{margin-bottom:0;} +.alert-block p+p{margin-top:5px;} +.nav{margin-left:0;margin-bottom:18px;list-style:none;} +.nav>li>a{display:block;} +.nav>li>a:hover{text-decoration:none;background-color:#eeeeee;} +.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);text-transform:uppercase;} +.nav li+.nav-header{margin-top:9px;} +.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0;} +.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);} +.nav-list>li>a{padding:3px 15px;} +.nav-list>.active>a,.nav-list>.active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.2);background-color:#0088cc;} +.nav-list [class^="icon-"]{margin-right:2px;} +.nav-list .divider{height:1px;margin:8px 1px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;*width:100%;*margin:-5px 0 5px;} +.nav-tabs,.nav-pills{*zoom:1;}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:"";} +.nav-tabs:after,.nav-pills:after{clear:both;} +.nav-tabs>li,.nav-pills>li{float:left;} +.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px;} +.nav-tabs{border-bottom:1px solid #ddd;} +.nav-tabs>li{margin-bottom:-1px;} +.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd;} +.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default;} +.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} +.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#ffffff;background-color:#0088cc;} +.nav-stacked>li{float:none;} +.nav-stacked>li>a{margin-right:0;} +.nav-tabs.nav-stacked{border-bottom:0;} +.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;} +.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;} +.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2;} +.nav-pills.nav-stacked>li>a{margin-bottom:3px;} +.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px;} +.nav-tabs .dropdown-menu,.nav-pills .dropdown-menu{margin-top:1px;border-width:1px;} +.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#0088cc;border-bottom-color:#0088cc;margin-top:6px;} +.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#005580;border-bottom-color:#005580;} +.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;border-bottom-color:#333333;} +.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer;} +.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999;} +.nav .open .caret,.nav .open.active .caret,.nav .open a:hover .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100);} +.tabs-stacked .open>a:hover{border-color:#999999;} +.tabbable{*zoom:1;}.tabbable:before,.tabbable:after{display:table;content:"";} +.tabbable:after{clear:both;} +.tab-content{display:table;width:100%;} +.tabs-below .nav-tabs,.tabs-right .nav-tabs,.tabs-left .nav-tabs{border-bottom:0;} +.tab-content>.tab-pane,.pill-content>.pill-pane{display:none;} +.tab-content>.active,.pill-content>.active{display:block;} +.tabs-below .nav-tabs{border-top:1px solid #ddd;} +.tabs-below .nav-tabs>li{margin-top:-1px;margin-bottom:0;} +.tabs-below .nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.tabs-below .nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd;} +.tabs-below .nav-tabs .active>a,.tabs-below .nav-tabs .active>a:hover{border-color:transparent #ddd #ddd #ddd;} +.tabs-left .nav-tabs>li,.tabs-right .nav-tabs>li{float:none;} +.tabs-left .nav-tabs>li>a,.tabs-right .nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px;} +.tabs-left .nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd;} +.tabs-left .nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;} +.tabs-left .nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee;} +.tabs-left .nav-tabs .active>a,.tabs-left .nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff;} +.tabs-right .nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd;} +.tabs-right .nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;} +.tabs-right .nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd;} +.tabs-right .nav-tabs .active>a,.tabs-right .nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff;} +.navbar{*position:relative;*z-index:2;overflow:visible;margin-bottom:18px;} +.navbar-inner{padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);} +.navbar .container{width:auto;} +.btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);}.btn-navbar:hover,.btn-navbar:active,.btn-navbar.active,.btn-navbar.disabled,.btn-navbar[disabled]{background-color:#222222;} +.btn-navbar:active,.btn-navbar.active{background-color:#080808 \9;} +.btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);} +.btn-navbar .icon-bar+.icon-bar{margin-top:3px;} +.nav-collapse.collapse{height:auto;} +.navbar{color:#999999;}.navbar .brand:hover{text-decoration:none;} +.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#ffffff;} +.navbar .navbar-text{margin-bottom:0;line-height:40px;} +.navbar .btn,.navbar .btn-group{margin-top:5px;} +.navbar .btn-group .btn{margin-top:0;} +.navbar-form{margin-bottom:0;*zoom:1;}.navbar-form:before,.navbar-form:after{display:table;content:"";} +.navbar-form:after{clear:both;} +.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px;} +.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0;} +.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px;} +.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap;}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0;} +.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0;}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;}.navbar-search .search-query:-moz-placeholder{color:#cccccc;} +.navbar-search .search-query::-webkit-input-placeholder{color:#cccccc;} +.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);box-shadow:0 0 3px rgba(0, 0, 0, 0.15);outline:0;} +.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0;} +.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} +.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;} +.navbar-fixed-top{top:0;} +.navbar-fixed-bottom{bottom:0;} +.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0;} +.navbar .nav.pull-right{float:right;} +.navbar .nav>li{display:block;float:left;} +.navbar .nav>li>a{float:none;padding:10px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);} +.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none;} +.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222;} +.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333;} +.navbar .nav.pull-right{margin-left:10px;margin-right:0;} +.navbar .dropdown-menu{margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0, 0, 0, 0.2);position:absolute;top:-7px;left:9px;} +.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px;} +.navbar-fixed-bottom .dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0, 0, 0, 0.2);border-bottom:0;bottom:-7px;top:auto;} +.navbar-fixed-bottom .dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto;} +.navbar .nav .dropdown-toggle .caret,.navbar .nav .open.dropdown .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;} +.navbar .nav .active .caret{opacity:1;filter:alpha(opacity=100);} +.navbar .nav .open>.dropdown-toggle,.navbar .nav .active>.dropdown-toggle,.navbar .nav .open.active>.dropdown-toggle{background-color:transparent;} +.navbar .nav .active>.dropdown-toggle:hover{color:#ffffff;} +.navbar .nav.pull-right .dropdown-menu,.navbar .nav .dropdown-menu.pull-right{left:auto;right:0;}.navbar .nav.pull-right .dropdown-menu:before,.navbar .nav .dropdown-menu.pull-right:before{left:auto;right:12px;} +.navbar .nav.pull-right .dropdown-menu:after,.navbar .nav .dropdown-menu.pull-right:after{left:auto;right:13px;} +.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top, #ffffff, #f5f5f5);background-image:-ms-linear-gradient(top, #ffffff, #f5f5f5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));background-image:-webkit-linear-gradient(top, #ffffff, #f5f5f5);background-image:-o-linear-gradient(top, #ffffff, #f5f5f5);background-image:linear-gradient(top, #ffffff, #f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;}.breadcrumb li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff;} +.breadcrumb .divider{padding:0 5px;color:#999999;} +.breadcrumb .active a{color:#333333;} +.pagination{height:36px;margin:18px 0;} +.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);} +.pagination li{display:inline;} +.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0;} +.pagination a:hover,.pagination .active a{background-color:#f5f5f5;} +.pagination .active a{color:#999999;cursor:default;} +.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default;} +.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} +.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;} +.pagination-centered{text-align:center;} +.pagination-right{text-align:right;} +.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1;}.pager:before,.pager:after{display:table;content:"";} +.pager:after{clear:both;} +.pager li{display:inline;} +.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;} +.pager a:hover{text-decoration:none;background-color:#f5f5f5;} +.pager .next a{float:right;} +.pager .previous a{float:left;} +.pager .disabled a,.pager .disabled a:hover{color:#999999;background-color:#fff;cursor:default;} +.modal-open .dropdown-menu{z-index:2050;} +.modal-open .dropdown.open{*z-index:2050;} +.modal-open .popover{z-index:2060;} +.modal-open .tooltip{z-index:2070;} +.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000;}.modal-backdrop.fade{opacity:0;} +.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80);} +.modal{position:fixed;top:50%;left:50%;z-index:1050;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.modal.fade{-webkit-transition:opacity .3s linear, top .3s ease-out;-moz-transition:opacity .3s linear, top .3s ease-out;-ms-transition:opacity .3s linear, top .3s ease-out;-o-transition:opacity .3s linear, top .3s ease-out;transition:opacity .3s linear, top .3s ease-out;top:-25%;} +.modal.fade.in{top:50%;} +.modal-header{padding:9px 15px;border-bottom:1px solid #eee;}.modal-header .close{margin-top:2px;} +.modal-body{overflow-y:auto;max-height:400px;padding:15px;} +.modal-form{margin-bottom:0;} +.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1;}.modal-footer:before,.modal-footer:after{display:table;content:"";} +.modal-footer:after{clear:both;} +.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0;} +.modal-footer .btn-group .btn+.btn{margin-left:-1px;} +.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0);}.tooltip.in{opacity:0.8;filter:alpha(opacity=80);} +.tooltip.top{margin-top:-2px;} +.tooltip.right{margin-left:2px;} +.tooltip.bottom{margin-top:2px;} +.tooltip.left{margin-left:-2px;} +.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;} +.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;} +.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;} +.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;} +.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.tooltip-arrow{position:absolute;width:0;height:0;} +.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px;}.popover.top{margin-top:-5px;} +.popover.right{margin-left:5px;} +.popover.bottom{margin-top:5px;} +.popover.left{margin-left:-5px;} +.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;} +.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;} +.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;} +.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;} +.popover .arrow{position:absolute;width:0;height:0;} +.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0, 0, 0, 0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);} +.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;} +.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0;} +.thumbnails{margin-left:-20px;list-style:none;*zoom:1;}.thumbnails:before,.thumbnails:after{display:table;content:"";} +.thumbnails:after{clear:both;} +.thumbnails>li{float:left;margin:0 0 18px 20px;} +.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);} +a.thumbnail:hover{border-color:#0088cc;-webkit-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);-moz-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);} +.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto;} +.thumbnail .caption{padding:9px;} +.label{padding:1px 4px 2px;font-size:10.998px;font-weight:bold;line-height:13px;color:#ffffff;vertical-align:middle;white-space:nowrap;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} +.label:hover{color:#ffffff;text-decoration:none;} +.label-important{background-color:#b94a48;} +.label-important:hover{background-color:#953b39;} +.label-warning{background-color:#f89406;} +.label-warning:hover{background-color:#c67605;} +.label-success{background-color:#468847;} +.label-success:hover{background-color:#356635;} +.label-info{background-color:#3a87ad;} +.label-info:hover{background-color:#2d6987;} +.label-inverse{background-color:#333333;} +.label-inverse:hover{background-color:#1a1a1a;} +.badge{padding:1px 9px 2px;font-size:12.025px;font-weight:bold;white-space:nowrap;color:#ffffff;background-color:#999999;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;} +.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer;} +.badge-error{background-color:#b94a48;} +.badge-error:hover{background-color:#953b39;} +.badge-warning{background-color:#f89406;} +.badge-warning:hover{background-color:#c67605;} +.badge-success{background-color:#468847;} +.badge-success:hover{background-color:#356635;} +.badge-info{background-color:#3a87ad;} +.badge-info:hover{background-color:#2d6987;} +.badge-inverse{background-color:#333333;} +.badge-inverse:hover{background-color:#1a1a1a;} +@-webkit-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@-moz-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@-ms-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-ms-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));background-image:-webkit-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-o-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:linear-gradient(top, #f5f5f5, #f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top, #149bdf, #0480be);background-image:-ms-linear-gradient(top, #149bdf, #0480be);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));background-image:-webkit-linear-gradient(top, #149bdf, #0480be);background-image:-o-linear-gradient(top, #149bdf, #0480be);background-image:linear-gradient(top, #149bdf, #0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease;} +.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px;} +.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite;} +.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-ms-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));background-image:-webkit-linear-gradient(top, #ee5f5b, #c43c35);background-image:-o-linear-gradient(top, #ee5f5b, #c43c35);background-image:linear-gradient(top, #ee5f5b, #c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);} +.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-ms-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:-o-linear-gradient(top, #62c462, #57a957);background-image:linear-gradient(top, #62c462, #57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);} +.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-ms-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(top, #5bc0de, #339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);} +.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);} +.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);} +.accordion{margin-bottom:18px;} +.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} +.accordion-heading{border-bottom:0;} +.accordion-heading .accordion-toggle{display:block;padding:8px 15px;} +.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5;} +.carousel{position:relative;margin-bottom:18px;line-height:1;} +.carousel-inner{overflow:hidden;width:100%;position:relative;} +.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left;} +.carousel .item>img{display:block;line-height:1;} +.carousel .active,.carousel .next,.carousel .prev{display:block;} +.carousel .active{left:0;} +.carousel .next,.carousel .prev{position:absolute;top:0;width:100%;} +.carousel .next{left:100%;} +.carousel .prev{left:-100%;} +.carousel .next.left,.carousel .prev.right{left:0;} +.carousel .active.left{left:-100%;} +.carousel .active.right{left:100%;} +.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50);}.carousel-control.right{left:auto;right:15px;} +.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);} +.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0, 0, 0, 0.75);} +.carousel-caption h4,.carousel-caption p{color:#ffffff;} +.hero-unit{padding:60px;margin-bottom:30px;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px;} +.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit;} +.pull-right{float:right;} +.pull-left{float:left;} +.hide{display:none;} +.show{display:block;} +.invisible{visibility:hidden;} diff --git a/doc/out/resources/csses/prettify.css b/doc/out/resources/csses/prettify.css new file mode 100644 index 00000000..2cd13649 --- /dev/null +++ b/doc/out/resources/csses/prettify.css @@ -0,0 +1,52 @@ +/* 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/out/resources/images/Ace_ERD.svg b/doc/out/resources/images/Ace_ERD.svg new file mode 100644 index 00000000..ba386287 --- /dev/null +++ b/doc/out/resources/images/Ace_ERD.svg @@ -0,0 +1,4 @@ + + + + diff --git a/doc/out/resources/images/ace_logo.png b/doc/out/resources/images/ace_logo.png new file mode 100644 index 00000000..4dab4f66 Binary files /dev/null and b/doc/out/resources/images/ace_logo.png differ diff --git a/doc/out/resources/images/ace_logo_menu.png b/doc/out/resources/images/ace_logo_menu.png new file mode 100644 index 00000000..b011fadd Binary files /dev/null and b/doc/out/resources/images/ace_logo_menu.png differ diff --git a/doc/out/resources/images/c9-log-footer.png b/doc/out/resources/images/c9-log-footer.png new file mode 100644 index 00000000..f3bcb4d7 Binary files /dev/null and b/doc/out/resources/images/c9-log-footer.png differ diff --git a/doc/out/resources/images/c9-sponsor.png b/doc/out/resources/images/c9-sponsor.png new file mode 100644 index 00000000..599d3b49 Binary files /dev/null and b/doc/out/resources/images/c9-sponsor.png differ diff --git a/doc/out/resources/images/cloud9-logo.png b/doc/out/resources/images/cloud9-logo.png new file mode 100644 index 00000000..912524a9 Binary files /dev/null and b/doc/out/resources/images/cloud9-logo.png differ diff --git a/doc/out/resources/images/content-top.png b/doc/out/resources/images/content-top.png new file mode 100644 index 00000000..ec4ccad0 Binary files /dev/null and b/doc/out/resources/images/content-top.png differ diff --git a/doc/out/resources/images/content_bg.png b/doc/out/resources/images/content_bg.png new file mode 100644 index 00000000..928f81e4 Binary files /dev/null and b/doc/out/resources/images/content_bg.png differ diff --git a/doc/out/resources/images/content_top_bg.png b/doc/out/resources/images/content_top_bg.png new file mode 100644 index 00000000..42039338 Binary files /dev/null and b/doc/out/resources/images/content_top_bg.png differ diff --git a/doc/out/resources/images/dashed_back.png b/doc/out/resources/images/dashed_back.png new file mode 100644 index 00000000..c6ee9313 Binary files /dev/null and b/doc/out/resources/images/dashed_back.png differ diff --git a/doc/out/resources/images/favicon.ico b/doc/out/resources/images/favicon.ico new file mode 100644 index 00000000..e97c70f6 Binary files /dev/null and b/doc/out/resources/images/favicon.ico differ diff --git a/doc/out/resources/images/footer-bg.png b/doc/out/resources/images/footer-bg.png new file mode 100644 index 00000000..0d572c28 Binary files /dev/null and b/doc/out/resources/images/footer-bg.png differ diff --git a/doc/out/resources/images/main_bg.png b/doc/out/resources/images/main_bg.png new file mode 100644 index 00000000..f26aefc2 Binary files /dev/null and b/doc/out/resources/images/main_bg.png differ diff --git a/doc/out/resources/images/member-sprites.png b/doc/out/resources/images/member-sprites.png new file mode 100644 index 00000000..96b0520f Binary files /dev/null and b/doc/out/resources/images/member-sprites.png differ diff --git a/doc/out/resources/images/menu_disc.png b/doc/out/resources/images/menu_disc.png new file mode 100644 index 00000000..1d3925b3 Binary files /dev/null and b/doc/out/resources/images/menu_disc.png differ diff --git a/doc/out/resources/images/method_bg.png b/doc/out/resources/images/method_bg.png new file mode 100644 index 00000000..b0189557 Binary files /dev/null and b/doc/out/resources/images/method_bg.png differ diff --git a/doc/out/resources/images/scrolled-heading-shadow.png b/doc/out/resources/images/scrolled-heading-shadow.png new file mode 100644 index 00000000..aed814ee Binary files /dev/null and b/doc/out/resources/images/scrolled-heading-shadow.png differ diff --git a/doc/out/resources/images/sidebar-top-bg.png b/doc/out/resources/images/sidebar-top-bg.png new file mode 100644 index 00000000..c0a800e1 Binary files /dev/null and b/doc/out/resources/images/sidebar-top-bg.png differ diff --git a/doc/out/resources/images/sidebar_border.png b/doc/out/resources/images/sidebar_border.png new file mode 100644 index 00000000..ea6cd700 Binary files /dev/null and b/doc/out/resources/images/sidebar_border.png differ diff --git a/doc/out/resources/images/swirl_divider.png b/doc/out/resources/images/swirl_divider.png new file mode 100644 index 00000000..f3e9f6c6 Binary files /dev/null and b/doc/out/resources/images/swirl_divider.png differ diff --git a/doc/out/resources/javascripts/bootstrap-dropdown.js b/doc/out/resources/javascripts/bootstrap-dropdown.js new file mode 100644 index 00000000..54b61c5e --- /dev/null +++ b/doc/out/resources/javascripts/bootstrap-dropdown.js @@ -0,0 +1,92 @@ +/* ============================================================ + * 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/out/resources/javascripts/clicker.js b/doc/out/resources/javascripts/clicker.js new file mode 100644 index 00000000..5fe3dca2 --- /dev/null +++ b/doc/out/resources/javascripts/clicker.js @@ -0,0 +1,35 @@ +$(function() { + // when hovering over arrow, add highlight (only if inactive) + $("h3.methodToggle").hover(function () { + if (!$("h3.methodToggle").hasClass('active')) + $(this).addClass("methodToggleHover"); + }, + function () { + $(this).removeClass("methodToggleHover"); + } + ); + + // after expanding the hidden description, hide the ellipsis + $('.signature-call, .signature-returns', '.signature').click(function() { + var $article = $(this).closest('.article'), + $arrow = $('h3.methodClicker', $article); + + if (!$article.hasClass('methodToggleOpen') || this.force) { + $article.addClass('methodToggleOpen'); + $arrow.removeClass('inactive').addClass('active'); + + var data = location.hash = $arrow[0].id.replace(/^js_/, ""); + scrollTo(null, data); + } + else { + $article.removeClass('methodToggleOpen'); + $arrow.removeClass('active').addClass('inactive'); + } + + }); + + $('.related-to', '.metaInfo').click(function(){ + location.hash = $(this).find('a').attr('href').split('#')[1]; + }); +}); + diff --git a/doc/out/resources/javascripts/disqus-ext.js b/doc/out/resources/javascripts/disqus-ext.js new file mode 100644 index 00000000..6f966cc6 --- /dev/null +++ b/doc/out/resources/javascripts/disqus-ext.js @@ -0,0 +1,12 @@ +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() { + 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/out/resources/javascripts/ga.js b/doc/out/resources/javascripts/ga.js new file mode 100644 index 00000000..f0035835 --- /dev/null +++ b/doc/out/resources/javascripts/ga.js @@ -0,0 +1,9 @@ + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18736001-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); \ No newline at end of file diff --git a/doc/out/resources/javascripts/jquery-scrollspy.js b/doc/out/resources/javascripts/jquery-scrollspy.js new file mode 100644 index 00000000..71b4a363 --- /dev/null +++ b/doc/out/resources/javascripts/jquery-scrollspy.js @@ -0,0 +1,98 @@ +/*! + * jQuery Scrollspy Plugin + * Author: @sxalexander + * Licensed under the MIT license + */ + + +;(function ( $, window, document, undefined ) { + + $.fn.extend({ + scrollspy: function ( options ) { + + var defaults = { + min: 0, + max: 0, + mode: 'vertical', + buffer: 0, + container: window, + onEnter: options.onEnter ? options.onEnter : [], + onLeave: options.onLeave ? options.onLeave : [], + onTick: options.onTick ? options.onTick : [] + } + + var options = $.extend( {}, defaults, options ); + + return this.each(function (i) { + + var element = this; + var o = options; + var $container = $(o.container); + var mode = o.mode; + var buffer = o.buffer; + var enters = leaves = 0; + var inside = false; + + /* add listener to container */ + $container.bind('scroll', function(e){ + var position = {top: $(this).scrollTop(), left: $(this).scrollLeft()}; + var xy = (mode == 'vertical') ? position.top + buffer : position.left + buffer; + var max = o.max; + var min = o.min; + + /* fix max */ + if($.isFunction(o.max)){ + max = o.max(); + } + + /* fix max */ + if($.isFunction(o.min)){ + min = o.min(); + } + + if(max == 0){ + max = (mode == 'vertical') ? $container.height() : $container.outerWidth() + $(element).outerWidth(); + } + + /* if we have reached the minimum bound but are below the max ... */ + if(xy >= o.min && xy <= max){ + /* trigger enter event */ + if(!inside){ + inside = true; + enters++; + + /* fire enter event */ + $(element).trigger('scrollEnter', {position: position}) + if($.isFunction(o.onEnter)){ + o.onEnter(element, position); + } + + } + + /* triger tick event */ + $(element).trigger('scrollTick', {position: position, inside: inside, enters: enters, leaves: leaves}) + if($.isFunction(o.onTick)){ + o.onTick(element, position, inside, enters, leaves); + } + }else{ + + if(inside){ + inside = false; + leaves++; + /* trigger leave event */ + $(element).trigger('scrollLeave', {position: position, leaves:leaves}) + + if($.isFunction(o.onLeave)){ + o.onLeave(element, position); + } + } + } + }); + + }); + } + + }) + + +})( jQuery, window ); diff --git a/doc/out/resources/javascripts/jquery.collapse.js b/doc/out/resources/javascripts/jquery.collapse.js new file mode 100644 index 00000000..427ee5fa --- /dev/null +++ b/doc/out/resources/javascripts/jquery.collapse.js @@ -0,0 +1,151 @@ +/*! + * Collapse plugin for jQuery + * http://github.com/danielstocks/jQuery-Collapse/ + * + * @author Daniel Stocks (http://webcloud.se) + * @version 0.9.1 + * @updated 17-AUG-2010 + * + * Copyright 2010, Daniel Stocks + * Released under the MIT, BSD, and GPL Licenses. + */ + +(function($) { + + // Use a cookie counter to allow multiple instances of the plugin + var cookieCounter = 0; + + $.fn.extend({ + collapse: function(options) { + + var defaults = { + head : "h3", + group : "div, ul", + cookieName : "collapse", + // Default function for showing content + show: function() { + this.show(); + }, + // Default function for hiding content + hide: function() { + this.hide(); + } + }; + var op = $.extend(defaults, options); + + // Default CSS classes + var active = "active", + inactive = "inactive"; + + return this.each(function() { + + // Increment coookie counter to ensure cookie name integrity + cookieCounter++; + var obj = $(this), + // Find all headers and wrap them in for accessibility. + sections = obj.find(op.head).wrapInner(''), + l = sections.length, + cookie = op.cookieName + "_" + cookieCounter; + // Locate all panels directly following a header + var panel = obj.find(op.head).map(function() { + var head = $(this) + if(!head.hasClass(active)) { + return head.next(op.group).hide()[0]; + } + return head.next(op.group)[0]; + }); + + // Bind event for showing content + obj.bind("show", function(e, bypass) { + var obj = $(e.target); + // ARIA attribute + obj.attr('aria-hidden', false) + .prev() + .removeClass(inactive) + .addClass(active); + // Bypass method for instant display + if(bypass) { + obj.show(); + } else { + op.show.call(obj); + } + }); + + // Bind event for hiding content + obj.bind("hide", function(e, bypass) { + var obj = $(e.target); + obj.attr('aria-hidden', true) + .prev() + .removeClass(active) + .addClass(inactive); + if(bypass) { + obj.hide(); + } else { + op.hide.call(obj); + } + }); + + // Look for existing cookies + if(cookieSupport) { + for (var c=0;c<=l;c++) { + var val = $.cookie(cookie + c); + // Show content if associating cookie is found + if ( val == c + "open" ) { + panel.eq(c).trigger('show', [true]); + // Hide content + } else if ( val == c + "closed") { + panel.eq(c).trigger('hide', [true]); + } + } + } + + // Delegate click event to show/hide content. + obj.bind("click", function(e) { + var t = $(e.target); + // Check if header was clicked + if(!t.is(op.head)) { + // What about link inside header. + if ( t.parent().is(op.head) ) { + t = t.parent(); + } else { + return; + } + e.preventDefault(); + } + // Figure out what position the clicked header has. + var num = sections.index(t), + cookieName = cookie + num, + cookieVal = num, + content = t.next(op.group); + // If content is already active, hide it. + if(t.hasClass(active)) { + content.trigger('hide'); + cookieVal += 'closed'; + if(cookieSupport) { + $.cookie(cookieName, cookieVal, { path: '/', expires: 10 }); + } + return; + } + // Otherwise show it. + content.trigger('show'); + cookieVal += 'open'; + if(cookieSupport) { + $.cookie(cookieName, cookieVal, { path: '/', expires: 10 }); + } + }); + }); + } + }); + + // Make sure can we eat cookies without getting into trouble. + var cookieSupport = (function() { + try { + $.cookie('x', 'x', { path: '/', expires: 10 }); + $.cookie('x', null); + } + catch(e) { + return false; + } + return true; + })(); +})(jQuery); \ No newline at end of file diff --git a/doc/out/resources/javascripts/jquery.cookie.js b/doc/out/resources/javascripts/jquery.cookie.js new file mode 100644 index 00000000..6df1faca --- /dev/null +++ b/doc/out/resources/javascripts/jquery.cookie.js @@ -0,0 +1,96 @@ +/** + * Cookie plugin + * + * Copyright (c) 2006 Klaus Hartl (stilbuero.de) + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + */ + +/** + * Create a cookie with the given name and value and other optional parameters. + * + * @example $.cookie('the_cookie', 'the_value'); + * @desc Set the value of a cookie. + * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true }); + * @desc Create a cookie with all available options. + * @example $.cookie('the_cookie', 'the_value'); + * @desc Create a session cookie. + * @example $.cookie('the_cookie', null); + * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain + * used when the cookie was set. + * + * @param String name The name of the cookie. + * @param String value The value of the cookie. + * @param Object options An object literal containing key/value pairs to provide optional cookie attributes. + * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. + * If a negative value is specified (e.g. a date in the past), the cookie will be deleted. + * If set to null or omitted, the cookie will be a session cookie and will not be retained + * when the the browser exits. + * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). + * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). + * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will + * require a secure protocol (like HTTPS). + * @type undefined + * + * @name $.cookie + * @cat Plugins/Cookie + * @author Klaus Hartl/klaus.hartl@stilbuero.de + */ + +/** + * Get the value of a cookie with the given name. + * + * @example $.cookie('the_cookie'); + * @desc Get the value of a cookie. + * + * @param String name The name of the cookie. + * @return The value of the cookie. + * @type String + * + * @name $.cookie + * @cat Plugins/Cookie + * @author Klaus Hartl/klaus.hartl@stilbuero.de + */ +jQuery.cookie = function(name, value, options) { + if (typeof value != 'undefined') { // name and value given, set cookie + options = options || {}; + if (value === null) { + value = ''; + options.expires = -1; + } + var expires = ''; + if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { + var date; + if (typeof options.expires == 'number') { + date = new Date(); + date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); + } else { + date = options.expires; + } + expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE + } + // CAUTION: Needed to parenthesize options.path and options.domain + // in the following expressions, otherwise they evaluate to undefined + // in the packed version for some reason... + var path = options.path ? '; path=' + (options.path) : ''; + var domain = options.domain ? '; domain=' + (options.domain) : ''; + var secure = options.secure ? '; secure' : ''; + document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); + } else { // only name given, get cookie + var cookieValue = null; + if (document.cookie && document.cookie != '') { + var cookies = document.cookie.split(';'); + for (var i = 0; i < cookies.length; i++) { + var cookie = jQuery.trim(cookies[i]); + // Does this cookie string begin with the name we want? + if (cookie.substring(0, name.length + 1) == (name + '=')) { + cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); + break; + } + } + } + return cookieValue; + } +}; \ No newline at end of file diff --git a/doc/out/resources/javascripts/jquery.js b/doc/out/resources/javascripts/jquery.js new file mode 100644 index 00000000..3ca5e0f5 --- /dev/null +++ b/doc/out/resources/javascripts/jquery.js @@ -0,0 +1,4 @@ +/*! jQuery v1.7 jquery.com | jquery.org/license */ +(function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=cn.width=cn.height=0),b.appendChild(cn);if(!co||!cn.createElement)co=(cn.contentWindow||cn.contentDocument).document,co.write((c.compatMode==="CSS1Compat"?"":"")+""),co.close();d=co.createElement(a),co.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cn)}cm[a]=e}return cm[a]}function cw(a,b){var c={};f.each(cs.concat.apply([],cs.slice(0,b)),function(){c[this]=a});return c}function cv(){ct=b}function cu(){setTimeout(cv,0);return ct=f.now()}function cl(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ck(){try{return new a.XMLHttpRequest}catch(b){}}function ce(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bB(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function br(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bi,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bq(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bp(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bp)}function bp(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bo(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bn(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bm(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(){return!0}function M(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/ig,x=/^-ms-/,y=function(a,b){return(b+"").toUpperCase()},z=d.userAgent,A,B,C,D=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=Array.prototype.push,G=Array.prototype.slice,H=String.prototype.trim,I=Array.prototype.indexOf,J={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?F.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),B.add(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;B.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!B){B=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",C,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",C),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&K()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return a!=null&&m.test(a)&&!isNaN(a)},type:function(a){return a==null?String(a):J[D.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!E.call(a,"constructor")&&!E.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||E.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(x,"ms-").replace(w,y)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,unknownElems:!!a.getElementsByTagName("nav").length,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",enctype:!!c.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.lastChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-999px",top:"-999px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
t
",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;f(function(){var a,b,d,e,g,h,i=1,j="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",n="style='"+j+"border:5px solid #000;padding:0;'",p="
"+""+"
";m=c.getElementsByTagName("body")[0];!m||(a=c.createElement("div"),a.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+i+"px",m.insertBefore(a,m.firstChild),o=c.createElement("div"),o.style.cssText=j+l,o.innerHTML=p,a.appendChild(o),b=o.firstChild,d=b.firstChild,g=b.nextSibling.firstChild.firstChild,h={doesNotAddBorder:d.offsetTop!==5,doesAddBorderForTableAndCells:g.offsetTop===5},d.style.position="fixed",d.style.top="20px",h.fixedPosition=d.offsetTop===20||d.offsetTop===15,d.style.position=d.style.top="",b.style.overflow="hidden",b.style.position="relative",h.subtractsBorderForOverflowNotVisible=d.offsetTop===-5,h.doesNotIncludeMarginInBodyOffset=m.offsetTop!==i,m.removeChild(a),o=a=null,f.extend(k,h))}),o.innerHTML="",n.removeChild(o),o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[f.expando]:a[f.expando]&&f.expando,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[f.expando]=n=++f.uuid:n=f.expando),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[f.expando]:f.expando;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)?b=b:b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" "));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];if(!arguments.length){if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}return b}e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!a||j===3||j===8||j===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g},removeAttr:function(a,b){var c,d,e,g,h=0;if(a.nodeType===1){d=(b||"").split(p),g=d.length;for(;h=0}})});var z=/\.(.*)$/,A=/^(?:textarea|input|select)$/i,B=/\./g,C=/ /g,D=/[^\w\s.|`]/g,E=/^([^\.]*)?(?:\.(.+))?$/,F=/\bhover(\.\S+)?/,G=/^key/,H=/^(?:mouse|contextmenu)|click/,I=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,J=function(a){var b=I.exec(a);b&& +(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},K=function(a,b){return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||a.id===b[2])&&(!b[3]||b[3].test(a.className))},L=function(a){return f.event.special.hover?a:a.replace(F,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=L(c).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"",(g||!e)&&c.preventDefault();if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,n=null;for(m=e.parentNode;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l=0:t===b&&(t=o[s]=r.quick?K(m,r.quick):f(m).is(s)),t&&q.push(r);q.length&&j.push({elem:m,matches:q})}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),G.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),H.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Y="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",Z=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,_=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ba=/<([\w:]+)/,bb=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bk=X(c);bj.optgroup=bj.option,bj.tbody=bj.tfoot=bj.colgroup=bj.caption=bj.thead,bj.th=bj.td,f.support.htmlSerialize||(bj._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after" +,arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Z,""):null;if(typeof a=="string"&&!bd.test(a)&&(f.support.leadingWhitespace||!$.test(a))&&!bj[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(_,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bn(a,d),e=bo(a),g=bo(d);for(h=0;e[h];++h)g[h]&&bn(e[h],g[h])}if(b){bm(a,d);if(c){e=bo(a),g=bo(d);for(h=0;e[h];++h)bm(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bc.test(k))k=b.createTextNode(k);else{k=k.replace(_,"<$1>");var l=(ba.exec(k)||["",""])[1].toLowerCase(),m=bj[l]||bj._default,n=m[0],o=b.createElement("div");b===c?bk.appendChild(o):X(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=bb.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&$.test(k)&&o.insertBefore(b.createTextNode($.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bt.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bs,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bs.test(g)?g.replace(bs,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bB(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bC=function(a,c){var d,e,g;c=c.replace(bu,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bD=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bv.test(f)&&bw.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bB=bC||bD,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bF=/%20/g,bG=/\[\]$/,bH=/\r?\n/g,bI=/#.*$/,bJ=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bK=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bL=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bM=/^(?:GET|HEAD)$/,bN=/^\/\//,bO=/\?/,bP=/)<[^<]*)*<\/script>/gi,bQ=/^(?:select|textarea)/i,bR=/\s+/,bS=/([?&])_=[^&]*/,bT=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bU=f.fn.load,bV={},bW={},bX,bY,bZ=["*/"]+["*"];try{bX=e.href}catch(b$){bX=c.createElement("a"),bX.href="",bX=bX.href}bY=bT.exec(bX.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bU)return bU.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bP,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bQ.test(this.nodeName)||bK.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bH,"\r\n")}}):{name:b.name,value:c.replace(bH,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?cb(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),cb(a,b);return a},ajaxSettings:{url:bX,isLocal:bL.test(bY[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bZ},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:b_(bV),ajaxTransport:b_(bW),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cd(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=ce(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bJ.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bI,"").replace(bN,bY[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bR),d.crossDomain==null&&(r=bT.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bY[1]&&r[2]==bY[2]&&(r[3]||(r[1]==="http:"?80:443))==(bY[3]||(bY[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),ca(bV,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bM.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bO.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bS,"$1_="+x);d.url=y+(y===d.url?(bO.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bZ+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=ca(bW,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){s<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)cc(g,a[g],c,e);return d.join("&").replace(bF,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cf=f.now(),cg=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cf++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cg.test(b.url)||e&&cg.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cg,l),b.url===j&&(e&&(k=k.replace(cg,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ch=a.ActiveXObject?function(){for(var a in cj)cj[a](0,1)}:!1,ci=0,cj;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ck()||cl()}:ck,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ch&&delete cj[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++ci,ch&&(cj||(cj={},f(a).unload(ch)),cj[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cm={},cn,co,cp=/^(?:toggle|show|hide)$/,cq=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cr,cs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],ct;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cw("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cz.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cz.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cA(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cA(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/doc/out/resources/javascripts/plugins.js b/doc/out/resources/javascripts/plugins.js new file mode 100644 index 00000000..efda459c --- /dev/null +++ b/doc/out/resources/javascripts/plugins.js @@ -0,0 +1,13 @@ +window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}}; +(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try +{console.log();return window.console;}catch(err){return window.console={};}})()); + +/* + * jQuery throttle / debounce - v1.1 - 3/7/2010 + * http://benalman.com/projects/jquery-throttle-debounce-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this); diff --git a/doc/out/resources/javascripts/prettify-extension.js b/doc/out/resources/javascripts/prettify-extension.js new file mode 100644 index 00000000..ca8458dc --- /dev/null +++ b/doc/out/resources/javascripts/prettify-extension.js @@ -0,0 +1,24 @@ +// Stolen from StackOverflow. Find all
 
+// elements on the page and add the "prettyprint" style. If at least one 
+// prettyprint element was found, call the Google Prettify prettyPrint() API.
+//http://sstatic.net/so/js/master.js?v=6523
+function styleCode() 
+{
+    if (typeof disableStyleCode != "undefined") 
+    {
+        return;
+    }
+
+    var a = false;
+
+    $("pre code").parent().each(function() 
+    {
+        if (!$(this).hasClass("prettyprint")) 
+        {
+            $(this).addClass("prettyprint");
+            a = true
+        }
+    });
+    
+    if (a) { prettyPrint() } 
+}
\ No newline at end of file
diff --git a/doc/out/resources/javascripts/prettify.js b/doc/out/resources/javascripts/prettify.js
new file mode 100644
index 00000000..eef5ad7e
--- /dev/null
+++ b/doc/out/resources/javascripts/prettify.js
@@ -0,0 +1,28 @@
+var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
+(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
+[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
+l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
+q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
+q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
+"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
+a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
+for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
+"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
+H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
+J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
+I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
+["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
+/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
+["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
+hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b=
+!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p= 0) $('li#node_js_ref').addClass("active");
+    else if (pathName.indexOf("nodejs_dev_guide") >= 0) $('li#nodejs_dev_guide').addClass("active");
+    else if (pathName.indexOf("js_doc") >= 0) $('li#js_doc').addClass("active");
+
+    function loadCallback(evt) {
+        var form = document.getElementById("searchbox");
+        var input = form.query;
+        form.onsubmit = function (evt) {
+            var query = input.value;
+            if (query) {
+                input.value = "";
+                input.blur();
+                var currentVersion = $('#currentVersion').text();
+                var url = "https://www.google.com/search?q=" + encodeURIComponent("site:nodemanual.org/" + currentVersion + " " + query);
+                window.open(url);
+            }
+            return false;
+        };
+    }
+
+    var fileNameRE = new RegExp("^" + fileName, "i");
+
+    $('a.menuLink').each(function (index) {
+        if ($(this).attr("href").match(fileNameRE)) {
+            $(this).addClass("currentItem");
+            return false;
+        }
+    });
+
+    // init search
+    $('#search')
+    // prevent from form submit
+    .on('submit', function () {
+        return false;
+    }).find('input');
+
+    // init prettyprint
+    $('pre > code').addClass('prettyprint');
+    prettyPrint();
+    
+});
+
+$(document).ready(function () {
+    var d = 'a.menu, .dropdown-toggle'
+
+    function clearMenus() {
+        $(d).parent('li').each(function () {
+            $(this).removeClass('open')
+        });
+    }
+
+	// force a sticky footer
+	$(window).bind("load", function() { 
+	
+	       var footerHeight = 0,
+	           footerTop = 0,
+	           $footer = $("#footer");
+	
+	       positionFooter();
+	
+	       function positionFooter() {
+	
+	                footerHeight = $footer.height();
+	                footerTop = ($(window).scrollTop()+$(window).height()-footerHeight)+"px";
+	
+	               if ( ($(document.body).height()+footerHeight) < $(window).height()) {
+	                   $footer.css({
+	                        position: "absolute"
+	                   }).animate({
+	                        top: footerTop
+	                   })
+	               } else {
+	                   $footer.css({
+	                        position: "static"
+	                   })
+	               }
+	
+	       }
+	
+	       $(window)
+	               .scroll(positionFooter)
+	               .resize(positionFooter)
+	
+	});
+
+    var s, sx;
+
+    // scrolling offset calculation via www.quirksmode.org
+    if (window.pageYOffset || window.pageXOffset) {
+        s = window.pageYOffset;
+        sx = window.pageXOffset;
+    }
+    else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
+        s = document.documentElement.scrollTop;
+        sx = document.documentElement.scrollLeft;
+    }
+    else if (document.body) {
+        s = document.body.scrollTop;
+        sx = document.body.scrollLeft;
+    }
+
+    if (document.documentElement.offsetWidth < 1010) {
+        if (sx <= 0) sx = 0;
+        else if (sx + document.documentElement.offsetWidth > 1010) sx = 1010 - document.documentElement.offsetWidth;
+    }
+    else sx = 0;
+
+    $('.members').each(function (i) {
+        var position = $(this).position();
+        var $classContent = $(this).closest('.classContent');
+        
+        $(this).scrollspy({
+            min: $classContent.position().top - 35,
+            max: $classContent.position().top + $classContent.height(),
+            onEnter: function (element, position) {
+                var $pagination = $(element);
+                var $paginationContent = $('.membersContent pos' + i);
+                var $tabs = $('.tabs pos' + i);
+
+                $paginationContent.css('left', -1 * sx);
+                $paginationContent.css('top', 0);
+
+                $pagination.addClass('shadow').stop().css({
+                    height: 31,
+                    'top': 33
+                }).closest('.classContent').addClass('srolled');
+
+                $tabs.addClass('tabsSansBorder');
+            },
+            onLeave: function (element, position) {
+                var $pagination = $(element);
+                var $paginationContent = $('.membersContent pos' + i);
+                var $tabs = $('.tabs pos' + i);
+
+                $paginationContent.stop().css({
+                    top: 11
+                }); 
+                $pagination.css({
+                    'position': 'absolute',
+                    'top': 193
+                });
+                $pagination.stop().removeClass('shadow').css({
+                    height: 42
+                });
+
+                $paginationContent.css('left', 0);
+               // setTimeout(function () {
+                    $paginationContent.css({
+                        'top': ''
+                    });
+                    $pagination.css({
+                        'position': '',
+                        'top': ''
+                    });
+                    $paginationContent.css('left', 0);
+                    $pagination.closest('.classContent').removeClass('srolled')
+                    $tabs.removeClass('tabsSansBorder');
+               // }, 300);
+            }
+        });
+    });
+    
+    $('span.methodClicker, article.article, h3.methodClicker').each(function () {
+        var a = $(this);
+        var constructorPos = a.attr("id").indexOf("new ");
+
+        var objName = a.attr("id");
+        if (constructorPos >= 0) {
+            objName = objName.substring(constructorPos + 4);
+            objName += ".new";
+        }
+
+        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, '\\.'));
+        if ($clickerEl.length > 0 && $clickerEl.hasClass('methodClicker')) {
+            var p = $clickerEl.parent();
+            p[0].force = true;
+            p.trigger('click');
+            p[0].force = false;
+        }
+    }
+
+    if (location.hash) {
+        showMethodContent();
+        var data = location.hash;
+        scrollTo(null, data.substr(1));
+    }
+
+    window.onhashchange = function () {
+        showMethodContent();
+    }
+});
+
+function scrollTo(el, data) {
+    if (!data) {
+        data = el.getAttribute("data-id");
+        location.hash = data;
+    }
+    var el = $("span#" + data.replace(/\./g, "\\."))[0];
+    if (!el) return;
+
+    var article = $(el).closest('.article')[0];
+
+    var top = article.offsetTop - 100;
+
+    if (document.body.scrollTop > top || document.body.scrollTop != top && document.body.scrollTop + (window.innerHeight || document.documentElement.offsetHeight) < top + article.offsetHeight) {
+        $('body').animate({
+            scrollTop: top
+        }, {
+            duration: 200,
+            easing: "swing"
+        });
+    }
+}
\ No newline at end of file
diff --git a/doc/out/scrollbar.html b/doc/out/scrollbar.html
new file mode 100644
index 00000000..28bd09e8
--- /dev/null
+++ b/doc/out/scrollbar.html
@@ -0,0 +1,351 @@
+
+
+
+  
+
+  
+    
+    
+    Ace API - scrollbar
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+  
+  
+    
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

ScrollBar[edit] +

+ +
+
+
+
+

A set of methods for setting and retrieving the editor's scrollbar.

+ +
+
+
+

Constructors

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

Creates a new ScrollBar. parent is the owner of the scroll bar. ...

+ +
+

Creates a new ScrollBar. parent is the owner of the scroll bar.

+ +
+

   

+
+

Arguments

parentDOMElementRequired. A DOM element
+ + + + + +

Events

+
+
+
+
+

Emitted when the scroll bar, well, scrolls. ...

+ +
+

Emitted when the scroll bar, well, scrolls.

+ +
+

   

+
+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • ScrollBar.getWidth() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

heightNumberRequired. The new height
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • ScrollBar.setInnerHeight(Number height)
    • +
    +
      +
    +
  • +
+
+
+

Sets the inner height of the scroll bar, in pixels. ...

+ +
+

Sets the inner height of the scroll bar, in pixels.

+ +
+

   

+
+

Arguments

heightNumberRequired. The new inner height
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • ScrollBar.setScrollTop(Number scrollTop)
    • +
    +
      +
    +
  • +
+
+
+

Sets the scroll top of the scroll bar. ...

+ +
+

Sets the scroll top of the scroll bar.

+ +
+

   

+
+

Arguments

scrollTopNumberRequired. The new scroll top
+
+
+
+
+
+ + +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/out/search.html b/doc/out/search.html new file mode 100644 index 00000000..b31198fd --- /dev/null +++ b/doc/out/search.html @@ -0,0 +1,391 @@ + + + + + + + + + Ace API - search + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

Search[edit] +

+ +
+
+
+
+

A class designed to handle all sorts of text searches within a Document.

+ +
+
+
+

Constructors

+
+
+
+
+
    +
  • +
      +
    • new Search()
    • +
    +
      +
    +
  • +
+
+
+ + + +
    +
  • needle: ""
  • +
  • backwards: false
  • +
  • wrap: false
  • +
  • caseSensitive: false
  • +
  • wholeWord: false
  • +
  • scope: ALL
  • +
  • regExp: false
  • +
+ +
+
+
+
+
+

Methods

+
+
+
+
+ +
+
+

Searches for options.needle. If found, this method returns the Range where the text first occurs. If `...

+ +
+

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

sessionEditSessionRequired. The session to search with
+
+
+
+
+
+
+
+
+
+ +
+
+

Searches for all occurances options.needle. If found, this method returns an array of Ranges where the...

+ +
+

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

sessionEditSessionRequired. The session to search with
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Search.getOptions() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

inputStringRequired. The text to search in
replacementStringRequired. 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.

+ +
+

   

+
+

Arguments

optionsObjectRequired. An object containing all the new search properties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/selection.html b/doc/out/selection.html new file mode 100644 index 00000000..b055823a --- /dev/null +++ b/doc/out/selection.html @@ -0,0 +1,1695 @@ + + + + + + + + + Ace API - selection + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+

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

sessionEditSessionRequired. The session to use
+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • Selection.addRange(Range range, Boolean $blockChangeEvents)
    • +
    +
      +
    +
  • +
+
+
+

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

rangeRangeRequired. The new range to add
$blockChangeEventsBooleanRequired. Whether or not to block changing events
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.clearSelection()
    • +
    +
      +
    +
  • +
+
+
+

[Empties the selection (by de-selecting it). This function also emits the 'changeSelection' event.]{: #Selection.c...

+ +
+

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

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.getCursor() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.isBackwards() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the selection is going backwards in the document. ...

+ +
+

Returns true if the selection is going backwards in the document.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.isEmpty() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the selection is empty. ...

+ +
+

Returns true if the selection is empty.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.isMultiLine() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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.

+ +
+

   

+
+

Arguments

rowsNumberRequired. The number of rows to move by
charsNumberRequired. 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.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 i...

+ +
+

If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to move to
columnNumberRequired. The column to move to
keepDesiredColumnBooleanRequired. If true, the cursor move does not respect the previous column
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorToPosition(Object position)
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection to the position indicated by its row and column. ...

+ +
+

Moves the selection to the position indicated by its row and column.

+ +
+

   

+
+

Arguments

positionObjectRequired. The position to move to
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    +
  • +
+
+
+

Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point. ...

+ +
+

Moves the cursor to the screen position indicated by row and column. If preventUpdateDesiredColumn is true, then the cursor stays in the same column position as its original point.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to move to
columnNumberRequired. The column to move to
keepDesiredColumnBooleanRequired. 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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorWordLeft()
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the word on the left. ...

+ +
+

Moves the cursor to the word on the left.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorWordRight()
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the word on the right. ...

+ +
+

Moves the cursor to the word on the right.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.rectangularRangeBlock(Cursor screenCursor, Anchor screenAnchor, Boolean includeEmptyLines) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Gets list of ranges composing rectangular block on the screen + ...

+ +
+

Gets list of ranges composing rectangular block on the screen +

+ +
+

   

+

/ + this.rectangularRangeBlock = function(screenCursor, screenAnchor, includeEmptyLines) { + var rectSel = []; + +

+
   var xBackwards = screenCursor.column < screenAnchor.column;
+   if (xBackwards) {
+       var startColumn = screenCursor.column;
+       var endColumn = screenAnchor.column;
+   } else {
+       var startColumn = screenAnchor.column;
+       var endColumn = screenCursor.column;
+   }
+
+   var yBackwards = screenCursor.row < screenAnchor.row;
+   if (yBackwards) {
+       var startRow = screenCursor.row;
+       var endRow = screenAnchor.row;
+   } else {
+       var startRow = screenAnchor.row;
+       var endRow = screenCursor.row;
+   }
+
+   if (startColumn < 0)
+       startColumn = 0;
+   if (startRow < 0)
+       startRow = 0;
+
+   if (startRow == endRow)
+       includeEmptyLines = true;
+
+   for (var row = startRow; row <= endRow; row++) {
+       var range = Range.fromPoints(
+           this.session.screenToDocumentPosition(row, startColumn),
+           this.session.screenToDocumentPosition(row, endColumn)
+       );
+       if (range.isEmpty()) {
+           if (docEnd && isSamePoint(range.end, docEnd))
+               break;
+           var docEnd = range.end;
+       }
+       range.cursor = xBackwards ? range.start : range.end;
+       rectSel.push(range);
+   }
+
+   if (yBackwards)
+       rectSel.reverse();
+
+   if (!includeEmptyLines) {
+       var end = rectSel.length - 1;
+       while (rectSel[end].isEmpty() && end > 0)
+           end--;
+       if (end > 0) {
+           var start = 0;
+           while (rectSel[start].isEmpty())
+               start++;
+       }
+       for (var i = end; i >= start; i--) {
+           if (rectSel[i].isEmpty())
+               rectSel.splice(i, 1);
+       }
+   }
+
+   return rectSel;
+

}; +}).call(Selection.prototype); + +

+

// extend Editor +var Editor = require("./editor").Editor; +(function() { + +

+

/** extension +Editor.updateSelectionMarkers() + +

+

Updates the cursor and marker layers.

+ +

Arguments

screenCursorCursorRequired. The cursor to use
screenAnchorAnchorRequired. The anchor to use
includeEmptyLinsBooleanRequired. If true, this includes ranges inside the block which are empty due to clipping
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.substractPoint(Range pos) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Removes a Range containing pos (if it exists). ...

+ +
+

Removes a Range containing pos (if it exists).

+ +
+

   

+
+

Arguments

posRangeRequired. The position to remove, as a {row, column} object
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • 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.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row to select to
columnNumberRequired. The column to select to
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectToPosition(Object pos)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

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

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.setSelectionAnchor(Number row, Number column)
    • +
    +
      +
    +
  • +
+
+
+

Sets the row and column position of the anchor. This function also emits the 'changeSelection' event. ...

+ +
+

Sets the row and column position of the anchor. This function also emits the 'changeSelection' event.

+ +
+

   

+
+

Arguments

rowNumberRequired. The new row
columnNumberRequired. The new column
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.setSelectionRange(Range range, Boolean reverse)
    • +
    +
      +
    +
  • +
+
+
+

Sets the selection to the provided range. ...

+ +
+

Sets the selection to the provided range.

+ +
+

   

+
+

Arguments

rangeRangeRequired. The range of text to select
reverseBooleanRequired. Indicates if the range should go backwards (true) or not
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.shiftSelection(Number columns)
    • +
    +
      +
    +
  • +
+
+
+

Shifts the selection up (or down, if isBackwards is true) the given number of columns. ...

+ +
+

Shifts the selection up (or down, if isBackwards is true) the given number of columns.

+ +
+

   

+
+

Arguments

columnsNumberRequired. The number of columns to shift by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/split.html b/doc/out/split.html new file mode 100644 index 00000000..aaeb990e --- /dev/null +++ b/doc/out/split.html @@ -0,0 +1,721 @@ + + + + + + + + + Ace API - split + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

Split.blur[edit] +

+ +
+
+
+
+
+
+
    +
  • +
      +
    • Split.blur() +
    • +
        +
      • Void
      • +
      +
    • +
    + +
  • +
+
+
+

Blurs the current editor. ...

+ +
+

Blurs the current editor.

+ +
+

   

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

Split.focus[edit] +

+ +
+
+
+
+
+
+
    +
  • +
      +
    • Split.focus() +
    • +
        +
      • Void
      • +
      +
    • +
    + +
  • +
+
+
+

Focuses the current editor. ...

+ +
+

Focuses the current editor.

+ +
+

   

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

Split.getCurrentEditor[edit] +

+ +
+
+
+
+
+
+
    +
  • +
      +
    • Split.getCurrentEditor() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current editor. ...

+ +
+

Returns the current editor.

+ +
+

   

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

Split.getEditor[edit] +

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

Returns the editor identified by the index idx. ...

+ +
+

Returns the editor identified by the index idx.

+ +
+

   

+
+

Arguments

idxNumberRequired. The index of the editor you want
+
+
+
+
+
+
+
+
+
+
+

Split.getSplits[edit] +

+ +
+
+
+
+
+
+
    +
  • +
      +
    • Split.getSplits() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the number of splits. ...

+ +
+

Returns the number of splits.

+ +
+

   

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

Split.resize[edit] +

+ +
+
+
+
+
+
+
    +
  • +
      +
    • Split.resize() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    • Internal
    • +
    +
  • +
+
+
+

...

+ +
+
+
+

   

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

Split.setFontSize[edit] +

+ +
+
+
+
+
+
+ +
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

sizeNumberRequired. The new font size
+
+
+
+
+
+
+
+
+
+
+

Split.setSession[edit] +

+ +
+
+
+
+
+
+ +
+
+

Sets a new EditSession for the indicated editor. ...

+ +
+

Sets a new EditSession for the indicated editor.

+ +
+

   

+
+

Arguments

sessionEditSessionRequired. The new edit session
idxNumberRequired. The editor's index you're interested in
+
+
+
+
+
+
+
+
+
+
+

Split.setTheme[edit] +

+ +
+
+
+
+
+
+ +
+
+

Sets a theme for each of the available editors. ...

+ +
+

Sets a theme for each of the available editors.

+ +
+

   

+
+

Arguments

themeStringRequired. The name of the theme to set
+
+
+
+
+
+
+
+
+
+
+

Split.UndoManagerProxy[edit] +

+ +
+
+
+
+
+
+
    +
  • +
      +
    • Split.UndoManagerProxy() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    • Internal
    • +
    +
  • +
+
+
+

...

+ +
+
+
+

   

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/token_iterator.html b/doc/out/token_iterator.html new file mode 100644 index 00000000..6c59a948 --- /dev/null +++ b/doc/out/token_iterator.html @@ -0,0 +1,377 @@ + + + + + + + + + Ace API - token_iterator + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

TokenIterator[edit] +

+ +
+
+
+
+

This class provides an essay way to treat the document as a stream of tokens, and provides methods to iterate over these tokens.

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

Creates a new token iterator object. The inital token index is set to the provided row and column coordinates. ...

+ +
+

Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.

+ +
+

   

+
+

Arguments

sessionEditSessionRequired. The session to associate with
initialRowNumberRequired. The row to start the tokenizing at
initialColumnNumberRequired. 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 en...

+ +
+

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/doc/out/tokenizer.html b/doc/out/tokenizer.html new file mode 100644 index 00000000..439ba1a6 --- /dev/null +++ b/doc/out/tokenizer.html @@ -0,0 +1,236 @@ + + + + + + + + + Ace API - tokenizer + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

Tokenizer[edit] +

+ +
+
+ +

Constructors

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

rulesObjectRequired. The highlighting rules
flagStringRequired. 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 diff --git a/doc/out/undefined.html b/doc/out/undefined.html new file mode 100644 index 00000000..d7fadf32 --- /dev/null +++ b/doc/out/undefined.html @@ -0,0 +1,132 @@ + + + + + + + + + Ace API - + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/undomanager.html b/doc/out/undomanager.html new file mode 100644 index 00000000..1f334c32 --- /dev/null +++ b/doc/out/undomanager.html @@ -0,0 +1,415 @@ + + + + + + + + + Ace API - undomanager + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+

UndoManager[edit] +

+ +
+
+
+
+

This object maintains the undo stack for an EditSession.

+ +
+
+
+

Constructors

+
+
+
+
+
    +
  • +
      +
    • new UndoManager()
    • +
    +
      +
    +
  • +
+
+
+

Resets the current undo state and creates a new UndoManager. ...

+ +
+

Resets the current undo state and creates a new UndoManager.

+ +
+

   

+
+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • UndoManager.execute(Object options) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Provides a means for implementing your own undo manager. options has one property, args, an Array, w...

+ +
+

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

optionsObjectRequired. Contains additional properties
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • UndoManager.hasRedo() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if there are redo operations left to perform. ...

+ +
+

Returns true if there are redo operations left to perform.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • UndoManager.hasUndo() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

dontSelectBooleanRequired. 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.]{: #UndoManage...

+ +
+

Perform an undo operation on the document, reverting the last change. Returns the range of the undo.

+ +
+

   

+
+

Arguments

dontSelectBooleanRequired. If true, doesn't select the range of where the change occured
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/out/virtual_renderer.html b/doc/out/virtual_renderer.html new file mode 100644 index 00000000..f427c027 --- /dev/null +++ b/doc/out/virtual_renderer.html @@ -0,0 +1,2244 @@ + + + + + + + + + Ace API - virtual_renderer + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+

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

containerDOMElementRequired. The root element of the editor
themeStringRequired. The starting theme
+
+
+
+
+
+

Methods

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

rowNumberRequired. The row number
classNameStringRequired. The class to add
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.adjustWrapLimit() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getContainerElement() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +
+

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getMouseEventTarget() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getTextAreaContainer() +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

Hides the current composition. ...

+ +
+

Hides the current composition.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.hideCursor() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

deltaXNumberRequired. The x value to scroll by
deltaYNumberRequired. The y value to scroll by
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.moveTextAreaToCursor(DOMElement textarea) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Changes the position of textarea to where the cursor is pointing. ...

+ +
+

Changes the position of textarea to where the cursor is pointing.

+ +
+

   

+
+

Arguments

textareaDOMElementRequired. A text area to work with
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.onResize(Boolean force) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Triggers a resize of the editor.

+ +
+

Triggers a resize of the editor.

+ +
+

   

+
+

Arguments

forceBooleanRequired. If true, recomputes the size, even if the height and width haven't changed
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.removeGutterDecoration(Number row, String className) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Removes className from the row. ...

+ +
+

Removes className from the row.

+ +
+

   

+
+

Arguments

rowNumberRequired. The row number
classNameStringRequired. The class to add
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollBy(Number deltaX, Number deltaY) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Scrolls the editor across both x- and y-axes. ...

+ +
+

Scrolls the editor across both x- and y-axes.

+ +
+

   

+
+

Arguments

deltaXNumberRequired. The x value to scroll by
deltaYNumberRequired. The y value to scroll by
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollCursorIntoView() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Scrolls the cursor into the first visibile area of the editor ...

+ +
+

Scrolls the cursor into the first visibile area of the editor

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollToLine(Number line, Boolean center) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

Gracefully scrolls the editor to the row indicated.

+ +
+

   

+
+

Arguments

lineNumberRequired. A line number
centerBooleanRequired. If true, centers the editor the to indicated line
+
+
+
+
+
+
+
+
+
+ +
+
+

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

+ +
+

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

+ +
+

   

+
+

Arguments

rowNumberRequired. A row id
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollToX(Number scrollLeft) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Scrolls the editor to the x pixel indicated. ...

+ +
+

Scrolls the editor to the x pixel indicated.

+ +
+

   

+
+

Arguments

scrollLeftNumberRequired. The position to scroll to
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollToY(Number scrollTop) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Scrolls the editor to the y pixel indicated. ...

+ +
+

Scrolls the editor to the y pixel indicated.

+ +
+

   

+
+

Arguments

scrollTopNumberRequired. The position to scroll to
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setAnimatedScroll(Boolean shouldAnimate) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Identifies whether you want to have an animated scroll or not. ...

+ +
+

Identifies whether you want to have an animated scroll or not.

+ +
+

   

+
+

Arguments

shouldAnimateBooleanRequired. Set to true to show animated scrolls
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setAnnotations(Array annotations) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Sets annotations for the gutter. ...

+ +
+

Sets annotations for the gutter.

+ +
+

   

+
+

Arguments

annotationsArrayRequired. An array containing annotations
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setBreakpoints(Array rows) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Sets a breakpoint for every row number indicated on rows. ...

+ +
+

Sets a breakpoint for every row number indicated on rows.

+ +
+

   

+
+

Arguments

rowsArrayRequired. An array containg row numbers
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setCompositionText(String text) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Sets the inner text of the current composition to text. ...

+ +
+

Sets the inner text of the current composition to text.

+ +
+

   

+
+

Arguments

textStringRequired. A string of text to use
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setHScrollBarAlwaysVisible(Boolean alwaysVisible) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Identifies whether you want to show the horizontal scrollbar or not. ...

+ +
+

Identifies whether you want to show the horizontal scrollbar or not.

+ +
+

   

+
+

Arguments

alwaysVisibleBooleanRequired. Set to true to make the horizontal scroll bar visible
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setPadding(Number padding) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Sets the padding for all the layers. ...

+ +
+

Sets the padding for all the layers.

+ +
+

   

+
+

Arguments

paddingNumberRequired. A new padding value (in pixels)
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setPrintMarginColumn(Boolean showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

Identifies whether you want to show the print margin column or not. ...

+ +
+

Identifies whether you want to show the print margin column or not.

+ +
+

   

+
+

Arguments

showPrintMarginBooleanRequired. Set to true to show the print margin column
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setSession(session) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Associates an EditSession. ...

+ +
+

Associates an EditSession.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setShowGutter(Boolean show) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Identifies whether you want to show the gutter or not. ...

+ +
+

Identifies whether you want to show the gutter or not.

+ +
+

   

+
+

Arguments

showBooleanRequired. Set to true to show the gutter
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setShowInvisibles(Boolean showInvisibles) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Identifies whether you want to show invisible characters or not. ...

+ +
+

Identifies whether you want to show invisible characters or not.

+ +
+

   

+
+

Arguments

showInvisiblesBooleanRequired. Set to true to show invisibles
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setShowPrintMargin(Boolean showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

Identifies whether you want to show the print margin or not. ...

+ +
+

Identifies whether you want to show the print margin or not.

+ +
+

   

+
+

Arguments

showPrintMarginBooleanRequired. Set to true to show the print margin
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setStyle(String style) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Adds a new class, style, to the editor.

+ +
+

Adds a new class, style, to the editor.

+ +
+

   

+
+

Arguments

styleStringRequired. A class name
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setTheme(String theme) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

[Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.]{: #Virt...

+ +
+

Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.

+ +
+

   

+
+

Arguments

themeStringRequired. The path to a theme
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.showCursor() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

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

rowNumberRequired. The document row position
columnNumberRequired. The document column position
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.unsetStyle(String style) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Removes the class style from the editor.

+ +
+

Removes the class style from the editor.

+ +
+

   

+
+

Arguments

styleStringRequired. A class name
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateBackMarkers() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Schedules an update to all the back markers in the document. ...

+ +
+

Schedules an update to all the back markers in the document.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateCursor() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Updates the cursor icon. ...

+ +
+

Updates the cursor icon.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateFontSize() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Updates the font size. ...

+ +
+

Updates the font size.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateFrontMarkers() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Schedules an update to all the front markers in the document. ...

+ +
+

Schedules an update to all the front markers in the document.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateFull() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

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.updateLines(Number firstRow, Number lastRow) +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

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

firstRowNumberRequired. The first row to update
lastRowNumberRequired. The last row to update
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateText() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Triggers a full update of the text, for all the rows. ...

+ +
+

Triggers a full update of the text, for all the rows.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.visualizeBlur() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Blurs the current container. ...

+ +
+

Blurs the current container.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.visualizeFocus() +
    • +
        +
      • Void
      • +
      +
    • +
    +
      +
    +
  • +
+
+
+

Focuses the current container. ...

+ +
+

Focuses the current container.

+ +
+

   

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/doc/package.json b/doc/package.json new file mode 100644 index 00000000..89639d2c --- /dev/null +++ b/doc/package.json @@ -0,0 +1,15 @@ +{ + "name": "ace_docs", + "version": "0.0.1", + "repository": { + "type": "git", + "url": "git://github.com/ajaxorg/ace.git" + }, + "engines": { + "node": "~0.6.0" + }, + "dependencies": { + "panino" : "~1.0.12" + }, + "devDependencies": {} +} \ No newline at end of file diff --git a/doc/resources/common_layout.jade b/doc/resources/common_layout.jade index e64879eb..7f07a83c 100644 --- a/doc/resources/common_layout.jade +++ b/doc/resources/common_layout.jade @@ -48,7 +48,7 @@ mixin navBar ul.nav.topLinks li#ace_site - a(href='http://ace.ajax.org') Ace + a(href='../../index.html') Ace li#ace_api.active a(href='http://ace.ajax.org/api') Ace API Reference form(id='searchbox', action='', class='navbar-search pull-right') diff --git a/index.html b/index.html index cb75743a..92dc7b91 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@