diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2019-07-13 14:12:28 +0200 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2019-07-23 10:20:17 +0000 |
commit | b5a82a4d58551c7e94b56a7edaeb56166a102fc8 (patch) | |
tree | 16e7b33788e44191688fcdab7f391fbc1353f448 /src/plugins/diffeditor/diffview.cpp | |
parent | 20cccf53ae12f707a6341c0550d106cc0970e229 (diff) | |
download | qt-creator-b5a82a4d58551c7e94b56a7edaeb56166a102fc8.tar.gz |
GenericProposalModel: Allow substring matches
So far, if we had these three functions:
int getSomething() { return 44; }
int get_something() { return 43; }
int something() { return 42; }
then we did not get a completion for getSomething()
or get_something() if we just typed "some", as only
the prefix was taken into account.
This patch adds support for substring matches, and
adds these with lower priority to the proposal list.
Task-number: QTCREATORBUG-19170
Fixes: QTCREATORBUG-19918
Change-Id: Ifc5e2149e4b1fa995f1f8550efc84e7ff4fb1522
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/diffeditor/diffview.cpp')
0 files changed, 0 insertions, 0 deletions