Switch to a tab. @param tabFileName the file name identifying the tab. (as in SketchCode#getFileName())
(String tabFileName)
| 1130 | * {@link SketchCode#getFileName()}) |
| 1131 | */ |
| 1132 | public void switchToTab(String tabFileName) { |
| 1133 | Sketch s = getSketch(); |
| 1134 | for (int i = 0; i < s.getCodeCount(); i++) { |
| 1135 | if (tabFileName.equals(s.getCode(i).getFileName())) { |
| 1136 | s.setCurrentCode(i); |
| 1137 | break; |
| 1138 | } |
| 1139 | } |
| 1140 | } |
| 1141 | |
| 1142 | |
| 1143 | public Debugger getDebugger() { |
no test coverage detected