<table><tr><td style="">sars retitled this revision from "Disable highlighting for lines longer than 1024 characters." to "WIP: Disable highlighting for lines longer than 1024 characters.".<br />sars edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-t7q3eknr4pxzcvf/">(Show Details)</a>
</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/D17241">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">A lot of time is spent in decorationsForLine() when we have long lines. I noticed that we iterate the same line more than once for every edit, but I have not figured out where we could delay or remove iterations (yet ?).<br />
<br />
Disabling all highlighting for lines longer than 1024 improves the rendering speed very much, but again it is not so nice to not have highlighting.<br />
<br />
I also noticed that this patch is not good enough since if I select all of the long line the line will be highlighted...</span></div></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/D17241">https://phabricator.kde.org/D17241</a></div></div><br /><div><strong>To: </strong>sars, cullmann, vkrause<br /><strong>Cc: </strong>brauch, kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>