QScintilla/Terminal.py

changeset 2084
d3f083dd0222
parent 2077
68a34718a0ce
child 2302
f29e9405c851
--- a/QScintilla/Terminal.py	Mon Oct 01 19:43:54 2012 +0200
+++ b/QScintilla/Terminal.py	Mon Oct 01 19:44:40 2012 +0200
@@ -17,7 +17,7 @@
     QWidget, QHBoxLayout, QShortcut
 from PyQt4.Qsci import QsciScintilla
 
-from E5Gui.E5Application import e5App, E5Application
+from E5Gui.E5Application import e5App
 
 from . import Lexers
 from .QsciScintillaCompat import QsciScintillaCompat
@@ -379,7 +379,7 @@
                 Preferences.getEditorColour("SelectionBackground"))
         else:
             self.setSelectionBackgroundColor(
-                E5Application.palette().color(QPalette.Highlight))
+                QApplication.palette().color(QPalette.Highlight))
         if Preferences.getEditor("ColourizeSelText"):
             self.resetSelectionForegroundColor()
         elif Preferences.getEditor("CustomSelectionColours"):
@@ -387,7 +387,7 @@
                 Preferences.getEditorColour("SelectionForeground"))
         else:
             self.setSelectionForegroundColor(
-                E5Application.palette().color(QPalette.HighlightedText))
+                QApplication.palette().color(QPalette.HighlightedText))
         self.setSelectionToEol(Preferences.getEditor("ExtendSelectionToEol"))
         self.setCaretForegroundColor(
             Preferences.getEditorColour("CaretForeground"))

eric ide

mercurial