Compare commits

..

No commits in common. "3c7003291c2d6ef71af9a8f9af4fc89f5d0da855" and "ff2043c0e24139354c0c0c587c53fb8f8547a86e" have entirely different histories.

1 changed files with 0 additions and 44 deletions

View File

@ -150,50 +150,6 @@ watch(
}, },
) )
watch(
() => pref.editorFont.fontSize,
(fontSize) => {
if (editorNode != null) {
editorNode.updateOptions({
fontSize,
})
}
},
)
watch(
() => pref.editorFont.fontFamily,
(fontFamily = undefined) => {
if (editorNode != null) {
editorNode.updateOptions({
fontFamily,
})
}
},
)
watch(
() => pref.showLineNum,
(showLineNum) => {
if (editorNode != null) {
editorNode.updateOptions({
lineNumbers: showLineNum ? 'on' : 'off',
})
}
},
)
watch(
() => pref.showFolding,
(showFolding) => {
if (editorNode != null) {
editorNode.updateOptions({
folding: showFolding !== false,
})
}
},
)
onUnmounted(() => { onUnmounted(() => {
destroyEditor() destroyEditor()
}) })