Diffs are word wrapped #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Diffs must not be word wrapped. Instead they need to be presented like source is, with a scrollable area, using the exact same UI elements. Essentially diffs are just another form of source and must use the same presentation.
Implemented in
5b29e18.CodeScrollViewnow used by repository source files.TESTING.mdwith the no-wrap regression checks.Verified in isolation with the full required gate suite (
cargo fmt, warning-free workspace check, Clippy with warnings denied, and all workspace tests), a signed arm64 iPhone 17 Pro simulator build, and manual simulator checks of a long commit diff plus the shared repository source view. The diff remained unwrapped and pannable with colors and line numbers intact; source highlighting and scrolling remained correct.