MCPcopy Index your code
hub / github.com/benfry/processing4 / cut

Method cut

app/src/processing/app/syntax/JEditTextArea.java:1738–1743  ·  view source on GitHub ↗

Deletes the selected text from the text area and places it into the clipboard. If no selection is made, the whole line with caret will be selectd.

()

Source from the content-addressed store, hash-verified

1736 * If no selection is made, the whole line with caret will be selectd.
1737 */
1738 public void cut() {
1739 if (editable) {
1740 copy();
1741 setSelectedText("");
1742 }
1743 }
1744
1745
1746 /**

Callers 2

actionPerformedMethod · 0.80
handleCutMethod · 0.80

Calls 2

copyMethod · 0.95
setSelectedTextMethod · 0.95

Tested by

no test coverage detected