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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 12 Jun 2013 18:36:14 +0200
branch
5_3_x
changeset 2711
463ca742001d
parent 2706
a6a75232b636
child 2713
a90b27b36d1c

Fixed a serious issues in the Lexer.__init__.py module causing a traceback after a plug-in supplying several file filters was activated.
(grafted from 8c91d494ad06d86252f06329f562cc5026ae928a)

QScintilla/Lexers/__init__.py file | annotate | diff | comparison | revisions
diff -r a6a75232b636 -r 463ca742001d QScintilla/Lexers/__init__.py
--- a/QScintilla/Lexers/__init__.py	Sun Jun 09 12:46:32 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