mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
newline hack to fix autoformat problem
This commit is contained in:
@@ -435,7 +435,8 @@ public class AutoFormat {
|
||||
public void show() {
|
||||
StringBuffer onechar;
|
||||
|
||||
String originalText = editor.getText();
|
||||
// Adding an additional newline as a hack around other errors
|
||||
String originalText = editor.getText() + "\n";
|
||||
strOut = new StringBuffer();
|
||||
indentValue = Preferences.getInteger("editor.tabs.size");
|
||||
indentChar = new String(" ");
|
||||
|
||||
Reference in New Issue
Block a user