One more update for API docs to not render so much rubbish, plus fixes

This commit is contained in:
Garen Torikian 2012-08-28 16:54:40 -07:00
commit 0a14538bbe
21 changed files with 899 additions and 927 deletions

View file

@ -56,15 +56,15 @@ var Range = require("./range").Range;
*
* Creates a new `Search` object. The following search options are avaliable:
*
* * needle: string or regular expression
* * backwards: false
* * wrap: false
* * caseSensitive: false
* * wholeWord: false
* * range: Range or null for whole document
* * regExp: false
* * start: Range or position
* * skipCurrent: false
* * `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`.
*
**/

View file

@ -63,6 +63,7 @@ var UndoManager = function() {
* - options (Object): Contains additional properties
*
* Provides a means for implementing your own undo manager. `options` has one property, `args`, an [[Array `Array`]], with two elements:
*
* * `args[0]` is an array of deltas
* * `args[1]` is the document to associate with
*