Skip to content

Commit

Permalink
added comments to aced exposed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
gedion committed Oct 2, 2012
1 parent fef1ca2 commit aef8a48
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions doc/api/editorInfo.md
Expand Up @@ -45,14 +45,27 @@ Returns the `rep` object.
## editorInfo.ace_doInsertUnorderedList(?)
## editorInfo.ace_doInsertOrderedList(?)
## editorInfo.ace_performDocumentApplyAttributesToRange()

## editorInfo.ace_getAuthorInfos()
## editorInfo.ace_performDocumentReplaceRange(?)
## editorInfo.ace_performDocumentReplaceCharRange(?)
## editorInfo.ace_renumberList(?)
{"key":{"bgcolor":"HexValue","fade":"decimal"}}
Returns an info about the author. key = author_id and info includes athour's bg color value.
Use to define your own authorship.
## editorInfo.ace_performDocumentReplaceRange(start, end, newText)
This function replaces a range (from [x1,y1] to [x2,y2]) with `text`.
## editorInfo.ace_performDocumentReplaceCharRange(startChar, endChar, newText)
This function replaces a range (from y1 to y2) with `text`.
## editorInfo.ace_renumberList(lineNum)
If you delete a line, calling this method will fix the line numbering.
## editorInfo.ace_doReturnKey()
## editorInfo.ace_isBlockElement(?)
## editorInfo.ace_getLineListType(?)
Forces a return key at the current carret position.
## editorInfo.ace_isBlockElement(element)
Returns true if your passed elment is registered as a block element
## editorInfo.ace_getLineListType(lineNum)
Returns the line's html list type.
## editorInfo.ace_caretLine()
Returns X position of the caret.
## editorInfo.ace_caretColumn()
Returns Y position of the caret.
## editorInfo.ace_caretDocChar()
## editorInfo.ace_isWordChar(?)
Returns the Y offset starting from [x=0,y=0]
## editorInfo.ace_isWordChar(?)

0 comments on commit aef8a48

Please sign in to comment.