Hi,
First, thank you for your work on CodeEditor — it’s a great tool for code editing in SwiftUI.
I have a feature request: currently, there is no way to disable line wrapping. It would be very helpful to have a non-wrapping mode, where long lines extend horizontally and the user can scroll to view them. Ideally, this could be controlled via the existing wrap parameter:
wrap = true → lines wrap as usual
wrap = false → lines do not wrap, horizontal scrolling enabled
This feature would make CodeEditor more flexible for editing long lines of code without breaking them.
Thank you for considering this addition!
Best regards,
Evan
Hi,
First, thank you for your work on CodeEditor — it’s a great tool for code editing in SwiftUI.
I have a feature request: currently, there is no way to disable line wrapping. It would be very helpful to have a non-wrapping mode, where long lines extend horizontally and the user can scroll to view them. Ideally, this could be controlled via the existing
wrapparameter:wrap = true→ lines wrap as usualwrap = false→ lines do not wrap, horizontal scrolling enabledThis feature would make CodeEditor more flexible for editing long lines of code without breaking them.
Thank you for considering this addition!
Best regards,
Evan