Pastes a string. @param string string to be pasted
(final String string)
| 728 | * @param string string to be pasted |
| 729 | */ |
| 730 | private void paste(final String string) { |
| 731 | final int pos = editor.pos(); |
| 732 | if(editor.isSelected()) editor.delete(); |
| 733 | editor.insert(string); |
| 734 | finish(pos); |
| 735 | } |
| 736 | |
| 737 | /** |
| 738 | * Copies the selected text to the clipboard. |
no test coverage detected