Continue finalizing ace api doc

This commit is contained in:
Garen Torikian 2012-04-25 15:30:18 -07:00
commit 782da7637b
8 changed files with 105 additions and 62 deletions

View file

@ -106,7 +106,7 @@ Search.SELECTION = 2;
};
/**
* Search.find(session) -> Range | null
* Search.find(session) -> Range
* - session (EditSession): The session to search with
*
* Searches for `options.needle`. If found, this method returns the [[Range `Range`]] where the text first occurs. If `options.backwards` is `true`, the search goes backwards in the session.
@ -132,7 +132,7 @@ Search.SELECTION = 2;
};
/**
* Search.findAll(session) -> [Range] | null
* Search.findAll(session) -> [Range]
* - session (EditSession): The session to search with
*
* Searches for all occurances `options.needle`. If found, this method returns an array of [[Range `Range`s]] where the text first occurs. If `options.backwards` is `true`, the search goes backwards in the session.
@ -232,7 +232,7 @@ Search.SELECTION = 2;
};
/** internal, hide
* Search.$backwardMatchIterator(session) -> String | null
* Search.$backwardMatchIterator(session) -> String
* - session (EditSession): The session to search with
*
*