use the global line wrapping option in moz-export popup
This commit is contained in:
parent
662b4f8e49
commit
4283cc53a7
|
@ -597,7 +597,7 @@ function showCodeMirrorPopup(title, html, options) {
|
||||||
let cm = popup.codebox = CodeMirror($('.contents', popup), Object.assign({
|
let cm = popup.codebox = CodeMirror($('.contents', popup), Object.assign({
|
||||||
mode: 'css',
|
mode: 'css',
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
lineWrapping: true,
|
lineWrapping: prefs.get('editor.lineWrapping'),
|
||||||
foldGutter: true,
|
foldGutter: true,
|
||||||
gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter', 'CodeMirror-lint-markers'],
|
gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter', 'CodeMirror-lint-markers'],
|
||||||
matchBrackets: true,
|
matchBrackets: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user