mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
feat(code): adjust word wrapping automatically
This commit is contained in:
@@ -115,6 +115,10 @@ export default class AbstractCodeTypeWidget extends TypeWidget {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (loadResults.isOptionReloaded("codeLineWrapEnabled")) {
|
||||||
|
this.codeEditor.setLineWrapping(options.is("codeLineWrapEnabled"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user