diff --git a/source/gui/settingsDialogs.py b/source/gui/settingsDialogs.py index 75ec49d59f1..64a3c11f0ca 100644 --- a/source/gui/settingsDialogs.py +++ b/source/gui/settingsDialogs.py @@ -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) diff --git a/user_docs/en/changes.md b/user_docs/en/changes.md index 016f21a52ee..4de3ef24e97 100644 --- a/user_docs/en/changes.md +++ b/user_docs/en/changes.md @@ -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