Add optional word-wrap mode to code editor
Merged
WE
4d ago+73+73+01234567890123456789-7-7-0123456789
Add an Auto wrap toggle so long lines can wrap instead of scrolling.
Screenshots
| Wrap lines off (current behavior) | Wrap lines on |
|---|---|
I'll also attach a short recording of both modes once the implementation is ready.
Closes #484
Summary by cubic
Adds an Auto wrap toggle so long code lines wrap instead of forcing horizontal scrolling. Wrapping stays off by default, the preference is remembered between sessions, and line numbers are hidden while wrapping is on. Navigating to diagnostic lines still scrolls to the correct spot while wrapping.