Switch to a tab. @param tabFileName the file name identifying the tab. (as in SketchCode#getFileName())
(String tabFileName)
| 1731 | * {@link SketchCode#getFileName()}) |
| 1732 | */ |
| 1733 | public void switchToTab(String tabFileName) { |
| 1734 | Sketch s = getSketch(); |
| 1735 | for (int i = 0; i < s.getCodeCount(); i++) { |
| 1736 | if (tabFileName.equals(s.getCode(i).getFileName())) { |
| 1737 | s.setCurrentCode(i); |
| 1738 | break; |
| 1739 | } |
| 1740 | } |
| 1741 | } |
| 1742 | |
| 1743 | |
| 1744 | public Debugger getDebugger() { |
no test coverage detected