Browse Source

don't show prefixes in completions

283
ThomasV 12 years ago
parent
commit
d4f2c4855f
  1. 2
      lib/qt_console.py

2
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] + '...'

Loading…
Cancel
Save