<table><tr><td style="">mwolff updated this revision to Diff 31469.<br />mwolff 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/D11940">View Revision</a></tr></table><br /><div><div><p>fix a corner case where we miscalculated the inPrefixPath</p>
<p>segmentMatchDistance was off-by-one since pathIndex is decremented<br />
after the last match. Account for that to ensure that a path that's<br />
directly in the project root is not considered in the prefix path.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D11940?vs=31345&id=31469">https://phabricator.kde.org/D11940?vs=31345&id=31469</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11940">https://phabricator.kde.org/D11940</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/language/interfaces/abbreviations.cpp<br />
kdevplatform/language/interfaces/abbreviations.h<br />
kdevplatform/language/interfaces/quickopenfilter.h<br />
plugins/quickopen/projectfilequickopen.h<br />
plugins/quickopen/tests/quickopentestbase.h<br />
plugins/quickopen/tests/test_quickopen.cpp</div></div></div><br /><div><strong>To: </strong>mwolff<br /><strong>Cc: </strong>kdevelop-devel<br /></div>