##// END OF EJS Templates
Re-enabled case-sensitive sorting of completions
jlstevens -
Show More
@@ -292,15 +292,10 b' def completions_sorting_key(word):'
292
292
293 This does several things:
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 - Demote any completions starting with underscores to the end
295 - Demote any completions starting with underscores to the end
298 - Insert any %magic and %%cellmagic completions in the alphabetical order
296 - Insert any %magic and %%cellmagic completions in the alphabetical order
299 by their name
297 by their name
300 """
298 """
301 # Case insensitive sort
302 word = word.lower()
303
304 prio1, prio2 = 0, 0
299 prio1, prio2 = 0, 0
305
300
306 if word.startswith('__'):
301 if word.startswith('__'):
General Comments 0
You need to be logged in to leave comments. Login now