diff --git a/api/ace.html b/api/ace.html new file mode 100644 index 00000000..c9a86d36 --- /dev/null +++ b/api/ace.html @@ -0,0 +1,85 @@ + +
+
+
+
+
+

Ace [edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Methods

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +

Arguments

elString | DOMElement

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

+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/anchor.html b/api/anchor.html new file mode 100644 index 00000000..7337f23d --- /dev/null +++ b/api/anchor.html @@ -0,0 +1,279 @@ + +
+
+
+
+
+

Anchor [edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

Creates a new Anchor and associates it with a document.

+ +
+

Creates a new Anchor and associates it with a document.

+ +

Arguments

docDocument

Required. The document to associate with the anchor

+
rowNumber

Required. The starting row position

+
columnNumber

Required. The starting column position

+
+
+
+
+
+
+

Events

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

Fires whenever the anchor position changes.

+ +
+

Fires whenever the anchor position changes.

+

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

+

Events that can trigger this function include setPosition().

+ +

Arguments

eObject

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

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

Methods

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

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

+ +
+

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

+ +

Arguments

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

Returns the current document.

+ +
+

Returns the current document.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row index to move the anchor to

+
columnNumber

Required. The column index to move the anchor to

+
noClipBoolean

Required. Identifies if you want the position to be clipped

+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/background_tokenizer.html b/api/background_tokenizer.html new file mode 100644 index 00000000..d49263aa --- /dev/null +++ b/api/background_tokenizer.html @@ -0,0 +1,335 @@ + +
+
+
+
+
+

BackgroundTokenizer [edit] +

+ +
+
+
+
+

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

+

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

+ +
+
+
+

Constructors

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

Creates a new BackgroundTokenizer object.

+ +
+

Creates a new BackgroundTokenizer object.

+ +

Arguments

tokenizerTokenizer

Required. The tokenizer to use

+
editorEditor

Required. The editor to associate with

+
+
+
+
+
+
+

Events

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

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

+ +
+

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

+ +

Arguments

eObject

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

+
+
+
+
+
+
+

Methods

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

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

+ +
+

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

+ +

Arguments

firstRowNumber

Required. The starting row region

+
lastRowNumber

Required. The final row region

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to get state at

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to get tokens at

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

Sets a new document to associate with this object.

+ +
+

Sets a new document to associate with this object.

+ +

Arguments

docDocument

Required. The new document to associate with

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

Sets a new tokenizer for this object.

+ +
+

Sets a new tokenizer for this object.

+ +

Arguments

tokenizerTokenizer

Required. The new tokenizer to use

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

Starts tokenizing at the row indicated.

+ +
+

Starts tokenizing at the row indicated.

+ +

Arguments

startRowNumber

Required. The row to start at

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

Stops tokenizing.

+ +
+

Stops tokenizing.

+ +

Arguments

+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/command_manager.html b/api/command_manager.html new file mode 100644 index 00000000..24afeae8 --- /dev/null +++ b/api/command_manager.html @@ -0,0 +1,55 @@ + +
+
+
+
+
+

CommandManager [edit] +

+ +
+
+
+
+

new CommandManager(platform, commands)

+ +
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/document.html b/api/document.html new file mode 100644 index 00000000..8f7bb93c --- /dev/null +++ b/api/document.html @@ -0,0 +1,865 @@ + +
+
+
+
+
+

Document [edit] +

+ +
+
+
+
+

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

+

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

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +

Arguments

textString | Array

Required. The starting text

+
+
+
+
+
+
+

Events

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

Fires whenever the document changes.

+ +
+

Fires whenever the document changes.

+

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

+ + +

Arguments

eObject

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

+
+
+
+
+
+
+

Methods

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

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

+ +
+

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

+ +

Arguments

deltasObject

Required.

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row number to use

+
columnNumber

Required. The column number to use

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

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

+ +
+

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

+ +

Arguments

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

Returns the number of rows in the document.

+ +
+

Returns the number of rows in the document.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row index to retrieve

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

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

+ +
+

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

+ +

Arguments

firstRowNumber

Required. The first row index to retrieve

+
lastRowNumber

Required. The final row index to retrieve

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rangeRange

Required. The range to work with

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

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

+ +
+

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

+ +

Arguments

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

Inserts a block of text and the indicated position.

+ +
+

Inserts a block of text and the indicated position.

+ +

Arguments

positionNumber

Required. The position to start inserting at

+
textString

Required. A chunk of text to insert

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

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

+ +
+

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

+ +

Arguments

positionNumber

Required. The position to insert at

+
textString

Required. A chunk of text

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The index of the row to insert at

+
linesArray

Required. An array of strings

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

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

+ +
+

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

+ +

Arguments

positionString

Required. The position to insert at

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

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

+ +
+

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

+ +

Arguments

textString

Required. The text to check

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

Removes the range from the document.

+ +
+

Removes the range from the document.

+ +

Arguments

rangeRange

Required. A specified Range to remove

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to remove from

+
startColumnNumber

Required. The column to start removing at

+
endColumnNumber

Required. The column to stop removing at

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

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

+ +
+

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

+ +

Arguments

firstRowNumber

Required. The first row to be removed

+
lastRowNumber

Required. The last row to be removed

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to check

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

Replaces a range in the document with the new text.

+ +
+

Replaces a range in the document with the new text.

+ +

Arguments

rangeRange

Required. A specified Range to replace

+
textString

Required. The new text to use as a replacement

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

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

+ +
+

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

+ +

Arguments

deltasObject

Required.

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

Sets the new line mode.

+ +
+

Sets the new line mode.

+ +

Arguments

newLineModeString

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

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

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

+ +
+

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

+ +

Arguments

textString

Required. The text to use

+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/edit_session.html b/api/edit_session.html new file mode 100644 index 00000000..82d22eea --- /dev/null +++ b/api/edit_session.html @@ -0,0 +1,3165 @@ + +
+
+
+
+
+

EditSession [edit] +

+ +
+
+
+
+

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

+

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

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +

Arguments

textDocument | String

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

+
modeTextMode

Required. The inital language mode to use for the document

+
+
+
+
+
+
+

Events

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

Emitted when the document changes.

+ +
+

Emitted when the document changes.

+ +

Arguments

eObject

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

+
+
+
+
+
+
+ +
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeBackMarker
    • +
    +
      +
    +
  • +
+
+
+

Emitted when a back marker changes.

+ +
+

Emitted when a back marker changes.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeBreakpoint
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeFold
    • +
    +
      +
    +
  • +
+
+
+

Emitted when a code fold is added or removed.

+ +
+

Emitted when a code fold is added or removed.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeFrontMarker
    • +
    +
      +
    +
  • +
+
+
+

Emitted when a front marker changes.

+ +
+

Emitted when a front marker changes.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeMode
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the current mode changes.

+ +
+

Emitted when the current mode changes.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeOverwrite
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

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

Emitted when the scroll left changes.

+ +
+

Emitted when the scroll left changes.

+ +

Arguments

scrollLeftNumber

Required. The new scroll left value

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

Emitted when the scroll top changes.

+ +
+

Emitted when the scroll top changes.

+ +

Arguments

scrollTopNumber

Required. The new scroll top value

+
+
+
+
+
+
+ +
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeWrapLimit
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the wrapping limit changes.

+ +
+

Emitted when the wrapping limit changes.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("changeWrapMode
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the wrap mode changes.

+ +
+

Emitted when the wrap mode changes.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.on("loadMode
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the mode is loaded.

+ +
+

Emitted when the mode is loaded.

+ +

Arguments

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

Emitted when a background tokenizer asynchronously processes new rows.

+ +
+

Emitted when a background tokenizer asynchronously processes new rows.

+ +

Arguments

eObject

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

+
+
+
+
+
+
+

Methods

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

Adds a dynamic marker to the session.

+ +
+

Adds a dynamic marker to the session.

+ +

Arguments

markerObject

Required. object with update method

+
inFrontBoolean

Required. Set to true to establish a front marker

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row number

+
classNameString

Required. The class to add

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

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

+ +
+

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

+ +

Arguments

rangeRange

Required. Define the range of the marker

+
clazzString

Required. Set the CSS class for the marker

+
typeFunction | String

Required. Identify the type of the marker

+
inFrontBoolean

Required. Set to true to establish a front marker

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row index

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required.

+
docColumnNumber

Required.

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

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

+ +
+

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

+ +

Arguments

docRowNumber

Required. The document row to check

+
docColumnNumber

Required. The document column to check

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

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

+ +
+

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

+ +

Arguments

docRowNumber

Required.

+
docColumnNumber

Required.

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

Duplicates all the text between firstRow and lastRow.

+ +
+

Duplicates all the text between firstRow and lastRow.

+ +

Arguments

firstRowNumber

Required. The starting row to duplicate

+
lastRowNumber

Required. The final row to duplicate

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

Returns the annotations for the EditSession.

+ +
+

Returns the annotations for the EditSession.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row number to start from

+
columnNumber

Required. The column number to start from

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

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

+ +
+

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

+ +

Arguments

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

Returns the Document associated with this session.

+ +
+

Returns the Document associated with this session.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

docRowNumber

Required.

+
docColumnNumber

Required.

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

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

+ +
+

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

+ +

Arguments

docRowNumber

Required.

+
docColumnNumber

Required.

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

Returns the number of rows in the document.

+ +
+

Returns the number of rows in the document.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to retrieve from

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

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

+ +
+

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

+ +

Arguments

firstRowNumber

Required. The first row index to retrieve

+
lastRowNumber

Required. The final row index to retrieve

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

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

+ +
+

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

+ +

Arguments

inFrontBoolean

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

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

Returns the current text mode.

+ +
+

Returns the current text mode.

+ +

Arguments

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

Returns the current new line mode.

+ +
+

Returns the current new line mode.

+ +

Arguments

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

Returns true if overwrites are enabled; false otherwise.

+ +
+

Returns true if overwrites are enabled; false otherwise.

+ +

Arguments

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

Returns number of screenrows in a wrapped line.

+ +
+

Returns number of screenrows in a wrapped line.

+ +

Arguments

rowNumber

Required. The row number to check

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

For the given row, this returns the split data.

+ +
+

For the given row, this returns the split data.

+ +

Arguments

rowObject

Required.

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

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

+ +
+

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

+ +

Arguments

screenRowNumber

Required. The screen row to check

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

Returns the length of the screen.

+ +
+

Returns the length of the screen.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

screenColumnNumber

Required. The screen column to check

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

Returns the width of the screen.

+ +
+

Returns the width of the screen.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

Returns the string of the current selection.

+ +
+

Returns the string of the current selection.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to start at

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

Returns the current tab size.

+ +
+

Returns the current tab size.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rangeRange

Required. The range to work with

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row number to retrieve from

+
columnNumber

Required. The column number to retrieve from

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to start at

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

Returns the current undo manager.

+ +
+

Returns the current undo manager.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

Returns true if workers are being used.

+ +
+

Returns true if workers are being used.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

Returns the current Document as a string.

+ +
+

Returns the current Document as a string.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to start at

+
columnNumber

Required. The column to start at

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

Returns the value of wrap limit.

+ +
+

Returns the value of wrap limit.

+ +

Arguments

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

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

+ +
+

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

+

{ min: wrapLimitRange_min, max: wrapLimitRange_max }

+ +

Arguments

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

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

+ +
+

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

+

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

+ +

Arguments

startRowNumber

Required. Starting row

+
endRowNumber

Required. Ending row

+
indentStringString

Required. The indent token

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

Inserts a block of text and the indicated position.

+ +
+

Inserts a block of text and the indicated position.

+ +

Arguments

positionNumber

Required. The position to start inserting at

+
textString

Required. A chunk of text to insert

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

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

+ +
+

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

+ +

Arguments

positionObject

Required. The position to check

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

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

+ +
+

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

+ +

Arguments

firstRowNumber

Required. The starting row to move down

+
lastRowNumber

Required. The final row to move down

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

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

+ +
+

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

+ +

Arguments

firstRowNumber

Required. The starting row to move up

+
lastRowNumber

Required. The final row to move up

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

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

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

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

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

Arguments

fromRangeRange

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

+
toPositionObject

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

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.onReloadTokenizer(Object e)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

eObject

Required.

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

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

+ +
+

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

+ +

Arguments

rangeRange

Required. A range of rows

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

Re-implements a previously undone change to your document.

+ +
+

Re-implements a previously undone change to your document.

+ +

Arguments

deltasArray

Required. An array of previous changes

+
dontSelectBoolean

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

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

Removes the range from the document.

+ +
+

Removes the range from the document.

+ +

Arguments

rangeRange

Required. A specified Range to remove

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

Removes className from the row.

+ +
+

Removes className from the row.

+ +

Arguments

rowNumber

Required. The row number

+
classNameString

Required. The class to add

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

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

+ +
+

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

+ +

Arguments

markerIdNumber

Required. A number representing a marker

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

Replaces a range in the document with the new text.

+ +
+

Replaces a range in the document with the new text.

+ +

Arguments

rangeRange

Required. A specified Range to replace

+
textString

Required. The new text to use as a replacement

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • EditSession.screenToDocumentPosition(Number screenRow, Number screenColumn) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

screenRowNumber

Required. The screen row to check

+
screenColumnNumber

Required. The screen column to check

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

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

+ +
+

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

+ +

Arguments

annotationsArray

Required. A list of annotations

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row index

+
classNameString

Required. Class of the breakpoint

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

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

+ +
+

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

+ +

Arguments

rowsNumber

Required. An array of row indicies

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

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

+ +
+

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

+ +

Arguments

docDocument

Required. The new Document to use

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

Sets the new line mode.

+ +
+

Sets the new line mode.

+ +

Arguments

newLineModeString

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

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

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

+ +
+

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

+

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

+ +

Arguments

overwriteBoolean

Required. Defines wheter or not to set overwrites

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

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

+ +
+

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

+ +

Arguments

scrollLeftObject

Required.

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

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

+ +
+

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

+ +

Arguments

scrollTopNumber

Required. The new scroll top value

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

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

+ +
+

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

+ +

Arguments

tabSizeNumber

Required. The new tab size

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

Sets the undo manager.

+ +
+

Sets the undo manager.

+ +

Arguments

undoManagerUndoManager

Required. The new undo manager

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

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

+ +
+

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

+ +

Arguments

enableBoolean

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

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

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

+ +
+

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

+ +

Arguments

useSoftTabsBoolean

Required. Value indicating whether or not to use soft tabs

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

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

+ +
+

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

+ +

Arguments

useWorkerBoolean

Required. Set to true to use a worker

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

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

+ +
+

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

+ +

Arguments

useWrapModeBoolean

Required. Enable (or disable) wrap mode

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

Sets the session text.

+ +
+

Sets the session text.

+ +

Arguments

textString

Required. The new text to place

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

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

+ +
+

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

+ +

Arguments

minNumber

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

+
maxNumber

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

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

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

+ +
+

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

+ +

Arguments

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

Returns the current Document as a string.

+ +
+

Returns the current Document as a string.

+ +

Arguments

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

Reverts previous changes to your document.

+ +
+

Reverts previous changes to your document.

+ +

Arguments

deltasArray

Required. An array of previous changes

+
dontSelectBoolean

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

+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/editor.html b/api/editor.html new file mode 100644 index 00000000..17ba54d7 --- /dev/null +++ b/api/editor.html @@ -0,0 +1,4073 @@ + +
+
+
+
+
+

Editor [edit] +

+ +
+
+
+
+

The main entry point into the Ace functionality.

+

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

+

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

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

Creates a new Editor object.

+ +
+

Creates a new Editor object.

+ +

Arguments

rendererVirtualRenderer

Required. Associated VirtualRenderer that draws everything

+
sessionEditSession

Required. The EditSession to refer to

+
+
+
+
+
+
+

Events

+
+
+
+
+
    +
  • +
      +
    • Editor.on("blur
    • +
    +
      +
    +
  • +
+
+
+

Emitted once the editor has been blurred.

+ +
+

Emitted once the editor has been blurred.

+ +

Arguments

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

Emitted whenever the document is changed.

+ +
+

Emitted whenever the document is changed.

+ +

Arguments

eObject

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

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

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

+ +
+

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

+ +

Arguments

dataObject

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

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

Emitted whenever the EditSession changes.

+ +
+

Emitted whenever the EditSession changes.

+ +

Arguments

eObject

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

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

Emitted when text is copied.

+ +
+

Emitted when text is copied.

+ +

Arguments

textString

Required. The copied text

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.on("focus
    • +
    +
      +
    +
  • +
+
+
+

Emitted once the editor comes into focus.

+ +
+

Emitted once the editor comes into focus.

+ +

Arguments

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

Emitted when text is pasted.

+ +
+

Emitted when text is pasted.

+ +

Arguments

textString

Required. The pasted text

+
+
+
+
+
+
+

Methods

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

Outdents the current line.

+ +
+

Outdents the current line.

+ +

Arguments

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

Blurs the current textInput.

+ +
+

Blurs the current textInput.

+ +

Arguments

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

Attempts to center the current selection on the screen.

+ +
+

Attempts to center the current selection on the screen.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

Copies all the selected lines down one row.

+ +
+

Copies all the selected lines down one row.

+ +

Arguments

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

Copies all the selected lines up one row.

+ +
+

Copies all the selected lines up one row.

+ +

Arguments

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

Cleans up the entire editor.

+ +
+

Cleans up the entire editor.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

needleString

Required. The text to search for (optional)

+
optionsObject

Required. An object defining various search properties

+
animateBoolean

Required. If true animate scrolling

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

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

+ +
+

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

+ +

Arguments

optionsObject

Required. search options

+
animateBoolean

Required. If true animate scrolling

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

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

+ +
+

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

+ +

Arguments

optionsObject

Required. search options

+
animateBoolean

Required. If true animate scrolling

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

Brings the current textInput into focus.

+ +
+

Brings the current textInput into focus.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getBehavioursEnabled +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

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

Returns the string of text currently highlighted.

+ +
+

Returns the string of text currently highlighted.

+ +

Arguments

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

Gets the current position of the cursor.

+ +
+

Gets the current position of the cursor.

+ +

Arguments

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

Returns the screen position of the cursor.

+ +
+

Returns the screen position of the cursor.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getDragDelay +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current mouse drag delay.

+ +
+

Returns the current mouse drag delay.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getFirstVisibleRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the index of the first visible row.

+ +
+

Returns the index of the first visible row.

+ +

Arguments

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

Returns true if current lines are always highlighted.

+ +
+

Returns true if current lines are always highlighted.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.getHighlightSelectedWord +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if currently highlighted words are to be highlighted.

+ +
+

Returns true if currently highlighted words are to be highlighted.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

Returns the index of the last visible row.

+ +
+

Returns the index of the last visible row.

+ +

Arguments

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

Returns true if overwrites are enabled; false otherwise.

+ +
+

Returns true if overwrites are enabled; false otherwise.

+ +

Arguments

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

Returns the column number of where the print margin is.

+ +
+

Returns the column number of where the print margin is.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

Returns the currently highlighted selection.

+ +
+

Returns the currently highlighted selection.

+ +

Arguments

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

Returns the Range for the selected text.

+ +
+

Returns the Range for the selected text.

+ +

Arguments

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

Returns the current selection style.

+ +
+

Returns the current selection style.

+ +

Arguments

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

Returns the current session being used.

+ +
+

Returns the current session being used.

+ +

Arguments

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

Returns true if the fold widgets are shown.

+ +
+

Returns true if the fold widgets are shown.

+ +

Arguments

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

Returns true if invisible characters are being shown.

+ +
+

Returns true if invisible characters are being shown.

+ +

Arguments

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

Returns true if the print margin is being shown.

+ +
+

Returns true if the print margin is being shown.

+ +

Arguments

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

Returns the path of the current theme.

+ +
+

Returns the path of the current theme.

+ +

Arguments

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

Returns the current session's content.

+ +
+

Returns the current session's content.

+ +

Arguments

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

Editor.getWrapBehavioursEnabled() -> Boolean

+ +
+

Editor.getWrapBehavioursEnabled() -> Boolean

+

Returns true if the wrapping behaviors are currently enabled.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

lineNumberNumber

Required. The line number to go to

+
columnNumber

Required. A column number to go to

+
animateBoolean

Required. If true animates scolling

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

Indents the current line.

+ +
+

Indents the current line.

+ +

Arguments

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

Inserts text into wherever the cursor is pointing.

+ +
+

Inserts text into wherever the cursor is pointing.

+ +

Arguments

textString

Required. The new text to add

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

Returns true if the current textInput is in focus.

+ +
+

Returns true if the current textInput is in focus.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to check

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

Indicates if the row is currently visible on the screen.

+ +
+

Indicates if the row is currently visible on the screen.

+ +

Arguments

rowNumber

Required. The row to check

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

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

+ +
+

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

+ +

Arguments

selectObject

Required.

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

Editor.modifyNumber(amount)

+ +
+

Editor.modifyNumber(amount)

+ +

Arguments

amountNumber

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

+

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

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The new row number

+
columnNumber

Required. The new column number

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

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

+ +
+

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

+ +

Arguments

posObject

Required. An object with two properties, row and column

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

Shifts all the selected lines down one row.

+ +
+

Shifts all the selected lines down one row.

+ +

Arguments

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

Shifts all the selected lines up one row.

+ +
+

Shifts all the selected lines up one row.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

timesNumber

Required. The number of times to change navigation

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

timesNumber

Required. The number of times to change navigation

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

timesNumber

Required. The number of times to change navigation

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The new row number

+
columnNumber

Required. The new column number

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

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

+ +
+

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

+ +

Arguments

timesNumber

Required. The number of times to change navigation

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.onCopy
    • +
    +
      +
    +
  • +
+
+
+

Called whenever a text "copy" happens.

+ +
+

Called whenever a text "copy" happens.

+ +

Arguments

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

Emitted when the selection changes.

+ +
+

Emitted when the selection changes.

+ +

Arguments

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

Called whenever a text "cut" happens.

+ +
+

Called whenever a text "cut" happens.

+ +

Arguments

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

Called whenever a text "paste" happens.

+ +
+

Called whenever a text "paste" happens.

+ +

Arguments

textString

Required. The pasted text

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.redo
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

dirString

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

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

Removes all the lines in the current selection

+ +
+

Removes all the lines in the current selection

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

replacementString

Required. The text to replace with

+
optionsObject

Required. The Search options to use

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

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

+ +
+

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

+ +

Arguments

replacementString

Required. The text to replace with

+
optionsObject

Required. The Search options to use

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

Triggers a resize of the editor.

+ +
+

Triggers a resize of the editor.

+ +

Arguments

forceBoolean

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

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.scrollPageDown
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

lineNumber

Required. The line to scroll to

+
centerBoolean

Required. If true

+
animateBoolean

Required. If true animates scrolling

+
callbackFunction

Required. Function to be called when the animation has finished

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

Moves the editor to the specified row.

+ +
+

Moves the editor to the specified row.

+ +

Arguments

rowObject

Required.

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

Selects all the text in editor.

+ +
+

Selects all the text in editor.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

enabledBoolean

Required. Enables or disables behaviors

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

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

+ +
+

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

+ +

Arguments

dragDelayNumber

Required. A value indicating the new delay

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

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

+ +
+

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

+ +

Arguments

sizeNumber

Required. A font size

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

Determines whether or not the current line should be highlighted.

+ +
+

Determines whether or not the current line should be highlighted.

+ +

Arguments

shouldHighlightBoolean

Required. Set to true to highlight the current line

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

Determines if the currently selected word should be highlighted.

+ +
+

Determines if the currently selected word should be highlighted.

+ +

Arguments

shouldHighlightBoolean

Required. Set to true to highlight the currently selected word

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setKeyboardHandler(String keyboardHandler)
    • +
    +
      +
    +
  • +
+
+
+

Sets a new key handler, such as "vim" or "windows".

+ +
+

Sets a new key handler, such as "vim" or "windows".

+ +

Arguments

keyboardHandlerString

Required. The new key handler

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

Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.

+ +
+

Pass in true to enable overwrites in your session, or false to disable. If overwrites is enabled, any text you enter will type over any text after it. If the value of overwrite changes, this function also emites the changeOverwrite event.

+ +

Arguments

overwriteBoolean

Required. Defines wheter or not to set overwrites

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setPrintMarginColumn(Number showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

Sets the column defining where the print margin should be.

+ +
+

Sets the column defining where the print margin should be.

+ +

Arguments

showPrintMarginNumber

Required. Specifies the new print margin

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setReadOnly(Boolean readOnly)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

readOnlyBoolean

Required. Specifies whether the editor can be modified or not

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setScrollSpeed(Number speed)
    • +
    +
      +
    +
  • +
+
+
+

Sets how fast the mouse scrolling should do.

+ +
+

Sets how fast the mouse scrolling should do.

+ +

Arguments

speedNumber

Required. A value indicating the new speed

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setSelectionStyle(String style)
    • +
    +
      +
    +
  • +
+
+
+

Indicates how selections should occur.

+ +
+

Indicates how selections should occur.

+

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

+ +

Arguments

styleString

Required. The new selection style

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

Sets a new editsession to use. This method also emits the 'changeSession' event.

+ +
+

Sets a new editsession to use. This method also emits the 'changeSession' event.

+ +

Arguments

sessionEditSession

Required. The new session to use

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setShowFoldWidgets(Boolean show)
    • +
    +
      +
    +
  • +
+
+
+

Indicates whether the fold widgets are shown or not.

+ +
+

Indicates whether the fold widgets are shown or not.

+ +

Arguments

showBoolean

Required. Specifies whether the fold widgets are shown

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setShowInvisibles(Boolean showInvisibles)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

showInvisiblesBoolean

Required. Specifies whether or not to show invisible characters

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setShowPrintMargin(Boolean showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

showPrintMarginBoolean

Required. Specifies whether or not to show the print margin

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setStyle(String style)
    • +
    +
      +
    +
  • +
+
+
+

Adds a new class, style, to the editor.

+ +
+

Adds a new class, style, to the editor.

+ +

Arguments

styleString

Required. A class name

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setTheme(String theme)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

themeString

Required. The path to a theme

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

Sets the current document to val.

+ +
+

Sets the current document to val.

+ +

Arguments

valString

Required. The new value to set for the document

+
cursorPosNumber

Required. Where to set the new value. undefined or 0 is selectAll, -1 is at the document start, and 1 is at the end

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.setWrapBehavioursEnabled(Object enabled)
    • +
    +
      +
    +
  • +
+
+
+

Editor.setWrapBehavioursEnabled(enabled)

+
    +
  • enabled (Boolean): Enables or disables wrapping behaviors
  • +
+ +
+

Editor.setWrapBehavioursEnabled(enabled)

+
    +
  • enabled (Boolean): Enables or disables wrapping behaviors
  • +
+

Specifies whether to use wrapping behaviors or not, i.e. automatically wrapping the selection with characters such as brackets +when such a character is typed in.

+ +

Arguments

enabledObject

Required.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.splitLine
    • +
    +
      +
    +
  • +
+
+
+

Splits the line at the current selection (by inserting an '\n').

+ +
+

Splits the line at the current selection (by inserting an '\n').

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.toggleCommentLines
    • +
    +
      +
    +
  • +
+
+
+

Given the currently selected range, this function either comments all the lines, or uncomments all of them.

+ +
+

Given the currently selected range, this function either comments all the lines, or uncomments all of them.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.toggleOverwrite
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.toLowerCase
    • +
    +
      +
    +
  • +
+
+
+

Converts the current selection entirely into lowercase.

+ +
+

Converts the current selection entirely into lowercase.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.toUpperCase
    • +
    +
      +
    +
  • +
+
+
+

Converts the current selection entirely into uppercase.

+ +
+

Converts the current selection entirely into uppercase.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.transposeLetters
    • +
    +
      +
    +
  • +
+
+
+

Transposes current line.

+ +
+

Transposes current line.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.undo
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Editor.unsetStyle(Object style)
    • +
    +
      +
    +
  • +
+
+
+

Removes the class style from the editor.

+ +
+

Removes the class style from the editor.

+ +

Arguments

styleObject

Required.

+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/index.html b/api/index.html new file mode 100644 index 00000000..219ad14d --- /dev/null +++ b/api/index.html @@ -0,0 +1,12 @@ + +

Ace API Reference

+

Welcome to the Ace API Reference Guide. Ace is a standalone code editor written in JavaScript that you can embed onto any website. We're used in a bunch of places already, like GitHub, Google, and Facebook.

+

On the left, you'll find a list of all of our currently documented classes. There are plenty more to do, but these represent the "core" set. For more information on how to work with Ace, check out the main Ace website.

+ + + + + + +
+
\ No newline at end of file diff --git a/api/placeholder.html b/api/placeholder.html new file mode 100644 index 00000000..2ae5cca9 --- /dev/null +++ b/api/placeholder.html @@ -0,0 +1,313 @@ + +
+
+
+
+
+

PlaceHolder [edit] +

+ +
+
+
+
+

Constructors

+
+
+
+
+
    +
  • +
      +
    • new PlaceHolder
    • +
    +
      +
    +
  • +
+
+
+
    +
  • session (Document): The document to associate with the anchor
  • +
  • length (Number): The starting row position
  • +
  • pos (Number): The starting column position
  • +
  • others (String):
  • +
  • mainClass (String):
  • +
  • othersClass (String):
  • +
+ +
+
    +
  • session (Document): The document to associate with the anchor
  • +
  • length (Number): The starting row position
  • +
  • pos (Number): The starting column position
  • +
  • others (String):
  • +
  • mainClass (String):
  • +
  • othersClass (String):
  • +
+ +

Arguments

+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • PlaceHolder.cancel
    • +
    +
      +
    +
  • +
+
+
+

PlaceHolder.cancel()

+ +
+

PlaceHolder.cancel()

+

TODO

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • PlaceHolder.detach
    • +
    +
      +
    +
  • +
+
+
+

PlaceHolder.detach()

+ +
+

PlaceHolder.detach()

+

TODO

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • PlaceHolder.hideOtherMarkers
    • +
    +
      +
    +
  • +
+
+
+

PlaceHolder.hideOtherMarkers()

+ +
+

PlaceHolder.hideOtherMarkers()

+

Hides all over markers in the EditSession that are not the currently selected one.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • PlaceHolder.onCursorChange(Object event)
    • +
    +
      +
    +
  • +
+
+
+

PlaceHolder@onCursorChange(e)

+ +
+

PlaceHolder@onCursorChange(e)

+

Emitted when the cursor changes.

+ +

Arguments

eventObject

Required.

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • PlaceHolder.onUpdate(Object event)
    • +
    +
      +
    +
  • +
+
+
+

PlaceHolder@onUpdate(e)

+ +
+

PlaceHolder@onUpdate(e)

+

Emitted when the place holder updates.

+ +

Arguments

eventObject

Required.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • PlaceHolder.setup
    • +
    +
      +
    +
  • +
+
+
+

PlaceHolder.setup()

+ +
+

PlaceHolder.setup()

+

TODO

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • PlaceHolder.showOtherMarkers
    • +
    +
      +
    +
  • +
+
+
+

PlaceHolder.showOtherMarkers()

+ +
+

PlaceHolder.showOtherMarkers()

+

TODO

+ +

Arguments

+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/range.html b/api/range.html new file mode 100644 index 00000000..dc491c76 --- /dev/null +++ b/api/range.html @@ -0,0 +1,964 @@ + +
+
+
+
+
+

Range [edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +

Arguments

startRowNumber

Required. The starting row

+
startColumnNumber

Required. The starting column

+
endRowNumber

Required. The ending row

+
endColumnNumber

Required. The ending column

+
+
+
+
+
+
+

Methods

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +

Arguments

firstRowNumber

Required. The starting row

+
lastRowNumber

Required. The ending row

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.clone +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns a duplicate of the calling range.

+ +
+

Returns a duplicate of the calling range.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.collapseRows +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns a range containing the starting and ending rows of the original range, but with a column value of 0.

+ +
+

Returns a range containing the starting and ending rows of the original range, but with a column value of 0.

+ +

Arguments

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

Checks the row and column points with the row and column points of the calling range.

+ +
+

Checks the row and column points with the row and column points of the calling range.

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

Checks the row and column points with the row and column points of the calling range.

+ +
+

Checks the row and column points with the row and column points of the calling range.

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

Checks the row and column points with the row and column points of the calling range.

+ +
+

Checks the row and column points with the row and column points of the calling range.

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

Checks the row and column points of p with the row and column points of the calling range.

+ +
+

Checks the row and column points of p with the row and column points of the calling range.

+ +

Arguments

pRange

Required. A point to compare with

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

Compares this range (A) with another range (B).

+ +
+

Compares this range (A) with another range (B).

+ +

Arguments

rangeRange

Required. A range to compare with

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

Checks the row and column points with the row and column points of the calling range.

+ +
+

Checks the row and column points with the row and column points of the calling range.

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:

+
   this.start.row <= row <= this.end.row &&
+   this.start.column <= column <= this.end.column
+ +
+

Returns true if the row and column provided are within the given range. This can better be expressed as returning true if:

+
   this.start.row <= row <= this.end.row &&
+   this.start.column <= column <= this.end.column
+ +

Arguments

rowNumber

Required. A row to check for

+
columnNumber

Required. A column to check for

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

Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.

+ +
+

Checks the start and end points of range and compares them to the calling range. Returns true if the range is contained within the caller's range.

+ +

Arguments

rangeRange

Required. A range to compare with

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

Changes the row and column points for the calling range for both the starting and ending points.

+ +
+

Changes the row and column points for the calling range for both the starting and ending points.

+ +

Arguments

rowNumber

Required. A new row to extend to

+
columnNumber

Required. A new column to extend to

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

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

+ +
+

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

+ +

Arguments

startRange

Required. A starting point to use

+
endRange

Required. An ending point to use

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

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

+ +
+

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

+ +

Arguments

rangeRange

Required. A range to compare with

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.isEqual(Range range)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

rangeRange

Required. A range to check against

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.isMultiLine +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the range spans across multiple lines.

+ +
+

Returns true if the range spans across multiple lines.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row point to compare with

+
columnNumber

Required. A column point to compare with

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

Sets the starting row and column for the range.

+ +
+

Sets the starting row and column for the range.

+ +

Arguments

rowNumber

Required. A row point to set

+
columnNumber

Required. A column point to set

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

Sets the starting row and column for the range.

+ +
+

Sets the starting row and column for the range.

+ +

Arguments

rowNumber

Required. A row point to set

+
columnNumber

Required. A column point to set

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

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

+ +
+

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

+ +

Arguments

sessionEditSession

Required. The EditSession to retrieve coordinates from

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Range.toString
    • +
    +
      +
    +
  • +
+
+
+

Returns a string containing the range's row and column information, given like this:

+
   [start.row/start.column] -> [end.row/end.column]
+ +
+

Returns a string containing the range's row and column information, given like this:

+
   [start.row/start.column] -> [end.row/end.column]
+ +

Arguments

+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/renderloop.html b/api/renderloop.html new file mode 100644 index 00000000..4f47d88d --- /dev/null +++ b/api/renderloop.html @@ -0,0 +1,55 @@ + +
+
+
+
+
+

RenderLoop [edit] +

+ +
+
+
+
+

Batches changes (that force something to be redrawn) in the background.

+ +
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/resources/csses/ace_api.css b/api/resources/csses/ace_api.css new file mode 100644 index 00000000..33d72657 --- /dev/null +++ b/api/resources/csses/ace_api.css @@ -0,0 +1,993 @@ +/* + Generic "affects everything" stuff +*/ + +#wrapper .content .column2 { + float: none; +} + +#documentation ul { + font-size: 13px; +} + +#documentation li { + color: black; +} + +#documentation 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; +} + +#documentation 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; +} + +#documentation pre code { + background-color: transparent; + border-radius: none; + box-shadow: none; +} + +#documentation a code { + color: #00438a; +} + +#documentation h2 { + font-size: 26px; +} +#documentation p { + font-size: 13px; + line-height : 20px; + margin-bottom : 13px; +} +#documentation li p:last-child { + margin-bottom : 5px; +} + +#documentation 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 .nav > li > a { + padding: 10px 15px 11px; +} + +.navbar { + text-align:center; +} + +#topSection { + width: 1000px; +} +.small_win #topSection { + width: 100%; +} +.small_win #topSection .dropdown { + margin-right: 40%; +} +.navbar .brand { + margin-left: 0px; +} +.brand { + background: transparent url(../images/ace_logo_menu.png) no-repeat 33px 5px; + width: 80px; + 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; +} + +.headerTitle { + position: relative; + top: 100px; + left: 250px; +} + +/* + Menu venue +*/ + +form.navbar-search { + float: none; +} + +form.navbar-search .search-query { + background-color: #FFFFFF; + border-color: #999; + -webkit-transition: border 0.3s; + -moz-transition: border 0.3s; + font-size: 14px; + line-height: 16px; +} + +form.navbar-search .search-query:focus, form.navbar-search .search-query:active { + border: 1px solid #666; +} + +.navbar-search .search-query:focus, .navbar-search .search-query.focused { + padding: 4px 9px; +} + +h3.api_title { + padding-top: 10px; +} + +ul.menu { + margin-left: 2px; +} + +.menu li { + list-style-image: url(../images/menu_disc.png); + margin-bottom: 4px; + font-weight: 700; + padding-left: 10px; + margin-left: 0; +} + +.menu li .menu-item a.menuLink, .menu li .menu-item span.menuLink { + color: #3E7096; + font-weight: 100; +} +.menuTwo { + margin-bottom: 5px; + margin-top: 2px; +} +.menuTwo li .menu-item a.menuLink { + color: #3E7096; + font-weight: 100; +} + +/* 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;*/ + 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; + padding-right: 10px; + margin-right: -5px; + /*width: 700px;*/ +} +.srolledHeader .membersContent { + line-height: 3; +} +.srolled .membersContent { + /*top : 0;*/ + width: 625px; + padding-left: 327px; + margin : 0 auto 0 auto; +} + +.srolled ul.nav { + padding-right: 10px; +} + +.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; + padding-top: 4px; + +} + +.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; +} + +.editInC9 { + font-size: 11px; + color: #657383; +} + +.editInC9 a { + color: #657383; + font-weight: normal; + position : relative; + top : -2px; +} + +.tabs { + padding-top: 14px; + /*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") +*/ + +#nonFooter { + padding-top: 40px; +} +#wrapper { + height: 100%; +} + +.content { + height: 100%; +} +.content .row { + margin-left: auto; + margin-right: auto; +} + +header.filler { + position: relative; + height: 40px; + width: 100%; +} + +.centerpiece { + min-height: 100%; + padding: 20px 0; +} + +/* +.container-fluid .row-fluid { + width: 1000px; + margin-left: auto; + margin-right: auto; +}*/ + +.divider { + height: 3px; + background-color: #BEDAEA; + margin-bottom: 3px; +} + +#sidebar { + margin-top: 5px; + /*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 { + margin-left: 30px; +} + +#documentation { + padding-left: 15px; + padding-bottom: 10px; +} + +#documentation article.article { + border-top: 1px solid #e9e9e9; + padding: 16px 10px 2px; + -webkit-transition: padding 0.2s; + -moz-transition: padding 0.2s; + -o-transition: padding 0.2s; +} + +#documentation h3.sectionHeader + article.article { + border-top: none; +} + +div#documentation article:last-child { + border-bottom: 1px solid #e9e9e9; + padding-bottom: 40px; +} +#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; +} + +#documentation .signature-call a { + color: #8e487e; +} + +.sigClassName { + display: none; +} + +.eventObjName { + font-style: italic; +} +.eventListenerStart, .eventFunctionOpen, .eventFunctionClose, .eventListenerClose { + 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; +} + +#documentation .alias a, #documentation .related-to a { + color: #ffffff; + /* text-decoration: underline; */ +} +#documentation .alias a:hover, #documentation .related-to a:hover { + text-decoration: none; +} +.#documentation alias:hover, #documentation .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; +} + +.argument-list { + margin-bottom : 13px; +} +.argName { + font-style: italic; +} + + +/* + Everyday I'm togglin' +*/ + +#documentation h3 { + font-size: 24px; + margin-top: 5px; +} +#documentation i.methodToggle { + cursor: pointer; + color: #9f9f9f; + padding-top: 2px; + float: left; +} +#documentation i.methodToggle.methodToggleHover { + text-shadow: 0 0 10px #4699d5; + color: #4699d5; +} +#documentation i.methodToggle.active { + text-shadow: 0 0 10px #4699d5; + color: #4699d5; + /* Safari */ + -webkit-transform: rotate(45deg); + + /* Firefox */ + -moz-transform: rotate(45deg); + + /* IE */ + -ms-transform: rotate(45deg); + + /* Opera */ + -o-transform: rotate(45deg); + padding-top: 9px; +} + +#documentation h3.sectionHeader { + margin: 10px 0 17px 0; + line-height : 24px; +} + +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 { + width:100%; + background: #101010 url(../images/dashed_back.png) repeat 0 0; + font-size: 12px; + color: white; + height: 40px; +} +#footer .footerInner { + padding-left: 300px; + margin-left: auto; + margin-right: auto; + min-height: 40px; +} +#footer .footer-text { + display: block; + font-size: 12px; + float: right; +} +#footer div.footerInner div.footer-text p { + font-size: 12px; + font-family: Arial; + line-height: 18px; + margin: 10px 15px 0px 1px; +} + +#footer a, #footer a:hover { + color: #8DD0FF; +} + +.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; +} diff --git a/api/resources/csses/bootstrap.min.css b/api/resources/csses/bootstrap.min.css new file mode 100644 index 00000000..c9514677 --- /dev/null +++ b/api/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/api/resources/csses/font-awesome.css b/api/resources/csses/font-awesome.css new file mode 100644 index 00000000..4697599c --- /dev/null +++ b/api/resources/csses/font-awesome.css @@ -0,0 +1,303 @@ +/* Font Awesome + the iconic font designed for use with Twitter Bootstrap + ------------------------------------------------------- + The full suite of pictographic icons, examples, and documentation + can be found at: http://fortawesome.github.com/Font-Awesome/ + + License + ------------------------------------------------------- + The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0: + http://creativecommons.org/licenses/by/3.0/ A mention of + 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable + source code is considered acceptable attribution (most common on the web). + If human readable source code is not available to the end user, a mention in + an 'About' or 'Credits' screen is considered acceptable (most common in desktop + or mobile software). + + Contact + ------------------------------------------------------- + Email: dave@davegandy.com + Twitter: http://twitter.com/fortaweso_me + Work: http://lemonwi.se co-founder + + */ +@font-face { + font-family: "FontAwesome"; + src: url('../font/fontawesome-webfont.eot'); + src: url('../font/fontawesome-webfont.eot?#iefix') format('eot'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg'); + font-weight: normal; + font-style: normal; +} + +/* Font Awesome styles + ------------------------------------------------------- */ +[class^="icon-"]:before, [class*=" icon-"]:before { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + display: inline-block; + text-decoration: inherit; +} +a [class^="icon-"], a [class*=" icon-"] { + display: inline-block; + text-decoration: inherit; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: top; + font-size: 1.3333333333333333em; +} +.btn [class^="icon-"], .btn [class*=" icon-"] { + /* keeps button heights with and without icons the same */ + + line-height: .9em; +} +li [class^="icon-"], li [class*=" icon-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] { + /* 1.5 increased font size for icon-large * 1.25 width */ + + width: 1.875em; +} +li[class^="icon-"], li[class*=" icon-"] { + margin-left: 0; + list-style-type: none; +} +li[class^="icon-"]:before, li[class*=" icon-"]:before { + text-indent: -2em; + text-align: center; +} +li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before { + text-indent: -1.3333333333333333em; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { content: "\f000"; } +.icon-music:before { content: "\f001"; } +.icon-search:before { content: "\f002"; } +.icon-envelope:before { content: "\f003"; } +.icon-heart:before { content: "\f004"; } +.icon-star:before { content: "\f005"; } +.icon-star-empty:before { content: "\f006"; } +.icon-user:before { content: "\f007"; } +.icon-film:before { content: "\f008"; } +.icon-th-large:before { content: "\f009"; } +.icon-th:before { content: "\f00a"; } +.icon-th-list:before { content: "\f00b"; } +.icon-ok:before { content: "\f00c"; } +.icon-remove:before { content: "\f00d"; } +.icon-zoom-in:before { content: "\f00e"; } + +.icon-zoom-out:before { content: "\f010"; } +.icon-off:before { content: "\f011"; } +.icon-signal:before { content: "\f012"; } +.icon-cog:before { content: "\f013"; } +.icon-trash:before { content: "\f014"; } +.icon-home:before { content: "\f015"; } +.icon-file:before { content: "\f016"; } +.icon-time:before { content: "\f017"; } +.icon-road:before { content: "\f018"; } +.icon-download-alt:before { content: "\f019"; } +.icon-download:before { content: "\f01a"; } +.icon-upload:before { content: "\f01b"; } +.icon-inbox:before { content: "\f01c"; } +.icon-play-circle:before { content: "\f01d"; } +.icon-repeat:before { content: "\f01e"; } + +/* \f020 doesn't work in Safari. all shifted one down */ +.icon-refresh:before { content: "\f021"; } +.icon-list-alt:before { content: "\f022"; } +.icon-lock:before { content: "\f023"; } +.icon-flag:before { content: "\f024"; } +.icon-headphones:before { content: "\f025"; } +.icon-volume-off:before { content: "\f026"; } +.icon-volume-down:before { content: "\f027"; } +.icon-volume-up:before { content: "\f028"; } +.icon-qrcode:before { content: "\f029"; } +.icon-barcode:before { content: "\f02a"; } +.icon-tag:before { content: "\f02b"; } +.icon-tags:before { content: "\f02c"; } +.icon-book:before { content: "\f02d"; } +.icon-bookmark:before { content: "\f02e"; } +.icon-print:before { content: "\f02f"; } + +.icon-camera:before { content: "\f030"; } +.icon-font:before { content: "\f031"; } +.icon-bold:before { content: "\f032"; } +.icon-italic:before { content: "\f033"; } +.icon-text-height:before { content: "\f034"; } +.icon-text-width:before { content: "\f035"; } +.icon-align-left:before { content: "\f036"; } +.icon-align-center:before { content: "\f037"; } +.icon-align-right:before { content: "\f038"; } +.icon-align-justify:before { content: "\f039"; } +.icon-list:before { content: "\f03a"; } +.icon-indent-left:before { content: "\f03b"; } +.icon-indent-right:before { content: "\f03c"; } +.icon-facetime-video:before { content: "\f03d"; } +.icon-picture:before { content: "\f03e"; } + +.icon-pencil:before { content: "\f040"; } +.icon-map-marker:before { content: "\f041"; } +.icon-adjust:before { content: "\f042"; } +.icon-tint:before { content: "\f043"; } +.icon-edit:before { content: "\f044"; } +.icon-share:before { content: "\f045"; } +.icon-check:before { content: "\f046"; } +.icon-move:before { content: "\f047"; } +.icon-step-backward:before { content: "\f048"; } +.icon-fast-backward:before { content: "\f049"; } +.icon-backward:before { content: "\f04a"; } +.icon-play:before { content: "\f04b"; } +.icon-pause:before { content: "\f04c"; } +.icon-stop:before { content: "\f04d"; } +.icon-forward:before { content: "\f04e"; } + +.icon-fast-forward:before { content: "\f050"; } +.icon-step-forward:before { content: "\f051"; } +.icon-eject:before { content: "\f052"; } +.icon-chevron-left:before { content: "\f053"; } +.icon-chevron-right:before { content: "\f054"; } +.icon-plus-sign:before { content: "\f055"; } +.icon-minus-sign:before { content: "\f056"; } +.icon-remove-sign:before { content: "\f057"; } +.icon-ok-sign:before { content: "\f058"; } +.icon-question-sign:before { content: "\f059"; } +.icon-info-sign:before { content: "\f05a"; } +.icon-screenshot:before { content: "\f05b"; } +.icon-remove-circle:before { content: "\f05c"; } +.icon-ok-circle:before { content: "\f05d"; } +.icon-ban-circle:before { content: "\f05e"; } + +.icon-arrow-left:before { content: "\f060"; } +.icon-arrow-right:before { content: "\f061"; } +.icon-arrow-up:before { content: "\f062"; } +.icon-arrow-down:before { content: "\f063"; } +.icon-share-alt:before { content: "\f064"; } +.icon-resize-full:before { content: "\f065"; } +.icon-resize-small:before { content: "\f066"; } +.icon-plus:before { content: "\f067"; } +.icon-minus:before { content: "\f068"; } +.icon-asterisk:before { content: "\f069"; } +.icon-exclamation-sign:before { content: "\f06a"; } +.icon-gift:before { content: "\f06b"; } +.icon-leaf:before { content: "\f06c"; } +.icon-fire:before { content: "\f06d"; } +.icon-eye-open:before { content: "\f06e"; } + +.icon-eye-close:before { content: "\f070"; } +.icon-warning-sign:before { content: "\f071"; } +.icon-plane:before { content: "\f072"; } +.icon-calendar:before { content: "\f073"; } +.icon-random:before { content: "\f074"; } +.icon-comment:before { content: "\f075"; } +.icon-magnet:before { content: "\f076"; } +.icon-chevron-up:before { content: "\f077"; } +.icon-chevron-down:before { content: "\f078"; } +.icon-retweet:before { content: "\f079"; } +.icon-shopping-cart:before { content: "\f07a"; } +.icon-folder-close:before { content: "\f07b"; } +.icon-folder-open:before { content: "\f07c"; } +.icon-resize-vertical:before { content: "\f07d"; } +.icon-resize-horizontal:before { content: "\f07e"; } + +.icon-bar-chart:before { content: "\f080"; } +.icon-twitter-sign:before { content: "\f081"; } +.icon-facebook-sign:before { content: "\f082"; } +.icon-camera-retro:before { content: "\f083"; } +.icon-key:before { content: "\f084"; } +.icon-cogs:before { content: "\f085"; } +.icon-comments:before { content: "\f086"; } +.icon-thumbs-up:before { content: "\f087"; } +.icon-thumbs-down:before { content: "\f088"; } +.icon-star-half:before { content: "\f089"; } +.icon-heart-empty:before { content: "\f08a"; } +.icon-signout:before { content: "\f08b"; } +.icon-linkedin-sign:before { content: "\f08c"; } +.icon-pushpin:before { content: "\f08d"; } +.icon-external-link:before { content: "\f08e"; } + +.icon-signin:before { content: "\f090"; } +.icon-trophy:before { content: "\f091"; } +.icon-github-sign:before { content: "\f092"; } +.icon-upload-alt:before { content: "\f093"; } +.icon-lemon:before { content: "\f094"; } +.icon-phone:before { content: "\f095"; } +.icon-check-empty:before { content: "\f096"; } +.icon-bookmark-empty:before { content: "\f097"; } +.icon-phone-sign:before { content: "\f098"; } +.icon-twitter:before { content: "\f099"; } +.icon-facebook:before { content: "\f09a"; } +.icon-github:before { content: "\f09b"; } +.icon-unlock:before { content: "\f09c"; } +.icon-credit-card:before { content: "\f09d"; } +.icon-rss:before { content: "\f09e"; } + +.icon-hdd:before { content: "\f0a0"; } +.icon-bullhorn:before { content: "\f0a1"; } +.icon-bell:before { content: "\f0a2"; } +.icon-certificate:before { content: "\f0a3"; } +.icon-hand-right:before { content: "\f0a4"; } +.icon-hand-left:before { content: "\f0a5"; } +.icon-hand-up:before { content: "\f0a6"; } +.icon-hand-down:before { content: "\f0a7"; } +.icon-circle-arrow-left:before { content: "\f0a8"; } +.icon-circle-arrow-right:before { content: "\f0a9"; } +.icon-circle-arrow-up:before { content: "\f0aa"; } +.icon-circle-arrow-down:before { content: "\f0ab"; } +.icon-globe:before { content: "\f0ac"; } +.icon-wrench:before { content: "\f0ad"; } +.icon-tasks:before { content: "\f0ae"; } + +.icon-filter:before { content: "\f0b0"; } +.icon-briefcase:before { content: "\f0b1"; } +.icon-fullscreen:before { content: "\f0b2"; } + +.icon-group:before { content: "\f0c0"; } +.icon-link:before { content: "\f0c1"; } +.icon-cloud:before { content: "\f0c2"; } +.icon-beaker:before { content: "\f0c3"; } +.icon-cut:before { content: "\f0c4"; } +.icon-copy:before { content: "\f0c5"; } +.icon-paper-clip:before { content: "\f0c6"; } +.icon-save:before { content: "\f0c7"; } +.icon-sign-blank:before { content: "\f0c8"; } +.icon-reorder:before { content: "\f0c9"; } +.icon-list-ul:before { content: "\f0ca"; } +.icon-list-ol:before { content: "\f0cb"; } +.icon-strikethrough:before { content: "\f0cc"; } +.icon-underline:before { content: "\f0cd"; } +.icon-table:before { content: "\f0ce"; } + +.icon-magic:before { content: "\f0d0"; } +.icon-truck:before { content: "\f0d1"; } +.icon-pinterest:before { content: "\f0d2"; } +.icon-pinterest-sign:before { content: "\f0d3"; } +.icon-google-plus-sign:before { content: "\f0d4"; } +.icon-google-plus:before { content: "\f0d5"; } +.icon-money:before { content: "\f0d6"; } +.icon-caret-down:before { content: "\f0d7"; } +.icon-caret-up:before { content: "\f0d8"; } +.icon-caret-left:before { content: "\f0d9"; } +.icon-caret-right:before { content: "\f0da"; } +.icon-columns:before { content: "\f0db"; } +.icon-sort:before { content: "\f0dc"; } +.icon-sort-down:before { content: "\f0dd"; } +.icon-sort-up:before { content: "\f0de"; } + +.icon-envelope-alt:before { content: "\f0e0"; } +.icon-linkedin:before { content: "\f0e1"; } +.icon-undo:before { content: "\f0e2"; } +.icon-legal:before { content: "\f0e3"; } +.icon-dashboard:before { content: "\f0e4"; } +.icon-comment-alt:before { content: "\f0e5"; } +.icon-comments-alt:before { content: "\f0e6"; } +.icon-bolt:before { content: "\f0e7"; } +.icon-sitemap:before { content: "\f0e8"; } +.icon-umbrella:before { content: "\f0e9"; } +.icon-paste:before { content: "\f0ea"; } + +.icon-user-md:before { content: "\f200"; } diff --git a/api/resources/font/fontawesome-webfont.eot b/api/resources/font/fontawesome-webfont.eot new file mode 100644 index 00000000..89070c1e Binary files /dev/null and b/api/resources/font/fontawesome-webfont.eot differ diff --git a/api/resources/font/fontawesome-webfont.svg b/api/resources/font/fontawesome-webfont.svg new file mode 100644 index 00000000..1245f92c --- /dev/null +++ b/api/resources/font/fontawesome-webfont.svg @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/api/resources/font/fontawesome-webfont.ttf b/api/resources/font/fontawesome-webfont.ttf new file mode 100644 index 00000000..c17e9f8d Binary files /dev/null and b/api/resources/font/fontawesome-webfont.ttf differ diff --git a/api/resources/font/fontawesome-webfont.woff b/api/resources/font/fontawesome-webfont.woff new file mode 100644 index 00000000..09f2469a Binary files /dev/null and b/api/resources/font/fontawesome-webfont.woff differ diff --git a/api/resources/images/Ace_ERD.svg b/api/resources/images/Ace_ERD.svg new file mode 100644 index 00000000..ba386287 --- /dev/null +++ b/api/resources/images/Ace_ERD.svg @@ -0,0 +1,4 @@ + + + + diff --git a/api/resources/images/ace_logo.png b/api/resources/images/ace_logo.png new file mode 100644 index 00000000..4dab4f66 Binary files /dev/null and b/api/resources/images/ace_logo.png differ diff --git a/api/resources/images/ace_logo_menu.png b/api/resources/images/ace_logo_menu.png new file mode 100644 index 00000000..b011fadd Binary files /dev/null and b/api/resources/images/ace_logo_menu.png differ diff --git a/api/resources/images/c9-log-footer.png b/api/resources/images/c9-log-footer.png new file mode 100644 index 00000000..f3bcb4d7 Binary files /dev/null and b/api/resources/images/c9-log-footer.png differ diff --git a/api/resources/images/c9-sponsor.png b/api/resources/images/c9-sponsor.png new file mode 100644 index 00000000..599d3b49 Binary files /dev/null and b/api/resources/images/c9-sponsor.png differ diff --git a/api/resources/images/cloud9-logo.png b/api/resources/images/cloud9-logo.png new file mode 100644 index 00000000..912524a9 Binary files /dev/null and b/api/resources/images/cloud9-logo.png differ diff --git a/api/resources/images/content-top.png b/api/resources/images/content-top.png new file mode 100644 index 00000000..ec4ccad0 Binary files /dev/null and b/api/resources/images/content-top.png differ diff --git a/api/resources/images/content_bg.png b/api/resources/images/content_bg.png new file mode 100644 index 00000000..928f81e4 Binary files /dev/null and b/api/resources/images/content_bg.png differ diff --git a/api/resources/images/content_top_bg.png b/api/resources/images/content_top_bg.png new file mode 100644 index 00000000..42039338 Binary files /dev/null and b/api/resources/images/content_top_bg.png differ diff --git a/api/resources/images/dashed_back.png b/api/resources/images/dashed_back.png new file mode 100644 index 00000000..c6ee9313 Binary files /dev/null and b/api/resources/images/dashed_back.png differ diff --git a/api/resources/images/favicon.ico b/api/resources/images/favicon.ico new file mode 100644 index 00000000..e97c70f6 Binary files /dev/null and b/api/resources/images/favicon.ico differ diff --git a/api/resources/images/footer-bg.png b/api/resources/images/footer-bg.png new file mode 100644 index 00000000..0d572c28 Binary files /dev/null and b/api/resources/images/footer-bg.png differ diff --git a/api/resources/images/main_bg.png b/api/resources/images/main_bg.png new file mode 100644 index 00000000..f26aefc2 Binary files /dev/null and b/api/resources/images/main_bg.png differ diff --git a/api/resources/images/member-sprites.png b/api/resources/images/member-sprites.png new file mode 100644 index 00000000..96b0520f Binary files /dev/null and b/api/resources/images/member-sprites.png differ diff --git a/api/resources/images/menu_disc.png b/api/resources/images/menu_disc.png new file mode 100644 index 00000000..1d3925b3 Binary files /dev/null and b/api/resources/images/menu_disc.png differ diff --git a/api/resources/images/method_bg.png b/api/resources/images/method_bg.png new file mode 100644 index 00000000..b0189557 Binary files /dev/null and b/api/resources/images/method_bg.png differ diff --git a/api/resources/images/scrolled-heading-shadow.png b/api/resources/images/scrolled-heading-shadow.png new file mode 100644 index 00000000..aed814ee Binary files /dev/null and b/api/resources/images/scrolled-heading-shadow.png differ diff --git a/api/resources/images/sidebar-top-bg.png b/api/resources/images/sidebar-top-bg.png new file mode 100644 index 00000000..c0a800e1 Binary files /dev/null and b/api/resources/images/sidebar-top-bg.png differ diff --git a/api/resources/images/sidebar_border.png b/api/resources/images/sidebar_border.png new file mode 100644 index 00000000..ea6cd700 Binary files /dev/null and b/api/resources/images/sidebar_border.png differ diff --git a/api/resources/images/swirl_divider.png b/api/resources/images/swirl_divider.png new file mode 100644 index 00000000..f3e9f6c6 Binary files /dev/null and b/api/resources/images/swirl_divider.png differ diff --git a/api/resources/javascripts/bbq.js b/api/resources/javascripts/bbq.js new file mode 100644 index 00000000..bcbf2483 --- /dev/null +++ b/api/resources/javascripts/bbq.js @@ -0,0 +1,18 @@ +/* + * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010 + * http://benalman.com/projects/jquery-bbq-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&&E(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.noEscape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this); \ No newline at end of file diff --git a/api/resources/javascripts/bootstrap.js b/api/resources/javascripts/bootstrap.js new file mode 100644 index 00000000..79241e74 --- /dev/null +++ b/api/resources/javascripts/bootstrap.js @@ -0,0 +1,389 @@ +/* ============================================================ + * bootstrap-dropdown.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#dropdowns + * ============================================================ + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============================================================ */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* DROPDOWN CLASS DEFINITION + * ========================= */ + + var toggle = '[data-toggle=dropdown]' + , Dropdown = function (element) { + var $el = $(element).on('click.dropdown.data-api', this.toggle) + $('html').on('click.dropdown.data-api', function () { + $el.parent().removeClass('open') + }) + } + + Dropdown.prototype = { + + constructor: Dropdown + + , toggle: function (e) { + var $this = $(this) + , $parent + , isActive + + if ($this.is('.disabled, :disabled')) return + + $parent = getParent($this) + + isActive = $parent.hasClass('open') + + clearMenus() + + if (!isActive) { + $parent.toggleClass('open') + $this.focus() + } + + return false + } + + , keydown: function (e) { + var $this + , $items + , $active + , $parent + , isActive + , index + + if (!/(38|40|27)/.test(e.keyCode)) return + + $this = $(this) + + e.preventDefault() + e.stopPropagation() + + if ($this.is('.disabled, :disabled')) return + + $parent = getParent($this) + + isActive = $parent.hasClass('open') + + if (!isActive || (isActive && e.keyCode == 27)) return $this.click() + + $items = $('[role=menu] li:not(.divider) a', $parent) + + if (!$items.length) return + + index = $items.index($items.filter(':focus')) + + if (e.keyCode == 38 && index > 0) index-- // up + if (e.keyCode == 40 && index < $items.length - 1) index++ // down + if (!~index) index = 0 + + $items + .eq(index) + .focus() + } + + } + + function clearMenus() { + getParent($(toggle)) + .removeClass('open') + } + + function getParent($this) { + var selector = $this.attr('data-target') + , $parent + + if (!selector) { + selector = $this.attr('href') + selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + $parent = $(selector) + $parent.length || ($parent = $this.parent()) + + return $parent + } + + + /* DROPDOWN PLUGIN DEFINITION + * ========================== */ + + $.fn.dropdown = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('dropdown') + if (!data) $this.data('dropdown', (data = new Dropdown(this))) + if (typeof option == 'string') data[option].call($this) + }) + } + + $.fn.dropdown.Constructor = Dropdown + + + /* APPLY TO STANDARD DROPDOWN ELEMENTS + * =================================== */ + + $(function () { + $('html') + .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus) + $('body') + .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) + .on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle) + .on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) + }) + +}(window.jQuery); +/* ======================================================== + * bootstrap-tab.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#tabs + * ======================================================== + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ======================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* TAB CLASS DEFINITION + * ==================== */ + + var Tab = function (element) { + this.element = $(element) + } + + Tab.prototype = { + + constructor: Tab + + , show: function () { + var $this = this.element + , $ul = $this.closest('ul:not(.dropdown-menu)') + , selector = $this.attr('data-target') + , previous + , $target + , e + + if (!selector) { + selector = $this.attr('href') + selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 + } + + if ( $this.parent('li').hasClass('active') ) return + + previous = $ul.find('.active a').last()[0] + + e = $.Event('show', { + relatedTarget: previous + }) + + $this.trigger(e) + + if (e.isDefaultPrevented()) return + + $target = $(selector) + + this.activate($this.parent('li'), $ul) + this.activate($target, $target.parent(), function () { + $this.trigger({ + type: 'shown' + , relatedTarget: previous + }) + }) + } + + , activate: function ( element, container, callback) { + var $active = container.find('> .active') + , transition = callback + && $.support.transition + && $active.hasClass('fade') + + function next() { + $active + .removeClass('active') + .find('> .dropdown-menu > .active') + .removeClass('active') + + element.addClass('active') + + if (transition) { + element[0].offsetWidth // reflow for transition + element.addClass('in') + } else { + element.removeClass('fade') + } + + if ( element.parent('.dropdown-menu') ) { + element.closest('li.dropdown').addClass('active') + } + + callback && callback() + } + + transition ? + $active.one($.support.transition.end, next) : + next() + + $active.removeClass('in') + } + } + + + /* TAB PLUGIN DEFINITION + * ===================== */ + + $.fn.tab = function ( option ) { + return this.each(function () { + var $this = $(this) + , data = $this.data('tab') + if (!data) $this.data('tab', (data = new Tab(this))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.tab.Constructor = Tab + + + /* TAB DATA-API + * ============ */ + + $(function () { + $('body').on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { + e.preventDefault() + $(this).tab('show') + }) + }) + +}(window.jQuery); +/* ========================================================== + * bootstrap-affix.js v2.1.1 + * http://twitter.github.com/bootstrap/javascript.html#affix + * ========================================================== + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================================================== */ + + +!function ($) { + + "use strict"; // jshint ;_; + + + /* AFFIX CLASS DEFINITION + * ====================== */ + + var Affix = function (element, options) { + this.options = $.extend({}, $.fn.affix.defaults, options) + this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this)) + this.$element = $(element) + this.checkPosition() + } + + Affix.prototype.checkPosition = function () { + if (!this.$element.is(':visible')) return + + var scrollHeight = $(document).height() + , scrollTop = this.$window.scrollTop() + , position = this.$element.offset() + , offset = this.options.offset + , offsetBottom = offset.bottom + , offsetTop = offset.top + , reset = 'affix affix-top affix-bottom' + , affix + + if (typeof offset != 'object') offsetBottom = offsetTop = offset + if (typeof offsetTop == 'function') offsetTop = offset.top() + if (typeof offsetBottom == 'function') offsetBottom = offset.bottom() + + affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? + false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? + 'bottom' : offsetTop != null && scrollTop <= offsetTop ? + 'top' : false + + if (this.affixed === affix) return + + this.affixed = affix + this.unpin = affix == 'bottom' ? position.top - scrollTop : null + + this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : '')) + } + + + /* AFFIX PLUGIN DEFINITION + * ======================= */ + + $.fn.affix = function (option) { + return this.each(function () { + var $this = $(this) + , data = $this.data('affix') + , options = typeof option == 'object' && option + if (!data) $this.data('affix', (data = new Affix(this, options))) + if (typeof option == 'string') data[option]() + }) + } + + $.fn.affix.Constructor = Affix + + $.fn.affix.defaults = { + offset: 0 + } + + + /* AFFIX DATA-API + * ============== */ + + $(window).on('load', function () { + $('[data-spy="affix"]').each(function () { + var $spy = $(this) + , data = $spy.data() + + data.offset = data.offset || {} + + data.offsetBottom && (data.offset.bottom = data.offsetBottom) + data.offsetTop && (data.offset.top = data.offsetTop) + + $spy.affix(data) + }) + }) + + +}(window.jQuery); \ No newline at end of file diff --git a/api/resources/javascripts/clicker.js b/api/resources/javascripts/clicker.js new file mode 100644 index 00000000..90e7e12c --- /dev/null +++ b/api/resources/javascripts/clicker.js @@ -0,0 +1,69 @@ +function setupClicker() { + // when hovering over arrow, add highlight (only if inactive) + $("i.methodToggle").hover(function () { + if (!$("i.methodToggle").hasClass('active')) + $(this).addClass("methodToggleHover"); + }, + function () { + $(this).removeClass("methodToggleHover"); + } + ); + + function handleClick(e, linkHref) { + //if (linkHref.indexOf("nav=api&api=") >= 0) + // return; + if (linkHref == "api") + return; + + e.preventDefault(); + + var dstElem; + if (linkHref) { + dstElem = $("article[id='" + linkHref + "']"); + } + + var $article = (dstElem || $(this)).closest('.article'), + $arrow = $('i.methodClicker', $article); + + if (!$article.hasClass('methodToggleOpen') || this.force) { + $article.addClass('methodToggleOpen'); + $arrow.removeClass('inactive').addClass('active'); + + if (!$arrow[0]) + return; + + var data = $arrow[0].id.replace(/^js_/, ""); + //var state = {}; + //state.section = data; + //$.bbq.pushState(state); + + scrollTo(null, data); + } + else { + $article.removeClass('methodToggleOpen'); + $arrow.removeClass('active').addClass('inactive'); + } + } + + function transformHash(e) { + // some bs to figure out link hash + var hashId = (e.srcElement ? e.srcElement.href : (e.hash || e.target.href)) || e.currentTarget.hash; + + handleClick(e, hashId.substring(hashId.indexOf("#") + 1)); + } + + // for the arrow + $("i.methodToggle").click(handleClick); + + // for the signature + $('.member-name').click(handleClick); + + // for the top dropdown + $('li.memberLink a').click(transformHash); + + //$('a[href^="#"]').click(transformHash); + + $('.related-to', '.metaInfo').click(function(){ + location.hash = $(this).find('a').attr('href').split('#')[1]; + }); +} \ No newline at end of file diff --git a/api/resources/javascripts/disqus-ext.js b/api/resources/javascripts/disqus-ext.js new file mode 100644 index 00000000..6bb7ff4e --- /dev/null +++ b/api/resources/javascripts/disqus-ext.js @@ -0,0 +1,17 @@ +function setupDisqus(href) { + var disqus_shortname = 'aceapi'; + + //var paths = window.location.pathname.split("/"); + //var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1]; + + //var disqus_identifier = fileName; + var disqus_identifier = href.substring(2); + + (function() { + if (document.getElementById("disqusScript") === null) { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + } + })(); +} \ No newline at end of file diff --git a/api/resources/javascripts/ga.js b/api/resources/javascripts/ga.js new file mode 100644 index 00000000..e381972d --- /dev/null +++ b/api/resources/javascripts/ga.js @@ -0,0 +1,9 @@ + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-31998201-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/api/resources/javascripts/jquery-scrollspy.js b/api/resources/javascripts/jquery-scrollspy.js new file mode 100644 index 00000000..71b4a363 --- /dev/null +++ b/api/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/api/resources/javascripts/jquery.collapse.js b/api/resources/javascripts/jquery.collapse.js new file mode 100644 index 00000000..427ee5fa --- /dev/null +++ b/api/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/api/resources/javascripts/jquery.cookie.js b/api/resources/javascripts/jquery.cookie.js new file mode 100644 index 00000000..6df1faca --- /dev/null +++ b/api/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/api/resources/javascripts/jquery.js b/api/resources/javascripts/jquery.js new file mode 100644 index 00000000..3ca5e0f5 --- /dev/null +++ b/api/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/api/resources/javascripts/plugins.js b/api/resources/javascripts/plugins.js new file mode 100644 index 00000000..efda459c --- /dev/null +++ b/api/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/api/resources/javascripts/prettify-extension.js b/api/resources/javascripts/prettify-extension.js new file mode 100644 index 00000000..ca8458dc --- /dev/null +++ b/api/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/api/resources/javascripts/prettify.js b/api/resources/javascripts/prettify.js
new file mode 100644
index 00000000..eef5ad7e
--- /dev/null
+++ b/api/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 1010) sx = 1010 - document.documentElement.offsetWidth;
+    }
+    else sx = 0;
+
+    $('.members').each(function (i) {
+        var $classContent = $(this).closest('.classContent');
+        
+        $(this).scrollspy({
+            min: $classContent.position().top + 5,
+            max: $classContent.position().top + $classContent.height() - 35,
+            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
+                }).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, i.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);
+    });
+    
+    function showMethodContent() {
+        var locationHash = location.hash.replace(/^#/, '').replace(/\./g, '\\.');
+        var equalsPos = location.hash.indexOf("=");
+        
+        if (equalsPos >=0) {
+            locationHash = locationHash.substring(0, location.hash.indexOf("="));
+        }
+        
+        var $clickerEl = $('span#' + locationHash);
+        if ($clickerEl.length > 0 && $clickerEl.hasClass('methodClicker')) {
+            var p = $clickerEl.parent();
+            p[0].force = true;
+            p.trigger('click');
+            p[0].force = false;
+        }
+    }
+
+    if (location.hash.indexOf("section") >= 1) {
+        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/api/scrollbar.html b/api/scrollbar.html
new file mode 100644
index 00000000..f656fc49
--- /dev/null
+++ b/api/scrollbar.html
@@ -0,0 +1,264 @@
+
+
+
+
+
+
+

ScrollBar [edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Constructors

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

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

+ +
+

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

+ +

Arguments

parentDOMElement

Required. A DOM element

+
+ + + + + +

Events

+
+
+
+
+
    +
  • +
      +
    • ScrollBar.on("scroll", function(Object e))
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the scroll bar, well, scrolls.

+ +
+

Emitted when the scroll bar, well, scrolls.

+ +

Arguments

eObject

Required. Contains one property, "data", which indicates the current scroll top position

+
+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • ScrollBar.getWidth +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the width of the scroll bar.

+ +
+

Returns the width of the scroll bar.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • ScrollBar.setHeight(Number height)
    • +
    +
      +
    +
  • +
+
+
+

Sets the height of the scroll bar, in pixels.

+ +
+

Sets the height of the scroll bar, in pixels.

+ +

Arguments

heightNumber

Required. The new height

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • ScrollBar.setInnerHeight(Number height)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

heightNumber

Required. The new inner height

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

Sets the scroll top of the scroll bar.

+ +
+

Sets the scroll top of the scroll bar.

+ +

Arguments

scrollTopNumber

Required. The new scroll top

+
+
+
+
+
+
+ + + + + + +
+ \ No newline at end of file diff --git a/api/search.html b/api/search.html new file mode 100644 index 00000000..2bfeaa9c --- /dev/null +++ b/api/search.html @@ -0,0 +1,294 @@ + +
+
+
+
+
+

Search [edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Constructors

+
+
+
+
+
    +
  • +
      +
    • new Search
    • +
    +
      +
    +
  • +
+
+
+

Creates a new Search object. The following search options are avaliable:

+ +
+

Creates a new Search object. The following search options are avaliable:

+
    +
  • needle: The string or regular expression you're looking for
  • +
  • backwards: Whether to search backwards from where cursor currently is. Defaults to false.
  • +
  • wrap: Whether to wrap the search back to the beginning when it hits the end. Defaults to false.
  • +
  • caseSensitive: Whether the search ought to be case-sensitive. Defaults to false.
  • +
  • wholeWord: Whether the search matches only on whole words. Defaults to false.
  • +
  • range: The Range to search within. Set this to null for the whole document
  • +
  • regExp: Whether the search is a regular expression or not. Defaults to false.
  • +
  • start: The starting Range or cursor position to begin the search
  • +
  • skipCurrent: Whether or not to include the current line in the search. Default to false.
  • +
+ +

Arguments

+
+
+
+
+
+

Methods

+
+
+
+
+ +
+
+

Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.

+ +
+

Searches for options.needle. If found, this method returns the Range where the text first occurs. If options.backwards is true, the search goes backwards in the session.

+ +

Arguments

sessionEditSession

Required. The session to search with

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

Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.

+ +
+

Searches for all occurances options.needle. If found, this method returns an array of Ranges where the text first occurs. If options.backwards is true, the search goes backwards in the session.

+ +

Arguments

sessionEditSession

Required. The session to search with

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Search.getOptions +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns an object containing all the search options.

+ +
+

Returns an object containing all the search options.

+ +

Arguments

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

Searches for options.needle in input, and, if found, replaces it with replacement.

+ +
+

Searches for options.needle in input, and, if found, replaces it with replacement.

+ +

Arguments

inputString

Required. The text to search in

+
replacementString

Required. The replacing text

+
    +
  • (String): If options.regExp is true, this function returns input with the replacement already made. Otherwise, this function just returns replacement.
    +If options.needle was not found, this function returns null.
  • +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    • Chainable
    • +
    +
  • +
+
+
+

Sets the search options via the options parameter.

+ +
+

Sets the search options via the options parameter.

+ +

Arguments

optionsObject

Required. An object containing all the new search properties

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/selection.html b/api/selection.html new file mode 100644 index 00000000..663c2c37 --- /dev/null +++ b/api/selection.html @@ -0,0 +1,1495 @@ + +
+
+
+ +
+
+

Contains the cursor position and the text selection of an edit session.

+

The row/columns used in the selection are in document coordinates representing ths coordinates as thez appear in the document before applying soft wrap and folding.

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

Creates a new Selection object.

+ +
+

Creates a new Selection object.

+ +

Arguments

sessionEditSession

Required. The session to use

+
+
+
+
+
+
+

Events

+
+
+
+
+
    +
  • +
      +
    • Selection.on("changeCursor
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the cursor position changes.

+ +
+

Emitted when the cursor position changes.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.on("changeSelection
    • +
    +
      +
    +
  • +
+
+
+

Emitted when the cursor selection changes.

+ +
+

Emitted when the cursor selection changes.

+ +

Arguments

+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • Selection.clearSelection
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.getCursor +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Gets the current position of the cursor.

+ +
+

Gets the current position of the cursor.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.getRange +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the Range for the selected text.

+ +
+

Returns the Range for the selected text.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.getSelectionAnchor
    • +
    +
      +
    +
  • +
+
+
+

Returns an object containing the row and column of the calling selection anchor.

+ +
+

Returns an object containing the row and column of the calling selection anchor.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.getSelectionLead +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns an object containing the row and column of the calling selection lead.

+ +
+

Returns an object containing the row and column of the calling selection lead.

+ +

Arguments

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

Moves the selection to highlight the entire word.

+ +
+

Moves the selection to highlight the entire word.

+ +

Arguments

rowObject

Required.

+
columnObject

Required.

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.isBackwards +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.isEmpty +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the selection is empty.

+ +
+

Returns true if the selection is empty.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.isMultiLine +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the selection is a multi-line.

+ +
+

Returns true if the selection is a multi-line.

+ +

Arguments

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

Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.

+ +
+

Moves the cursor to position indicated by the parameters. Negative numbers move the cursor backwards in the document.

+ +

Arguments

rowsNumber

Required. The number of rows to move by

+
charsNumber

Required. The number of characters to move by

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorDown
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor down one row.

+ +
+

Moves the cursor down one row.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorFileEnd
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the end of the file.

+ +
+

Moves the cursor to the end of the file.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorFileStart
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the start of the file.

+ +
+

Moves the cursor to the start of the file.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorLeft
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor left one column.

+ +
+

Moves the cursor left one column.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorLineEnd
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the end of the line.

+ +
+

Moves the cursor to the end of the line.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorLineStart
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the start of the line.

+ +
+

Moves the cursor to the start of the line.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorLongWordLeft
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the word on the left.

+ +
+

Moves the cursor to the word on the left.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorLongWordRight
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor to the word on the right.

+ +
+

Moves the cursor to the word on the right.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorRight
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor right one column.

+ +
+

Moves the cursor right one column.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to move to

+
columnNumber

Required. The column to move to

+
keepDesiredColumnBoolean

Required. If true, the cursor move does not respect the previous column

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorToPosition(Object position)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

positionObject

Required. The position to move to

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The row to move to

+
columnNumber

Required. The column to move to

+
keepDesiredColumnBoolean

Required. If true, the cursor move does not respect the previous column

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.moveCursorUp
    • +
    +
      +
    +
  • +
+
+
+

Moves the cursor up one row.

+ +
+

Moves the cursor up one row.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectAll
    • +
    +
      +
    +
  • +
+
+
+

Selects all the text in the document.

+ +
+

Selects all the text in the document.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectAWord
    • +
    +
      +
    +
  • +
+
+
+

Selects a word, including its right whitespace.

+ +
+

Selects a word, including its right whitespace.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectDown
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection down one row.

+ +
+

Moves the selection down one row.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectFileEnd
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection to the end of the file.

+ +
+

Moves the selection to the end of the file.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectFileStart
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection to the start of the file.

+ +
+

Moves the selection to the start of the file.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectLeft
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection left one column.

+ +
+

Moves the selection left one column.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectLine
    • +
    +
      +
    +
  • +
+
+
+

Selects the entire line.

+ +
+

Selects the entire line.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectLineEnd
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection to the end of the current line.

+ +
+

Moves the selection to the end of the current line.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectLineStart
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection to the beginning of the current line.

+ +
+

Moves the selection to the beginning of the current line.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectRight
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection right one column.

+ +
+

Moves the selection right one column.

+ +

Arguments

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

Moves the selection cursor to the indicated row and column.

+ +
+

Moves the selection cursor to the indicated row and column.

+ +

Arguments

rowNumber

Required. The row to select to

+
columnNumber

Required. The column to select to

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectToPosition(Object pos)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

posObject

Required. An object containing the row and column

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectUp
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection up one row.

+ +
+

Moves the selection up one row.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectWord
    • +
    +
      +
    +
  • +
+
+
+

Selects an entire word boundary.

+ +
+

Selects an entire word boundary.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectWordLeft
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection to the first word on the left.

+ +
+

Moves the selection to the first word on the left.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.selectWordRight
    • +
    +
      +
    +
  • +
+
+
+

Moves the selection to the first word on the right.

+ +
+

Moves the selection to the first word on the right.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

rowNumber

Required. The new row

+
columnNumber

Required. The new column

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.setSelectionRange(Range range, Boolean reverse)
    • +
    +
      +
    +
  • +
+
+
+

Sets the selection to the provided range.

+ +
+

Sets the selection to the provided range.

+ +

Arguments

rangeRange

Required. The range of text to select

+
reverseBoolean

Required. Indicates if the range should go backwards (true) or not

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Selection.shiftSelection(Number columns)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

columnsNumber

Required. The number of columns to shift by

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/split.html b/api/split.html new file mode 100644 index 00000000..3ea074d7 --- /dev/null +++ b/api/split.html @@ -0,0 +1,560 @@ + +
+
+
+
+
+

Split [edit] +

+ +
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • Split.blur
    • +
    +
      +
    +
  • +
+
+
+

Blurs the current editor.

+ +
+

Blurs the current editor.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.focus
    • +
    +
      +
    +
  • +
+
+
+

Focuses the current editor.

+ +
+

Focuses the current editor.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • + +
      +
    • Incomplete
    • +
    +
  • +
+
+
+
+
+
+

Arguments

callbackFunction

Required. A callback function to execute

+
scopeString

Required. The default scope for the callback

+

Executes callback on all of the available editors.

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.getCurrentEditor +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current editor.

+ +
+

Returns the current editor.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.getEditor(Number idx)
    • +
    +
      +
    • Incomplete
    • +
    +
  • +
+
+
+
+
+
+

Arguments

idxNumber

Required. The index of the editor you want

+

Returns the editor identified by the index idx.

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.getOrientation
    • +
    +
      +
    +
  • +
+
+
+

Returns the orientation.

+ +
+

Returns the orientation.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.getSplits +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the number of splits.

+ +
+

Returns the number of splits.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.resize
    • +
    +
      +
    +
  • +
+
+
+

Split.resize() -> Void

+ +
+

Split.resize() -> Void

+

Resizes the editor.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.setFontSize(Number size)
    • +
    +
      +
    • Incomplete
    • +
    +
  • +
+
+
+
+
+
+

Arguments

sizeNumber

Required. The new font size

+

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

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.setKeyboardHandler(String keybinding)
    • +
    +
      +
    • Incomplete
    • +
    +
  • +
+
+
+
+
+
+

Arguments

keybindingString

Required. Sets the keyboard handler for the editor.

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.setOrientation(Number orientation)
    • +
    +
      +
    • Incomplete
    • +
    +
  • +
+
+
+
+
+
+

Arguments

orientationNumber

Required. The new orientation value

+

Sets the orientation.

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

Arguments

sessionEditSession

Required. The new edit session

+
idxNumber

Required. The editor's index you're interested in

+

Sets a new EditSession for the indicated editor.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • Split.setTheme(String theme)
    • +
    +
      +
    • Incomplete
    • +
    +
  • +
+
+
+
+
+
+

Arguments

themeString

Required. The name of the theme to set

+

Sets a theme for each of the available editors.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/token_iterator.html b/api/token_iterator.html new file mode 100644 index 00000000..248dcf61 --- /dev/null +++ b/api/token_iterator.html @@ -0,0 +1,262 @@ + +
+
+
+
+
+

TokenIterator [edit] +

+ +
+
+
+
+

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

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +

Arguments

sessionEditSession

Required. The session to associate with

+
initialRowNumber

Required. The row to start the tokenizing at

+
initialColumnNumber

Required. The column to start the tokenizing at

+
+
+
+
+
+
+

Methods

+
+
+
+
+
    +
  • +
      +
    • TokenIterator.getCurrentToken +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current tokenized string.

+ +
+

Returns the current tokenized string.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • TokenIterator.getCurrentTokenColumn +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current column.

+ +
+

Returns the current column.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • TokenIterator.getCurrentTokenRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the current row.

+ +
+

Returns the current row.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • TokenIterator.stepBackward
    • +
    +
      +
    +
  • +
+
+
+

Tokenizes all the items from the current point to the row prior in the document.

+ +
+

Tokenizes all the items from the current point to the row prior in the document.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • TokenIterator.stepForward +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.

+ +
+

Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns null. Otherwise, it returns the tokenized string.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/tokenizer.html b/api/tokenizer.html new file mode 100644 index 00000000..e4cd349d --- /dev/null +++ b/api/tokenizer.html @@ -0,0 +1,136 @@ + +
+
+
+
+
+

Tokenizer [edit] +

+ +
+
+ +

Constructors

+
+
+
+
+ +
+
+

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

+ +
+

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

+ +

Arguments

rulesObject

Required. The highlighting rules

+
flagString

Required. Any additional regular expression flags to pass (like "i" for case insensitive)

+
+
+
+
+
+
+

Methods

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

Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.

+ +
+

Returns an object containing two properties: tokens, which contains all the tokens; and state, the current state.

+ +

Arguments

lineObject

Required.

+
startStateObject

Required.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/undomanager.html b/api/undomanager.html new file mode 100644 index 00000000..89e9f868 --- /dev/null +++ b/api/undomanager.html @@ -0,0 +1,289 @@ + +
+
+
+
+
+

UndoManager [edit] +

+ +
+
+
+
+

This object maintains the undo stack for an EditSession.

+ +
+
+
+

Constructors

+
+
+
+
+
    +
  • +
      +
    • new UndoManager
    • +
    +
      +
    +
  • +
+
+
+

Resets the current undo state and creates a new UndoManager.

+ +
+

Resets the current undo state and creates a new UndoManager.

+ +

Arguments

+
+
+
+
+
+

Methods

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

Provides a means for implementing your own undo manager. options has one property, args, an Array, with two elements:

+ +
+

Provides a means for implementing your own undo manager. options has one property, args, an Array, with two elements:

+
    +
  • args[0] is an array of deltas
  • +
  • args[1] is the document to associate with
  • +
+ +

Arguments

optionsObject

Required. Contains additional properties

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • UndoManager.hasRedo +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if there are redo operations left to perform.

+ +
+

Returns true if there are redo operations left to perform.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • UndoManager.hasUndo +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if there are undo operations left to perform.

+ +
+

Returns true if there are undo operations left to perform.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • UndoManager.redo(Boolean dontSelect)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

dontSelectBoolean

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

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • UndoManager.reset
    • +
    +
      +
    +
  • +
+
+
+

Destroys the stack of undo and redo redo operations.

+ +
+

Destroys the stack of undo and redo redo operations.

+ +

Arguments

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

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

+ +
+

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

+ +

Arguments

dontSelectBoolean

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

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
\ No newline at end of file diff --git a/api/virtual_renderer.html b/api/virtual_renderer.html new file mode 100644 index 00000000..ef804c28 --- /dev/null +++ b/api/virtual_renderer.html @@ -0,0 +1,2030 @@ + +
+
+
+
+
+

VirtualRenderer [edit] +

+ +
+
+
+
+

The class that is responsible for drawing everything you see on the screen!

+ +
+
+
+

Constructors

+
+
+
+
+ +
+
+

Constructs a new VirtualRenderer within the container specified, applying the given theme.

+ +
+

Constructs a new VirtualRenderer within the container specified, applying the given theme.

+ +

Arguments

containerDOMElement

Required. The root element of the editor

+
themeString

Required. The starting theme

+
+
+
+
+
+
+

Methods

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.addGutterDecoration(Object row, Object className)
    • +
    +
      +
    +
  • +
+
+
+

Deprecated; (moved to EditSession)

+ +
+

Deprecated; (moved to EditSession)

+ +

Arguments

rowObject

Required.

+
classNameObject

Required.

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.adjustWrapLimit
    • +
    +
      +
    +
  • +
+
+
+

Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.

+ +
+

Adjusts the wrap limit, which is the number of characters that can fit within the width of the edit area on screen.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.destroy
    • +
    +
      +
    +
  • +
+
+
+

Destroys the text and cursor layers for this renderer.

+ +
+

Destroys the text and cursor layers for this renderer.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getAnimatedScroll +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns whether an animated scroll happens or not.

+ +
+

Returns whether an animated scroll happens or not.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getContainerElement +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the root element containing this renderer.

+ +
+

Returns the root element containing this renderer.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getFirstFullyVisibleRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

+ +
+

Returns the index of the first fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getFirstVisibleRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the index of the first visible row.

+ +
+

Returns the index of the first visible row.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getHScrollBarAlwaysVisible +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns whether the horizontal scrollbar is set to be always visible.

+ +
+

Returns whether the horizontal scrollbar is set to be always visible.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getLastFullyVisibleRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

+ +
+

Returns the index of the last fully visible row. "Fully" here means that the characters in the row are not truncated; that the top and the bottom of the row are on the screen.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getLastVisibleRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the index of the last visible row.

+ +
+

Returns the index of the last visible row.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getMouseEventTarget +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the element that the mouse events are attached to

+ +
+

Returns the element that the mouse events are attached to

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getPrintMarginColumn +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns whether the print margin column is being shown or not.

+ +
+

Returns whether the print margin column is being shown or not.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getScrollBottomRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the last visible row, regardless of whether it's fully visible or not.

+ +
+

Returns the last visible row, regardless of whether it's fully visible or not.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getScrollLeft +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getScrollTop +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getScrollTopRow +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the first visible row, regardless of whether it's fully visible or not.

+ +
+

Returns the first visible row, regardless of whether it's fully visible or not.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getShowGutter +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns true if the gutter is being shown.

+ +
+

Returns true if the gutter is being shown.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getShowInvisibles +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns whether invisible characters are being shown or not.

+ +
+

Returns whether invisible characters are being shown or not.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getShowPrintMargin +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns whether the print margin is being shown or not.

+ +
+

Returns whether the print margin is being shown or not.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getTextAreaContainer +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the element to which the hidden text area is added.

+ +
+

Returns the element to which the hidden text area is added.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.getTheme +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Returns the path of the current theme.

+ +
+

Returns the path of the current theme.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.hideComposition
    • +
    +
      +
    +
  • +
+
+
+

Hides the current composition.

+ +
+

Hides the current composition.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.hideCursor
    • +
    +
      +
    +
  • +
+
+
+

Hides the cursor icon.

+ +
+

Hides the cursor icon.

+ +

Arguments

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

Returns true if you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.

+ +
+

Returns true if you can still scroll by either parameter; in other words, you haven't reached the end of the file or line.

+ +

Arguments

deltaXNumber

Required. The x value to scroll by

+
deltaYNumber

Required. The y value to scroll by

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

Triggers a resize of the editor.

+ +
+

Triggers a resize of the editor.

+ +

Arguments

forceBoolean

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

+
gutterWidthNumber

Required. The width of the gutter in pixels

+
widthNumber

Required. The width of the editor in pixels

+
heightNumber

Required. The hiehgt of the editor, in pixels

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.removeGutterDecoration(Object row, Object className)
    • +
    +
      +
    +
  • +
+
+
+

Deprecated; (moved to EditSession)

+ +
+

Deprecated; (moved to EditSession)

+ +

Arguments

rowObject

Required.

+
classNameObject

Required.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollBy(Number deltaX, Number deltaY)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

deltaXNumber

Required. The x value to scroll by

+
deltaYNumber

Required. The y value to scroll by

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollCursorIntoView(Object cursor, Object offset)
    • +
    +
      +
    +
  • +
+
+
+

Scrolls the cursor into the first visibile area of the editor

+ +
+

Scrolls the cursor into the first visibile area of the editor

+ +

Arguments

cursorObject

Required.

+
offsetObject

Required.

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

Gracefully scrolls the editor to the row indicated.

+ +
+

Gracefully scrolls the editor to the row indicated.

+ +

Arguments

lineNumber

Required. A line number

+
centerBoolean

Required. If true, centers the editor the to indicated line

+
animateBoolean

Required. If true animates scrolling

+
callbackFunction

Required. Function to be called after the animation has finished

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollToRow(Number row)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

rowNumber

Required. A row id

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollToX(Number scrollLeft) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Scrolls the editor across the x-axis to the pixel indicated.

+ +
+

Scrolls the editor across the x-axis to the pixel indicated.

+ +

Arguments

scrollLeftNumber

Required. The position to scroll to

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.scrollToY(Number scrollTop) +
    • + +
    • +
    +
      +
    +
  • +
+
+
+

Scrolls the editor to the y pixel indicated.

+ +
+

Scrolls the editor to the y pixel indicated.

+ +

Arguments

scrollTopNumber

Required. The position to scroll to

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setAnimatedScroll(Boolean shouldAnimate)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

shouldAnimateBoolean

Required. Set to true to show animated scrolls

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setAnnotations(Array annotations)
    • +
    +
      +
    +
  • +
+
+
+

Sets annotations for the gutter.

+ +
+

Sets annotations for the gutter.

+ +

Arguments

annotationsArray

Required. An array containing annotations

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setCompositionText(String text)
    • +
    +
      +
    • Incomplete
    • +
    +
  • +
+
+
+
+
+
+

Arguments

textString

Required. A string of text to use

+

Sets the inner text of the current composition to text.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setHScrollBarAlwaysVisible(Boolean alwaysVisible)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

alwaysVisibleBoolean

Required. Set to true to make the horizontal scroll bar visible

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setPadding(Number padding)
    • +
    +
      +
    +
  • +
+
+
+

Sets the padding for all the layers.

+ +
+

Sets the padding for all the layers.

+ +

Arguments

paddingNumber

Required. A new padding value (in pixels)

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setPrintMarginColumn(Boolean showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

showPrintMarginBoolean

Required. Set to true to show the print margin column

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setSession(Object session)
    • +
    +
      +
    +
  • +
+
+
+

Associates the renderer with an EditSession.

+ +
+

Associates the renderer with an EditSession.

+ +

Arguments

sessionObject

Required.

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

Identifies whether you want to show the gutter or not.

+ +
+

Identifies whether you want to show the gutter or not.

+ +

Arguments

showBoolean

Required. Set to true to show the gutter

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setShowInvisibles(Boolean showInvisibles)
    • +
    +
      +
    +
  • +
+
+
+

Identifies whether you want to show invisible characters or not.

+ +
+

Identifies whether you want to show invisible characters or not.

+ +

Arguments

showInvisiblesBoolean

Required. Set to true to show invisibles

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setShowPrintMargin(Boolean showPrintMargin)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

showPrintMarginBoolean

Required. Set to true to show the print margin

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.setTheme(String theme)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

themeString

Required. The path to a theme

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.showCursor
    • +
    +
      +
    +
  • +
+
+
+

Shows the cursor icon.

+ +
+

Shows the cursor icon.

+ +

Arguments

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

Returns an object containing the pageX and pageY coordinates of the document position.

+ +
+

Returns an object containing the pageX and pageY coordinates of the document position.

+ +

Arguments

rowNumber

Required. The document row position

+
columnNumber

Required. The document column position

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.unsetStyle(String style)
    • +
    +
      +
    +
  • +
+
+
+

Removes the class style from the editor.

+ +
+

Removes the class style from the editor.

+ +

Arguments

styleString

Required. A class name

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateBackMarkers
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateBreakpoints(Object rows)
    • +
    +
      +
    +
  • +
+
+
+

Redraw breakpoints.

+ +
+

Redraw breakpoints.

+ +

Arguments

rowsObject

Required.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateCursor
    • +
    +
      +
    +
  • +
+
+
+

Updates the cursor icon.

+ +
+

Updates the cursor icon.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateFontSize
    • +
    +
      +
    +
  • +
+
+
+

Updates the font size.

+ +
+

Updates the font size.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateFrontMarkers
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateFull(Boolean force)
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

forceBoolean

Required. If true, forces the changes through

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateLines(Number firstRow, Number lastRow)
    • +
    +
      +
    +
  • +
+
+
+

Triggers a partial update of the text, from the range given by the two parameters.

+ +
+

Triggers a partial update of the text, from the range given by the two parameters.

+ +

Arguments

firstRowNumber

Required. The first row to update

+
lastRowNumber

Required. The last row to update

+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.updateText
    • +
    +
      +
    +
  • +
+
+
+

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

+ +
+

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

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.visualizeBlur
    • +
    +
      +
    +
  • +
+
+
+

Blurs the current container.

+ +
+

Blurs the current container.

+ +

Arguments

+
+
+
+
+
+
+
+
+
+
    +
  • +
      +
    • VirtualRenderer.visualizeFocus
    • +
    +
      +
    +
  • +
+
+
+

Focuses the current container.

+ +
+

Focuses the current container.

+ +

Arguments

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