Documentation/Source/eric5.QScintilla.Editor.html

branch
Py2 comp.
changeset 3456
96232974dcdb
parent 3155
7e10d00e27ca
parent 3209
c5432abceb25
child 3484
645c12de6b0c
--- a/Documentation/Source/eric5.QScintilla.Editor.html	Sun Jan 05 23:22:17 2014 +0100
+++ b/Documentation/Source/eric5.QScintilla.Editor.html	Sun Mar 30 22:00:14 2014 +0200
@@ -419,6 +419,9 @@
 <td><a href="#Editor.__processRequestSyncCommand">__processRequestSyncCommand</a></td>
 <td>Private slot to process a remote RequestSync command.</td>
 </tr><tr>
+<td><a href="#Editor.__processResult">__processResult</a></td>
+<td>Slot to report the resulting messages.</td>
+</tr><tr>
 <td><a href="#Editor.__processStartEditCommand">__processStartEditCommand</a></td>
 <td>Private slot to process a remote StartEdit command.</td>
 </tr><tr>
@@ -770,6 +773,9 @@
 <td><a href="#Editor.getNoName">getNoName</a></td>
 <td>Public method to get the display string for an unnamed editor.</td>
 </tr><tr>
+<td><a href="#Editor.getPyVersion">getPyVersion</a></td>
+<td>Public methode to return the Python main version (2 or 3) or 0 if it's not a Python file at all.</td>
+</tr><tr>
 <td><a href="#Editor.getSearchText">getSearchText</a></td>
 <td>Public method to determine the selection or the current word for the next search operation.</td>
 </tr><tr>
@@ -2001,6 +2007,22 @@
 <dd>
 string containing the command parameters (string)
 </dd>
+</dl><a NAME="Editor.__processResult" ID="Editor.__processResult"></a>
+<h4>Editor.__processResult</h4>
+<b>__processResult</b>(<i>fn, problems</i>)
+<p>
+        Slot to report the resulting 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="Editor.__processStartEditCommand" ID="Editor.__processStartEditCommand"></a>
 <h4>Editor.__processStartEditCommand</h4>
 <b>__processStartEditCommand</b>(<i>argsString</i>)
@@ -2947,6 +2969,17 @@
 <dd>
 display string for this unnamed editor (string)
 </dd>
+</dl><a NAME="Editor.getPyVersion" ID="Editor.getPyVersion"></a>
+<h4>Editor.getPyVersion</h4>
+<b>getPyVersion</b>(<i></i>)
+<p>
+        Public methode to return the Python main version (2 or 3) or 0 if it's
+        not a Python file at all.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+Python version (2 or 3) or 0 if it's not a Python file (int)
+</dd>
 </dl><a NAME="Editor.getSearchText" ID="Editor.getSearchText"></a>
 <h4>Editor.getSearchText</h4>
 <b>getSearchText</b>(<i>selectionOnly=False</i>)
@@ -3817,7 +3850,7 @@
 </dd>
 </dl><a NAME="Editor.toggleWarning" ID="Editor.toggleWarning"></a>
 <h4>Editor.toggleWarning</h4>
-<b>toggleWarning</b>(<i>line, warning, msg="", warningType=WarningCode</i>)
+<b>toggleWarning</b>(<i>line, col, warning, msg="", warningType=WarningCode</i>)
 <p>
         Public method to toggle a warning indicator.
 </p><p>
@@ -3826,6 +3859,9 @@
 <dt><i>line</i></dt>
 <dd>
 line number of the warning
+</dd><dt><i>col</i></dt>
+<dd>
+column of the warning
 </dd><dt><i>warning</i></dt>
 <dd>
 flag indicating if the warning marker should be

eric ide

mercurial