eric6/Documentation/Source/eric6.Templates.TemplateViewer.html

changeset 8049
af58c1d47e5e
parent 7989
a21d673a8f99
--- a/eric6/Documentation/Source/eric6.Templates.TemplateViewer.html	Mon Feb 01 16:04:34 2021 +0100
+++ b/eric6/Documentation/Source/eric6.Templates.TemplateViewer.html	Mon Feb 01 16:06:23 2021 +0100
@@ -764,7 +764,7 @@
 </tr>
 <tr>
 <td><a href="#TemplateViewer.writeTemplates">writeTemplates</a></td>
-<td>Public method to write the templates data to an XML file (.e4c).</td>
+<td>Public method to write the templates data to a JSON file (.ecj).</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
@@ -1147,9 +1147,9 @@
 </p>
 <dl>
 
-<dt><i>filename</i></dt>
+<dt><i>filename</i> (str)</dt>
 <dd>
-name of a templates file to read (string)
+name of a templates file to read
 </dd>
 </dl>
 <a NAME="TemplateViewer.removeEntry" ID="TemplateViewer.removeEntry"></a>
@@ -1192,19 +1192,25 @@
 <b>writeTemplates</b>(<i>filename=None</i>)
 
 <p>
-        Public method to write the templates data to an XML file (.e4c).
+        Public method to write the templates data to a JSON file (.ecj).
 </p>
 <dl>
 
-<dt><i>filename</i></dt>
+<dt><i>filename</i> (str)</dt>
 <dd>
-name of a templates file to read (string)
+name of a templates file to write
 </dd>
 </dl>
 <dl>
 <dt>Return:</dt>
 <dd>
-flag indicating success (boolean)
+flag indicating success
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial