<table><tr><td style="">hoffmannrobert added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26560">View Revision</a></tr></table><br /><div><div><p>Here is the fix for 1.</p>

<p>I've tried number 2, but I didn't get anywhere. I think this would need huge efforts: To remove the empty space before (and after) the selection you would have to change the layout, which is tied to the document, so basically you would have to change the document. And after that, all the regions which mask the parts (not) to be printed would have to be calculated in different ways. Please correct me if I'm wrong.</p>

<p>I don't think the space saving is worth the effort, and I couldn't justify it to my sponsor.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26560">https://phabricator.kde.org/D26560</a></div></div><br /><div><strong>To: </strong>hoffmannrobert, dhaumann<br /><strong>Cc: </strong>cullmann, kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, sars, dhaumann<br /></div>