File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
java/src/processing/mode/java Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -263,11 +263,14 @@ public String preprocess(File srcFolder,
263263 if (sizeInfo != null && sizeInfo .hasSettings ()) {
264264// String sizeStatement = sizeInfo.getStatement();
265265 for (String stmt : sizeInfo .getStatements ()) {
266- // if (sizeStatement != null) {
267266 //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 ();
268270 int index = bigCode .indexOf (stmt );
269271 if (index != -1 ) {
270272 bigCode .delete (index , index + stmt .length ());
273+ System .out .println ("code now " + bigCode );
271274 } else {
272275 // TODO remove once we hit final; but prevent an exception like in
273276 // https://github.com/processing/processing/issues/3531
Original file line number Diff line number Diff line change 22X processing-java isn't working in OS X 10.11 El Capitan
33X https://github.com/processing/processing/issues/3497
44o 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
57
68contribs
79X Undo does not move to the correct location in the editor window
You can’t perform that action at this time.
0 commit comments