Create a new untitled document in a new sketch window. @throws Exception
()
| 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 | /** |
no test coverage detected