Skip to content

Commit 9226619

Browse files
matthijskooijmanfacchinm
authored andcommitted
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 07b3b90 commit 9226619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)