mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 21:30:53 +08:00
feat(code): adjust word wrapping automatically
This commit is contained in:
parent
d79977b9a4
commit
e3aa8afcad
1 changed files with 4 additions and 0 deletions
|
|
@ -115,6 +115,10 @@ export default class AbstractCodeTypeWidget extends TypeWidget {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (loadResults.isOptionReloaded("codeLineWrapEnabled")) {
|
||||||
|
this.codeEditor.setLineWrapping(options.is("codeLineWrapEnabled"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue