Browse Source

sort completions

283
thomasv 12 years ago
parent
commit
338b004ab3
  1. 1
      lib/qt_console.py

1
lib/qt_console.py

@ -265,6 +265,7 @@ class Console(QtGui.QPlainTextEdit):
xx = prefix + x
if xx.startswith(lastword):
completions.append(xx)
completions.sort()
if not completions:
self.hide_completions()

Loading…
Cancel
Save