D26560: Fix selection printing
noreply at phabricator.kde.org
Mon Jan 13 19:51:42 GMT 2020
dhaumann added a comment.
That looks already better: If a line is wrapped and on the same page, then only the selected text is printed. It seems there are still corner cases.
1. Create a document with just one long line that wraps over two printed pages. I this case, I am not able to print only the selected text properly.
2. Say you have a line that wraps over e.g. 5 visual lines. And you just want to print the visually wrapped line 4 and 5. Right now, the visual lines 1-3 are just empty, but still take place. Maybe it makes sense to omit fully empty lines completely?
Can you reproduce this? I know this is tricky, so I'd be fine with committing the code as is. Or are you willing to put more efforts into 1. and/or 2. ? :-)
In any case, this is already very much appreciated.
To: hoffmannrobert, dhaumann
Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel