Chromium Code Reviews| Index: base/i18n/break_iterator.h |
| =================================================================== |
| --- base/i18n/break_iterator.h (revision 100777) |
| +++ 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 |
|
msw
2011/09/15 01:26:00
Same as your http://codereview.chromium.org/784105
xji
2011/09/15 22:58:09
before commit, both of them need those 2 files. th
|
| + // at the start of word. It always retuns false Under BREAK_LINE and |
| + // 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. |