diff options
author | ionum <bugs@innuce.ch> | 2020-01-24 18:04:29 +0300 |
---|---|---|
committer | root <root@innuce.ch> | 2020-09-18 08:38:13 +0300 |
commit | 1500aed083178d5bca1b18517fbef19240700044 (patch) | |
tree | 63d31f131b22fe3ddb3502312bbe786c6a5b5a97 /js | |
parent | b74740e293bd8da7001ab7d98648b5b2d6f62580 (diff) |
Make NewLine auto
Signed-off-by: ionum <bugs@innuce.ch>
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/editor.js b/js/editor.js index 59b6073..9d6b8dd 100644 --- a/js/editor.js +++ b/js/editor.js @@ -429,7 +429,7 @@ export const Texteditor = { */ configureACE: function (file) { window.aceEditor = ace.edit(this.editor); - aceEditor.getSession().setNewLineMode("windows"); + aceEditor.getSession().setNewLineMode("auto"); aceEditor.setShowPrintMargin(false); aceEditor.getSession().setUseWrapMode(true); if (!file.writeable) { |