| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b4475ac commit 3218390
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -263,11 +263,14 @@ public String preprocess(File srcFolder, | |||
| 263 | 263 | if (sizeInfo != null && sizeInfo.hasSettings()) { | |
| 264 | 264 | // String sizeStatement = sizeInfo.getStatement(); | |
| 265 | 265 | for (String stmt : sizeInfo.getStatements()) { | |
| 266 | - // if (sizeStatement != null) { | ||
| 267 | 266 | //System.out.format("size stmt is '%s'%n", sizeStatement); | |
| 267 | + // Don't remove newlines (and while you're at it, just keep spaces) | ||
| 268 | + // https://github.com/processing/processing/issues/3654 | ||
| 269 | + stmt = stmt.trim(); | ||
| 268 | 270 | int index = bigCode.indexOf(stmt); | |
| 269 | 271 | if (index != -1) { | |
| 270 | 272 | bigCode.delete(index, index + stmt.length()); | |
| 273 | + System.out.println("code now " + bigCode); | ||
| 271 | 274 | } else { | |
| 272 | 275 | // TODO remove once we hit final; but prevent an exception like in | |
| 273 | 276 | // https://github.com/processing/processing/issues/3531 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,8 @@ | |||
| 2 | 2 | X processing-java isn't working in OS X 10.11 El Capitan | |
| 3 | 3 | X https://github.com/processing/processing/issues/3497 | |
| 4 | 4 | o probably have to add the script/Processing.app location to user's path | |
| 5 | + X line selected for errors is off by one or two | ||
| 6 | + X https://github.com/processing/processing/issues/3654 | ||
| 5 | 7 | ||
| 6 | 8 | contribs | |
| 7 | 9 | X Undo does not move to the correct location in the editor window | |
| Back | FazBrowse Home | New Git URL |
0 commit comments