(SketchCode newCode)
| 255 | |
| 256 | |
| 257 | protected void insertCode(SketchCode newCode) { |
| 258 | // make sure the user didn't hide the sketch folder |
| 259 | ensureExistence(); |
| 260 | |
| 261 | // add file to the code/codeCount list, resort the list |
| 262 | //if (codeCount == code.length) { |
| 263 | code = (SketchCode[]) PApplet.append(code, newCode); |
| 264 | codeCount++; |
| 265 | //} |
| 266 | //code[codeCount++] = newCode; |
| 267 | } |
| 268 | |
| 269 | |
| 270 | protected void sortCode() { |
no test coverage detected