getWordBoundary method
Returns the start, end
of the word at the given offset. Characters not
part of a word, such as spaces, symbols, and punctuation, have word breaks
on both sides. In such cases, this method will return offset, offset+1
.
Word boundaries are defined more precisely in Unicode Standard Annex #29
http://www.unicode.org/reports/tr29/#Word_Boundaries
Implementation
List<int> getWordBoundary(int offset) native 'Paragraph_getWordBoundary';