loh.tar created this revision. loh.tar added reviewers: KTextEditor, VDG. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. loh.tar requested review of this revision.
REVISION SUMMARY Without this patch is in "Dynamic Wrap Mode" the text always wrapped at the outer end of the view, which may hinder the reading flow with a wide screen. TEST PLAN Normal behaviour F6487064: 1545150257.png <https://phabricator.kde.org/F6487064> With patch and activated option F6487068: 1545150190.png <https://phabricator.kde.org/F6487068> Config page, no old one (sorry, but looks almost the same just without the new option) F6487072: 1545151316.png <https://phabricator.kde.org/F6487072> REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D17661 AFFECTED FILES src/dialogs/katedialogs.cpp src/dialogs/textareaappearanceconfigwidget.ui src/utils/kateconfig.cpp src/utils/kateconfig.h src/view/kateviewinternal.cpp To: loh.tar, #ktexteditor, #vdg Cc: kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann