LexerPython: fixed an issue where keywords got used before it was defined.

Mon, 18 Mar 2019 19:07:10 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 18 Mar 2019 19:07:10 +0100
changeset 6877
da5d6c7d5348
parent 6876
af2ae79e03b3
child 6878
79008f970902

LexerPython: fixed an issue where keywords got used before it was defined.

QScintilla/Lexers/LexerPython.py file | annotate | diff | comparison | revisions
diff -r af2ae79e03b3 -r da5d6c7d5348 QScintilla/Lexers/LexerPython.py
--- a/QScintilla/Lexers/LexerPython.py	Sun Mar 17 19:38:42 2019 +0100
+++ b/QScintilla/Lexers/LexerPython.py	Mon Mar 18 19:07:10 2019 +0100
@@ -236,6 +236,8 @@
                             "cimport cpdef")
             else:
                 keywords = QsciLexerPython.keywords(self, kwSet)
+        else:
+            keywords = QsciLexerPython.keywords(self, kwSet)
         
         return keywords
     

eric ide

mercurial