sort completions
This commit is contained in:
@@ -265,6 +265,7 @@ class Console(QtGui.QPlainTextEdit):
|
|||||||
xx = prefix + x
|
xx = prefix + x
|
||||||
if xx.startswith(lastword):
|
if xx.startswith(lastword):
|
||||||
completions.append(xx)
|
completions.append(xx)
|
||||||
|
completions.sort()
|
||||||
|
|
||||||
if not completions:
|
if not completions:
|
||||||
self.hide_completions()
|
self.hide_completions()
|
||||||
|
|||||||
Reference in New Issue
Block a user