Documentation/Source/eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.html

branch
Py2 comp.
changeset 3456
96232974dcdb
parent 3175
1a6638ccce9d
parent 3209
c5432abceb25
child 3591
2f2a4a76dd22
--- a/Documentation/Source/eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.html	Sun Jan 05 23:22:17 2014 +0100
+++ b/Documentation/Source/eric5.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog.html	Sun Mar 30 22:00:14 2014 +0200
@@ -69,9 +69,15 @@
 <td><a href="#SyntaxCheckerDialog.__finish">__finish</a></td>
 <td>Private slot called when the syntax check finished or the user pressed the button.</td>
 </tr><tr>
+<td><a href="#SyntaxCheckerDialog.__processResult">__processResult</a></td>
+<td>Slot to display the reported messages.</td>
+</tr><tr>
 <td><a href="#SyntaxCheckerDialog.__resort">__resort</a></td>
 <td>Private method to resort the tree.</td>
 </tr><tr>
+<td><a href="#SyntaxCheckerDialog.check">check</a></td>
+<td>Start a check for one file.</td>
+</tr><tr>
 <td><a href="#SyntaxCheckerDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
 <td>Private slot called by a button of the button box clicked.</td>
 </tr><tr>
@@ -147,12 +153,40 @@
 <p>
         Private slot called when the syntax check finished or the user
         pressed the button.
-</p><a NAME="SyntaxCheckerDialog.__resort" ID="SyntaxCheckerDialog.__resort"></a>
+</p><a NAME="SyntaxCheckerDialog.__processResult" ID="SyntaxCheckerDialog.__processResult"></a>
+<h4>SyntaxCheckerDialog.__processResult</h4>
+<b>__processResult</b>(<i>fn, problems</i>)
+<p>
+        Slot to display the reported messages.
+</p><dl>
+<dt><i>fn</i></dt>
+<dd>
+filename of the checked file (str)
+</dd><dt><i>problems</i></dt>
+<dd>
+dictionary with the keys 'error' and 'warnings' which
+            hold a list containing details about the error/ warnings
+            (file name, line number, column, codestring (only at syntax
+            errors), the message) (dict)
+</dd>
+</dl><a NAME="SyntaxCheckerDialog.__resort" ID="SyntaxCheckerDialog.__resort"></a>
 <h4>SyntaxCheckerDialog.__resort</h4>
 <b>__resort</b>(<i></i>)
 <p>
         Private method to resort the tree.
-</p><a NAME="SyntaxCheckerDialog.on_buttonBox_clicked" ID="SyntaxCheckerDialog.on_buttonBox_clicked"></a>
+</p><a NAME="SyntaxCheckerDialog.check" ID="SyntaxCheckerDialog.check"></a>
+<h4>SyntaxCheckerDialog.check</h4>
+<b>check</b>(<i>codestring=''</i>)
+<p>
+        Start a check for one file.
+</p><p>
+        The results are reported to the __processResult slot.
+</p><dl>
+<dt><i>codestring=</i></dt>
+<dd>
+optional sourcestring (str)
+</dd>
+</dl><a NAME="SyntaxCheckerDialog.on_buttonBox_clicked" ID="SyntaxCheckerDialog.on_buttonBox_clicked"></a>
 <h4>SyntaxCheckerDialog.on_buttonBox_clicked</h4>
 <b>on_buttonBox_clicked</b>(<i>button</i>)
 <p>
@@ -211,7 +245,7 @@
 </dd><dt><i>codestring</i></dt>
 <dd>
 string containing the code to be checked (string).
-            If this is given, file must be a single file name.
+            If this is given, fn must be a single file name.
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial