We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 152aa59 commit 77c3d3eCopy full SHA for 77c3d3e
app/src/processing/app/EditorConsole.java
@@ -126,6 +126,7 @@ public boolean isEmpty() {
126
}
127
128
public void insertString(String line, SimpleAttributeSet attributes) throws BadLocationException {
129
+ line = line.replace("\r\n", "\n").replace("\r", "\n");
130
int offset = document.getLength();
131
document.insertString(offset, line, attributes);
132
0 commit comments