• Nikolai Kosjar's avatar
    Locator: Case sensitivity of input affects prioritizing · ef018ddd
    Nikolai Kosjar authored
    So far candidates were prefix matched case sensitive which led to
    an unfavorable results order.
    With this patch, if the input is lower case, the prioritizing happens by
    a case insensitive prefix match. Otherwise the match happens case
    sensitive (just like before).
        Search for e.g. "m cppmodelmanager"
        Top result before: AbstractEditorSupport (match at parameter type)
        Top result now: CppModelManager
    Change-Id: Ic27042cfe717be812a2237a3437399597c98dd74
    Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
    Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
cpplocatorfilter_test.cpp 9.54 KB