Fixed a serious issues in the Lexer.__init__.py module causing a traceback after a plug-in supplying several file filters was activated.

Wed, 12 Jun 2013 18:36:14 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 12 Jun 2013 18:36:14 +0200
changeset 2710
8c91d494ad06
parent 2709
bed2b6eef2a0
child 2712
4354ab0b67c7

Fixed a serious issues in the Lexer.__init__.py module causing a traceback after a plug-in supplying several file filters was activated.

QScintilla/Lexers/__init__.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Lexers/__init__.py	Sun Jun 09 22:23:52 2013 +0200
+++ b/QScintilla/Lexers/__init__.py	Wed Jun 12 18:36:14 2013 +0200
@@ -406,7 +406,7 @@
         ])
     
     for name in LexerRegistry:
-        openFileFiltersList.append(LexerRegistry[name][3])
+        openFileFiltersList.extend(LexerRegistry[name][3])
     
     if withAdditional:
         openFileFiltersList.extend(Preferences.getEditor("AdditionalOpenFilters"))
@@ -543,7 +543,7 @@
         ])
     
     for name in LexerRegistry:
-        saveFileFiltersList.append(LexerRegistry[name][4])
+        saveFileFiltersList.extend(LexerRegistry[name][4])
     
     if withAdditional:
         saveFileFiltersList.extend(Preferences.getEditor("AdditionalSaveFilters"))

eric ide

mercurial