/** * Tries to find the word at the given offset. * * @param document the document * @param offset the offset * @return the word or <code>null</code> if none * @since 3.5 */ protected IRegion findWord(IDocument document, int offset) { return findWord(document, offset, getWordBreakIterator()); }
/** * Tries to find the word at the given offset. * * @param document the document * @param offset the offset * @return the word or <code>null</code> if none * @since 3.5 */ protected IRegion findWord(IDocument document, int offset) { return findWord(document, offset, getWordBreakIterator()); }