Chromium Code Reviews| Index: base/i18n/break_iterator.h |
| =================================================================== |
| --- base/i18n/break_iterator.h (revision 100008) |
| +++ base/i18n/break_iterator.h (working copy) |
| @@ -88,6 +88,12 @@ |
| // this distinction doesn't apply and it always retuns false. |
| bool IsWord() const; |
| + // Under BREAK_WORD mode, returns true if |position| is at the end of word or |
| + // at the start of word. It always retuns false Under BREAK_LINE and |
| + // BREAK_NEWLINE modes, |
|
msw
2011/09/09 23:03:24
use a period instead of a comma at the end of this
xji
2011/09/12 21:31:48
Done.
|
| + bool IsEndOfWord(size_t position) const; |
| + bool IsStartOfWord(size_t position) const; |
| + |
| // Returns the string between prev() and pos(). |
| // Advance() must have been called successfully at least once for pos() to |
| // have advanced to somewhere useful. |