Lines Matching refs:replace
710 * <li>Else if at the end of the inserted text, the replace the item with
720 StringBuilder replace = null;
738 if (replace == null) {
739 replace = new StringBuilder();
741 replace.append(text.substring(0, textIndex));
745 if (replace != null) {
746 replace.append(getCharacter(rh.offset + counter,
752 if (replace != null) {
753 replace.append(getLiteral(rh.offset + counter));
760 replace = new StringBuilder(max);
761 replace.append(text.substring(0, textIndex));
762 replace.append(getLiteral(rh.offset + counter));
781 if (replace == null) {
782 replace = new StringBuilder();
784 replace.append(text);
787 replace.append(getPlaceholderCharacter());
797 if (replace != null) {
798 rh.text = replace.toString();