/** * Replaces the text. * * @param rc replace context * @return selection offsets */ int[] replace(final ReplaceContext rc) { return text.replace(rc); }