Advanced completion list filtering: abbreviation and "contains" matching
author Sven Brauch
()
committer Sven Brauch
()
commit 7abaa315dc7726e5e5b5a8642c2721c04c55d5ef
tree 66b1d443eaa9fef19172aaf6a4092389b762287b
parent 5ce2aa29f17a0b6be35ebeb31ea82e475cc8ddc3
Advanced completion list filtering: abbreviation and "contains" matching

When filtering the completion list by typing, instead of just looking at
the start of the word two other types of items can be matched:
- items containing the word, if what is typed is contained in the item
at a sub-word beginning (marked by an underscore or a capital)
- items which could be abbreviated by what was typed, e.g. FooBarBaz
will be matched by "fbb"
The "old" type of match is always sorted first in the completion list,
so no disruption of existing workflows should occur.

REVIEW:112787
DIGEST:
part/completion/katecompletionmodel.cpp
part/completion/katecompletionmodel.h
tests/codecompletiontestmodel.cpp
tests/codecompletiontestmodel.h
tests/completion_test.cpp
tests/completion_test.h