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

Christoph Cullmann <cullm...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kte
                   |                            |xteditor/5339a32c12141b6a07
                   |                            |c7e6bdd050a06baacc5d81

--- Comment #1 from Christoph Cullmann <cullm...@kde.org> ---
Git commit 5339a32c12141b6a07c7e6bdd050a06baacc5d81 by Christoph Cullmann, on
behalf of loh tar.
Committed on 04/03/2019 at 18:14.
Pushed by cullmann into branch 'master'.

ViewPrivate: Make 'Apply Word Wrap' more comfortable

Summary:
This patch address not all aspects but should be a step in the right direction.

- Don't wrap entire document when nothing is selected but wrap current line
- Join paragraph before wrap to avoid odd result
- Add new function DocumentPrivate::wrapParagraph for that task
- Update 'What's This' hint to reflect new behaviour
- Update 'What's This' hint of dyn wrap too to be more precise

Old Hints
{F6563805}
New Hints
{F6563807}

Test Plan:
My arbitrary chosen test data.

1aaaaa  aaaa aaaa aaaaaaa
2aa aaaaaaa aaaaaa aaaaaaa aaa  aaaa aaaa aaaaaaa aa
3aaaaaaaa aaaaaaa aaaaaaa aaaaaa aaaaaaa aaaaaaaaa aaaaaaaa aaaaaaaa aaaaa
aaaaa aaaa aaaa aaaaaaa aa
4aaaaa  aaaa aaaa aaaaaaa aa
5aaa  aaaa aaaa aaaaaaa aa aaaa aaaaaaa aa aaaaaaa

1-----  ---- ---- -------
2-- ------- ------ ------- ---  ---- ---- ------- --
3-------- ------- ------- ------ ------- --------- -------- -------- -----
----- ---- ---- ------- --
4-----  ---- ---- ------- --
5---  ---- ---- ------- -- ---- ------- -- -------

1xxxxx  xxxx xxxx xxxxxxx
2xx xxxxxxx xxxxxx xxxxxxx xxx  xxxx xxxx xxxxxxx xx
3xxxxxxxx xxxxxxx xxxxxxx xxxxxx xxxxxxx xxxxxxxxx xxxxxxxx xxxxxxxx xxxxx
xxxxx xxxx xxxx xxxxxxx xx
4xxxxx  xxxx xxxx xxxxxxx xx
5xxx  xxxx xxxx xxxxxxx xx xxxx xxxxxxx xx xxxxxxx

Before
{F6523470}
With Patch
{F6523471}

Reviewers: #ktexteditor, mwolff, cullmann

Reviewed By: #ktexteditor, cullmann

Subscribers: dhaumann, cullmann, mwolff, kwrite-devel, kde-frameworks-devel,
#ktexteditor

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D17949

M  +20   -0    autotests/src/katedocument_test.cpp
M  +1    -0    autotests/src/katedocument_test.h
M  +61   -0    src/document/katedocument.cpp
M  +17   -1    src/document/katedocument.h
M  +14   -8    src/view/kateview.cpp
M  +2    -1    src/view/kateview.h

https://commits.kde.org/ktexteditor/5339a32c12141b6a07c7e6bdd050a06baacc5d81

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

Reply via email to