QScintilla/Shell.py

changeset 97
c4086afea02b
parent 55
b5c84934de9c
child 128
13e96bd0f5a5
--- a/QScintilla/Shell.py	Sun Jan 31 17:11:22 2010 +0000
+++ b/QScintilla/Shell.py	Sun Jan 31 18:31:28 2010 +0000
@@ -17,12 +17,12 @@
 from E5Gui.E5Application import e5App
 
 from . import Lexers
-from .QsciScintillaCompat import QsciScintillaCompat, QSCINTILLA_VERSION
+from .QsciScintillaCompat import QsciScintillaCompat
 
 import Preferences
 import UI.PixmapCache
 
-from Debugger.DebugClientCapabilities import HasShell, HasCompleter
+from Debugger.DebugClientCapabilities import HasCompleter
 
 from .ShellHistoryDialog import ShellHistoryDialog
 
@@ -735,7 +735,6 @@
         @param ev key event (QKeyEvent)
         """
         txt = ev.text()
-        key = ev.key()
         
         # See it is text to insert.
         if len(txt) and txt >= " ":
@@ -1429,4 +1428,4 @@
         """
         Private method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences("shellPage")
\ No newline at end of file
+        e5App().getObject("UserInterface").showPreferences("shellPage")

eric ide

mercurial