commit d4f2c4855f435b59ec4ac2079d9dea8e00c2922d
parent 6b72d815c57ef9848e148583b4e2344993d5c680
Author: ThomasV <thomasv@gitorious>
Date: Sat, 23 Feb 2013 20:26:05 +0100
don't show prefixes in completions
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/qt_console.py b/lib/qt_console.py
@@ -71,6 +71,8 @@ class Console(QtGui.QPlainTextEdit):
c = self.textCursor()
c.setPosition(self.completions_pos)
+
+ completions = map(lambda x: x.split('.')[-1], completions)
t = '\n' + ' '.join(completions)
if len(t) > 500:
t = t[:500] + '...'