diff options
author | Francois Ferrand <thetypz@gmail.com> | 2012-06-21 11:29:39 +0200 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2012-06-28 16:09:20 +0200 |
commit | 0b12ed143e1a247fa34b2fffbf7262d104c97b9d (patch) | |
tree | d68c3743b98b2f66eabf63a8280543aaddbad988 /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | ded2dd12b84e67712e2bc5e0c8c0f392fa2479a6 (diff) | |
download | qt-creator-0b12ed143e1a247fa34b2fffbf7262d104c97b9d.tar.gz |
[CodeAssist] Logical sort of proposals.
Improve the sorting of proposals, so that "logical" sort is used: if there are
numeric parts in the strings, these are compared as numbers instead of purely
lexicographically.
Thus, the list: [item1, item10, item1b, item2]
gets sorted as: [item1, item1b, item2, item10]
Change-Id: I16a0106d9dc9bb27731f96c3f180ad20cd9a44f5
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions