Adds a new pref config called lineWrapping to Edit and Diff
What this config does is it either enables or disables lineWrapping, disabling line wrapping can cause changes that have long lines to simply be cut off. With it enabled it will line wrap the text making it easer to read instead of it being cutoff. Gerrit 2.8.1 did lineWrapping so bringing this back. But it is set to the default false so it is not enabled by default in Edit or Diff sections. We should probaly set it as true in gerrit 2.13. This also will partially fix bug https://phabricator.wikimedia.org/T144565 which is filled downstream. Reason why this is partially fixed is because the pref is not set to true by default and logged out users will still see no line wrapping. Bug: Issue 4292 Bug: Issue 2410 Change-Id: I8600778f1068c217e335755a3138e8cb64bc8b3e
This commit is contained in:
@@ -1087,6 +1087,15 @@ file.
|
||||
+
|
||||
Large files that exceed 4000 lines will not be fully rendered.
|
||||
|
||||
- [[line-wrapping]]`Line Wrapping`:
|
||||
+
|
||||
Controls weather to enable line wrapping or not.
|
||||
+
|
||||
If `false` is selected then line wrapping is disabled.
|
||||
This is the default option.
|
||||
+
|
||||
If `true` is selected then line wrapping is enabled.
|
||||
|
||||
[[keyboard-shortcuts]]
|
||||
== Keyboard Shortcuts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user