<table><tr><td style="">ahmadsamir created this revision.<br />ahmadsamir added reviewers: KTextEditor, KDevelop, cullmann, dhaumann, brauch.<br />Herald added projects: Kate, Frameworks.<br />ahmadsamir 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/D22500">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Change KateKeywordCompletionModel::matchingItem to return<br />
HideListIfAutomaticInvocation so that the completions menu is hidden for<br />
typed keywords, e.g. typing "return" the menu get auto hidden.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Enable keyword completion in kate</li>
<li class="remarkup-list-item">Open a file and change the mode to a language where return is a keyword say C++</li>
<li class="remarkup-list-item">Type "return", check that when the word is fully typed the completions menu is hidden</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>BRANCH</strong><div><div>ahmad/keyword-auto-completion (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22500">https://phabricator.kde.org/D22500</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/completion/katekeywordcompletion.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, KTextEditor, KDevelop, cullmann, dhaumann, brauch<br /><strong>Cc: </strong>kde-frameworks-devel, kwrite-devel, LeGast00n, sbergeron, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>