<table><tr><td style="">mglb updated this revision to Diff 33695.<br />mglb 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/D12556">View Revision</a></tr></table><br /><div><div><p>Every reasonable code which solves this problem gives the same assembly (with <tt style="background: #ebebeb; font-size: 13px;">-O2</tt>, used in release builds), so speed will not change.<br />
As for "more readable" you're right. Additionally I've decided to separate the original rect. Any code added in the same line as the last <tt style="background: #ebebeb; font-size: 13px;">QRect</tt> parameter might "disappear" during quick code scan.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D12556?vs=33183&id=33695">https://phabricator.kde.org/D12556?vs=33183&id=33695</a></div></div><br /><div><strong>BRANCH</strong><div><div>arc/cursor-fixes/0005-Do-not-paint-long-pre-edit-text-outside-display</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12556">https://phabricator.kde.org/D12556</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/Screen.cpp<br />
src/TerminalDisplay.cpp<br />
src/TerminalDisplay.h</div></div></div><br /><div><strong>To: </strong>mglb, Konsole<br /><strong>Cc: </strong>hindenburg, Konsole, herrold, ngraham<br /></div>