Replace the current selection with whatever's in the replacement text field. @param isCompoundEdit True if the action is to be marked as a copmound edit
(boolean isCompoundEdit)
| 424 | * @param isCompoundEdit True if the action is to be marked as a copmound edit |
| 425 | */ |
| 426 | public void replace(boolean isCompoundEdit) { |
| 427 | editor.setSelectedText(replaceField.getText(), isCompoundEdit); |
| 428 | |
| 429 | editor.getSketch().setModified(true); // This necessary- calling replace() |
| 430 | // doesn't seem to mark a sketch as modified |
| 431 | |
| 432 | setFound(false); |
| 433 | } |
| 434 | |
| 435 | |
| 436 | /** |