QScintilla/Lexers/LexerPygments.py

changeset 45
9a18f4dbb493
parent 13
1af94a91f439
child 97
c4086afea02b
--- a/QScintilla/Lexers/LexerPygments.py	Sun Jan 10 13:59:15 2010 +0000
+++ b/QScintilla/Lexers/LexerPygments.py	Sun Jan 10 19:19:52 2010 +0000
@@ -343,7 +343,6 @@
         if self.editor is None:
             return True
         
-##        text = self.editor.text().encode('utf-8')
         text = self.editor.text()
         self.__lexer = self.__guessLexer(text)
         
@@ -367,7 +366,6 @@
         @param start position of first character to be styled (integer)
         @param end position of last character to be styled (integer)
         """
-##        text = self.editor.text()[:end + 1].encode('utf-8')
         text = self.editor.text()[:end + 1]
         self.__lexer = self.__guessLexer(text)
         

eric ide

mercurial