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

Method onChange

java/src/processing/mode/java/lsp/PdeAdapter.java:393–399  ·  view source on GitHub ↗
(URI uri, String text)

Source from the content-addressed store, hash-verified

391 }
392
393 void onChange(URI uri, String text) {
394 findCodeByUri(uri)
395 .ifPresent(code -> {
396 code.setProgram(text);
397 notifySketchChanged();
398 });
399 }
400
401 Optional<TextEdit> format(URI uri) {
402 return findCodeByUri(uri)

Callers 2

didChangeMethod · 0.80
didOpenMethod · 0.80

Calls 3

findCodeByUriMethod · 0.95
notifySketchChangedMethod · 0.95
setProgramMethod · 0.80

Tested by

no test coverage detected