Replace the current selection with whatever is in the replacement text field.
(boolean isCompoundEdit)
| 402 | * replacement text field. |
| 403 | */ |
| 404 | public void replace(boolean isCompoundEdit) { |
| 405 | editor.setSelectedText(replaceField.getText(), isCompoundEdit); |
| 406 | |
| 407 | // This necessary because calling replace() |
| 408 | // doesn't seem to mark a sketch as modified |
| 409 | editor.getSketch().setModified(true); |
| 410 | |
| 411 | setFound(false); |
| 412 | } |
| 413 | |
| 414 | |
| 415 | /** |
no test coverage detected