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 |
|
Evan Martin
2011/09/16 23:09:20
s/Under/under/
|
| + // BREAK_NEWLINE modes. |
| + 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. |