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

Method setProgram

app/src/processing/app/SketchCode.java:171–173  ·  view source on GitHub ↗

set the current text for this tab

(String replacement)

Source from the content-addressed store, hash-verified

169
170 /** set the current text for this tab */
171 public void setProgram(String replacement) {
172 program = replacement;
173 }
174
175
176 /** get the last version saved of this tab */

Callers 10

addBreakpointCommentsMethod · 0.95
setTabContentsMethod · 0.95
renameMethod · 0.95
updateCodeTextMethod · 0.95
updateSketchCodesMethod · 0.80
prepareRunMethod · 0.80
stopTweakModeMethod · 0.80
initEditorCodeMethod · 0.80
loadSavedCodeMethod · 0.80
automateSketchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected