<table><tr><td style="">antonanikin retitled this revision from "problem_location_mode" to "Fix highlighting for problems with incomplete finalLocation".<br />antonanikin updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-pl4rsyndgiwasui/" rel="noreferrer">(Show Details)</a><br />antonanikin updated the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-va2wksil4alg7rh/" rel="noreferrer">(Show Details)</a><br />antonanikin added a reviewer: KDevelop.
</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/D3196" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">This patch fixes highlighting for problems, which has incomplete `finalLocation`. Many checkers produce only line number in the log, which makes impossible to set correct range for problem without parsing of checked source file. To fix this case we adds `LocationRangeMode` methods which allows to control highlighting process for such problems.</span></div></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">Tested on master branch with kdev-cppcheck plugin.<br />
<br />
Results (line 63):<br />
<br />
Original (old) behavior, ugly 1-symbol highlighting<br />
{F381274}<br />
<br />
New (improved behavior, with `TrimmedLine` mode<br />
{F381275}</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKDEVPLATFORM KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3196" rel="noreferrer">https://phabricator.kde.org/D3196</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>antonanikin, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>