(URI uri, String text)
| 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) |
no test coverage detected