mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
fixed 'else' keywoard handling in autoformat
This commit is contained in:
@@ -376,6 +376,11 @@ public class AutoFormat implements Formatter {
|
||||
if ((!s_flag) || buf.length() > 0) {
|
||||
buf.append(c);
|
||||
}
|
||||
// issue https://github.com/processing/processing/issues/364
|
||||
s_flag = false;
|
||||
trimRight(result);
|
||||
result.append(" ");
|
||||
|
||||
writeIndentedLine();
|
||||
s_flag = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user