<table><tr><td style="">flherne 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/D5139" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>The pycodestyle integration in kdev-python also uses underlines for formatting complaints, although in that case they're yellow warnings.</p>

<p>Note that red underlines are used for many non-spelling errors in KDevelop, such as syntax and semantic errors. There's no reason for the user to be surprised by that.</p>

<p>I agree with mwolff; there's nothing wrong with underlining and your proposed changes seem far more confusing.</p>

<p>Formatting only the overlapping section rather than the entire line is nice though.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5139" rel="noreferrer">https://phabricator.kde.org/D5139</a></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, mwolff<br /><strong>Cc: </strong>flherne, mwolff, kdevelop-devel, KDevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>