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

Method setProgram

app/src/processing/app/SketchCode.java:172–174  ·  view source on GitHub ↗

set the current text for this tab

(String replacement)

Source from the content-addressed store, hash-verified

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

Callers 11

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
onChangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected