diff options
author | Ian Thompson <quornian@googlemail.com> | 2008-07-15 21:03:59 +0400 |
---|---|---|
committer | Ian Thompson <quornian@googlemail.com> | 2008-07-15 21:03:59 +0400 |
commit | 512eec04aa239d49ea655151cdd34ba5d754c466 (patch) | |
tree | 8145bb631d55a08a9b81e97e51d571aa0ef39aa0 /release | |
parent | 9037159d7a5d2e114174e77ca1e763c68de14b44 (diff) |
Made suggestions case-insensitive which also puts _ prefixed items at the bottom. Improvements have also been made to the way the list works, when it should disappear/update/confirm, etc.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/bpymodules/BPyTextPlugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/bpymodules/BPyTextPlugin.py b/release/scripts/bpymodules/BPyTextPlugin.py index 2489c22f600..44038cfc3f6 100644 --- a/release/scripts/bpymodules/BPyTextPlugin.py +++ b/release/scripts/bpymodules/BPyTextPlugin.py @@ -26,7 +26,7 @@ def suggest_cmp(x, y): """Use this method when sorting a list of suggestions. """ - return cmp(x[0], y[0]) + return cmp(x[0].upper(), y[0].upper()) def cached_generate_tokens(txt, since=1): """A caching version of generate tokens for multiple parsing of the same |