Skip to content

Commit a83adae

Browse files
EditorConsole: Do not trim getText() result
Not trimming makes this method usable for unittesting. Since this method is not currently used anywhere, it should not affect any behaviour.
1 parent 156d5d8 commit a83adae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/src/processing/app/EditorConsole.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void insertString(String line, SimpleAttributeSet attributes) throws BadL
186186
}
187187

188188
public String getText() {
189-
return consoleTextPane.getText().trim();
189+
return consoleTextPane.getText();
190190
}
191191

192192
}

0 commit comments

Comments
 (0)