<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: sandsmark, mlaurent.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: kde-frameworks-devel.<br />dfaure requested review of this revision.
</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/D14447">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>... even if automatic enabling/disabling is off, as is the case in KMail.</p>

<p>This will allow removing a direct call to rehighlight() in kpimtextedit<br />
which leads to the full highlighting being done twice (very slow on very<br />
large emails).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Replying to a mail in kmail and watching how many times<br />
slotRehighlight is called. Well, this commit alone makes it worse,<br />
but after a fix in kpimtextedit, it's down from 2 to 1.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R246 Sonnet</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14447">https://phabricator.kde.org/D14447</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/ui/highlighter.cpp</div></div></div><br /><div><strong>To: </strong>dfaure, sandsmark, mlaurent<br /><strong>Cc: </strong>kde-frameworks-devel, KDE PIM, michaelh, ngraham, bruns<br /></div>