From 4283cc53a7b5bdcbc0cc35f5cb8a79f6061281e2 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 22 Jul 2018 20:08:13 +0300 Subject: [PATCH] use the global line wrapping option in moz-export popup --- edit/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit/edit.js b/edit/edit.js index a08d2c1c..266555e2 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -597,7 +597,7 @@ function showCodeMirrorPopup(title, html, options) { let cm = popup.codebox = CodeMirror($('.contents', popup), Object.assign({ mode: 'css', lineNumbers: true, - lineWrapping: true, + lineWrapping: prefs.get('editor.lineWrapping'), foldGutter: true, gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter', 'CodeMirror-lint-markers'], matchBrackets: true,