Fixed an issue in the editor applying templates. 5_2_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Mar 2012 19:47:18 +0100
branch
5_2_x
changeset 1724
361b8dea9251
parent 1722
267dc49092c4
child 1728
47aefd5dc62f

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
@@ -5816,7 +5816,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