Show More
@@ -292,15 +292,10 b' def completions_sorting_key(word):' | |||
|
292 | 292 | |
|
293 | 293 | This does several things: |
|
294 | 294 | |
|
295 | - Lowercase all completions, so they are sorted alphabetically with | |
|
296 | upper and lower case words mingled | |
|
297 | 295 | - Demote any completions starting with underscores to the end |
|
298 | 296 | - Insert any %magic and %%cellmagic completions in the alphabetical order |
|
299 | 297 | by their name |
|
300 | 298 | """ |
|
301 | # Case insensitive sort | |
|
302 | word = word.lower() | |
|
303 | ||
|
304 | 299 | prio1, prio2 = 0, 0 |
|
305 | 300 | |
|
306 | 301 | if word.startswith('__'): |
General Comments 0
You need to be logged in to leave comments.
Login now