mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
feat(code): adjust word wrapping automatically
This commit is contained in:
parent
d79977b9a4
commit
e3aa8afcad
@ -115,6 +115,10 @@ export default class AbstractCodeTypeWidget extends TypeWidget {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (loadResults.isOptionReloaded("codeLineWrapEnabled")) {
|
||||
this.codeEditor.setLineWrapping(options.is("codeLineWrapEnabled"));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user