new: editor softWrap (#338)

This commit is contained in:
lollipopkit
2024-04-19 20:32:06 +08:00
parent 536b7f3b2c
commit 0f226b3620
15 changed files with 50 additions and 26 deletions

View File

@@ -171,6 +171,7 @@ class _EditorPageState extends State<EditorPage> {
styles: _codeTheme,
),
child: CodeField(
wrap: Stores.setting.editorSoftWrap.fetch(),
focusNode: _focusNode,
controller: _controller,
textStyle: _textStyle,