Fixed an issue in the editor applying templates.

Tue, 20 Mar 2012 19:47:18 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Mar 2012 19:47:18 +0100
changeset 1723
6e690a8f5971
parent 1721
1dc3370687a5
child 1725
d7a3430f7cbf

Fixed an issue in the editor applying templates.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Tue Mar 20 19:40:18 2012 +0100
+++ b/QScintilla/Editor.py	Tue Mar 20 19:47:18 2012 +0100
@@ -5820,7 +5820,7 @@
             if tmplName:
                 if e5App().getObject("TemplateViewer").hasTemplate(
                         tmplName, self.getLanguage()):
-                    self.__applyTemplate(tmplName)
+                    self.__applyTemplate(tmplName, self.getLanguage())
                     return
                 else:
                     templateNames = \

eric ide

mercurial