Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorionum <bugs@innuce.ch>2020-01-24 18:04:29 +0300
committerroot <root@innuce.ch>2020-09-18 08:38:13 +0300
commit1500aed083178d5bca1b18517fbef19240700044 (patch)
tree63d31f131b22fe3ddb3502312bbe786c6a5b5a97 /js
parentb74740e293bd8da7001ab7d98648b5b2d6f62580 (diff)
Make NewLine auto
Signed-off-by: ionum <bugs@innuce.ch>
Diffstat (limited to 'js')
-rw-r--r--js/editor.js2
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) {