use \n instead of system "newline" property

cusax-fix
Yana Stamcheva 20 years ago
parent 5c20349c0c
commit d9d159700c

@ -167,7 +167,7 @@ public void actionPerformed(ActionEvent e)
String editorText = editorPane.getText();
editorPane.setText(editorText.substring(0, caretPosition)
+ System.getProperty("line.separator")
+ "\n"
+ editorText.substring(caretPosition));
editorPane.setCaretPosition(caretPosition + 1);

Loading…
Cancel
Save