MCPcopy Index your code
hub / github.com/arduino/Arduino / handleNew

Method handleNew

app/src/processing/app/Base.java:799–811  ·  view source on GitHub ↗

Create a new untitled document in a new sketch window. @throws Exception

()

Source from the content-addressed store, hash-verified

797 * @throws Exception
798 */
799 public void handleNew() throws Exception {
800 try {
801 File file = createNewUntitled();
802 if (file != null) {
803 handleOpen(file, true);
804 }
805
806 } catch (IOException e) {
807 if (activeEditor != null) {
808 activeEditor.statusError(e);
809 }
810 }
811 }
812
813
814 /**

Callers 4

BaseMethod · 0.95
buildFileMenuMethod · 0.80
appReOpenedMethod · 0.80

Calls 3

createNewUntitledMethod · 0.95
handleOpenMethod · 0.95
statusErrorMethod · 0.65

Tested by

no test coverage detected