MCPcopy Index your code
hub / github.com/processing/processing / setText

Method setText

app/src/processing/app/ui/Editor.java:1632–1636  ·  view source on GitHub ↗

Replace the entire contents of the front-most tab. Note that this does a compound edit, so internal callers may want to use textarea.setText() if this is part of a larger compound edit.

(String what)

Source from the content-addressed store, hash-verified

1630 * if this is part of a larger compound edit.
1631 */
1632 public void setText(String what) {
1633 startCompoundEdit();
1634 textarea.setText(what);
1635 stopCompoundEdit();
1636 }
1637
1638
1639 public void insertText(String what) {

Callers 15

createFontInfoMethod · 0.45
textWidthImplMethod · 0.45
keyTypedMethod · 0.45
updateMethod · 0.45
setContributionMethod · 0.45
setMessageMethod · 0.45
setErrorMessageMethod · 0.45
clearMessageMethod · 0.45
updateMethod · 0.45

Calls 2

startCompoundEditMethod · 0.95
stopCompoundEditMethod · 0.95

Tested by

no test coverage detected