Skip to content
7 changes: 5 additions & 2 deletions source/gui/settingsDialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2579,8 +2579,11 @@ def makeSettings(self, settingsSizer):
maxLengthLabelText,
nvdaControls.SelectOnFocusSpinCtrl,
# min and max are not enforced in the config for virtualBuffers.maxLineLength
min=10,
max=250,
# The min was set to 0 and the max was raised from 250 to 1000 (#20478) since 250 characters is regularly
# exceeded by ordinary paragraphs when screen layout is enabled, forcing lines
# to be split more often than necessary.
min=0,
max=1000,
initial=config.conf["virtualBuffers"]["maxLineLength"],
)
self.bindHelpEvent("BrowseModeSettingsMaxLength", self.maxLengthEdit)
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* Updated CLDR to version 48.2. (#20234, @OzancanKaratas)
* The duration of indentation beeps can now be configured via a new "Indent tone duration (ms)" spin control in the Document Formatting settings panel. (#20447, @Mubashir78)
* Reduced the number of cross-process UI Automation calls when processing events, reporting focus changes, reporting objects under the mouse and rendering browse mode content, by caching more properties and batching focus property fetches. (#20608, @LeonarddeR)
* The maximum value for the "Maximum number of characters on one line" setting in the Browse Mode settings panel has been increased from 250 to 1000, and the minimum has been set to 0. So, browse mode splits long paragraphs less often when screen layout is enabled. (#20478, @Rasaec5)

### Bug Fixes

Expand Down