Skip to content

Make diff line trimming configurable - #2886

Open
artisdom wants to merge 1 commit into
sourcegit-scm:masterfrom
artisdom:line_trimming
Open

artisdom wants to merge 1 commit into
sourcegit-scm:masterfrom
artisdom:line_trimming

Conversation

@artisdom

Copy link
Copy Markdown

Add a persisted maximum line length to Appearance preferences, retaining the existing 1000-character default and allowing zero to disable trimming entirely.

Apply the shared limit to combined and side-by-side diffs and the merge-conflict editor. Refreshing or reopening a view applies the updated setting.

Validate default, custom, and unlimited thresholds across all three presenters, along with preference deserialization, using an isolated headless build.

Add a persisted maximum line length to Appearance preferences,
retaining the existing 1000-character default and allowing zero to disable trimming entirely.

Apply the shared limit to combined and side-by-side diffs and the merge-conflict editor.
Refreshing or reopening a view applies the updated setting.

Validate default, custom, and unlimited thresholds across all three presenters,
along with preference deserialization, using an isolated headless build.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant