QScintilla/MiniEditor.py

changeset 97
c4086afea02b
parent 55
b5c84934de9c
child 163
8f0630371845
--- a/QScintilla/MiniEditor.py	Sun Jan 31 17:11:22 2010 +0000
+++ b/QScintilla/MiniEditor.py	Sun Jan 31 18:31:28 2010 +0000
@@ -7,7 +7,6 @@
 Module implementing a minimalistic editor for simple editing tasks.
 """
 
-import sys
 import os
 import re
 
@@ -15,11 +14,10 @@
 from PyQt4.QtGui import *
 from PyQt4.Qsci import QsciScintilla
 
-from E5Gui.E5Application import e5App
 from E5Gui.E5Action import E5Action, createActionGroup
 
 from . import Lexers
-from .QsciScintillaCompat import QsciScintillaCompat, QSCINTILLA_VERSION
+from .QsciScintillaCompat import QsciScintillaCompat
 from .SearchReplaceWidget import SearchReplaceWidget
 
 import UI.PixmapCache
@@ -2077,9 +2075,9 @@
         
         # now set the lexer properties
         self.lexer_.initProperties()
-        
-        # initialize the auto indent style of the lexer
-        ais = self.lexer_.autoIndentStyle()
+##        
+##        # initialize the auto indent style of the lexer
+##        ais = self.lexer_.autoIndentStyle()
         
     def __styleNeeded(self, position):
         """
@@ -2297,4 +2295,4 @@
         fileEol = self.__textEdit.detectEolString(txt)
         self.__textEdit.setEolModeByEolString(fileEol)
         
-        self.__textEdit.setModified(False)
\ No newline at end of file
+        self.__textEdit.setModified(False)

eric ide

mercurial