Lines Matching defs:replace
169 * @param content the content to replace the selection with
190 ((AbstractDocument)doc).replace(p0, p1 - p0, content,attr);
356 * @param replace if true, then replace the existing attributes first
358 public void setCharacterAttributes(AttributeSet attr, boolean replace) {
363 doc.setCharacterAttributes(p0, p1 - p0, attr, replace);
366 if (replace) {
397 * @param replace if true, replace the existing attributes first
399 public void setParagraphAttributes(AttributeSet attr, boolean replace) {
403 doc.setParagraphAttributes(p0, p1 - p0, attr, replace);