https://bugs.kde.org/show_bug.cgi?id=260771

Igor Kushnir <igor...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/kdev
                   |                            |elop/kdevelop/-/commit/752a
                   |                            |0f3db1afdec768b1da2f34e5a3c
                   |                            |ebc952ed2
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.13.231200
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Igor Kushnir <igor...@gmail.com> ---
Git commit 752a0f3db1afdec768b1da2f34e5a3cebc952ed2 by Igor Kushnir, on behalf
of Denis Biryukov.
Committed on 15/11/2023 at 17:20.
Pushed by igorkushnir into branch 'master'.

standardoutputview: add Word Wrap option

Current output view widget in KDevelop outputs single lines only.
And in case of very long lines outputted from application
(like Vulkan debug messages) output view becomes unusable.
You have to scroll a lot and read continuous line.
Typical solution for such issue is usage of word wrapping
when output text will fit output window. It greatly improves
usability and simplifies read process. In order to implement this
functionality the following changes were required:

* Enable WordWrap on KDevelop::FocusedTreeView in OutputWidget
* Disable uniform rows on KDevelop::FocusedTreeView in OutputWidget
* Add sizeHint to OutputDelegate.
* All of these changes can be turned on and off in runtime
FIXED-IN: 5.13.231200

M  +44   -16   kdevplatform/outputview/outputdelegate.cpp
M  +1    -0    kdevplatform/outputview/outputdelegate.h
M  +32   -0    kdevplatform/util/focusedtreeview.cpp
M  +11   -0    kdevplatform/util/focusedtreeview.h
M  +48   -12   plugins/standardoutputview/outputwidget.cpp
M  +3    -0    plugins/standardoutputview/outputwidget.h
M  +2    -2    plugins/standardoutputview/tests/test_standardoutputview.cpp

https://invent.kde.org/kdevelop/kdevelop/-/commit/752a0f3db1afdec768b1da2f34e5a3cebc952ed2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to