Documentation/Source/eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html

changeset 2878
61042247f793
parent 2876
bfa39cf40277
child 2885
7adb2d9880be
--- a/Documentation/Source/eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html	Sat Aug 31 15:21:28 2013 +0200
+++ b/Documentation/Source/eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html	Sat Aug 31 17:57:30 2013 +0200
@@ -66,6 +66,9 @@
 <td><a href="#Pep8Fixer.__init__">Pep8Fixer</a></td>
 <td>Constructor</td>
 </tr><tr>
+<td><a href="#Pep8Fixer.__codeMatch">__codeMatch</a></td>
+<td>Private method to check, if the code should be fixed.</td>
+</tr><tr>
 <td><a href="#Pep8Fixer.__finalize">__finalize</a></td>
 <td>Private method to apply all deferred fixes.</td>
 </tr><tr>
@@ -168,6 +171,9 @@
 <td><a href="#Pep8Fixer.fixIssue">fixIssue</a></td>
 <td>Public method to fix the fixable issues.</td>
 </tr><tr>
+<td><a href="#Pep8Fixer.mutualStartswith">mutualStartswith</a></td>
+<td>Local helper method to compare the beginnings of two strings against each other.</td>
+</tr><tr>
 <td><a href="#Pep8Fixer.saveFile">saveFile</a></td>
 <td>Public method to save the modified file.</td>
 </tr>
@@ -207,6 +213,21 @@
 <dd>
 flag indicating to modify the file in place (boolean)
 </dd>
+</dl><a NAME="Pep8Fixer.__codeMatch" ID="Pep8Fixer.__codeMatch"></a>
+<h4>Pep8Fixer.__codeMatch</h4>
+<b>__codeMatch</b>(<i>code</i>)
+<p>
+        Private method to check, if the code should be fixed.
+</p><dl>
+<dt><i>code</i></dt>
+<dd>
+to check (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating it should be fixed (boolean)
+</dd>
 </dl><a NAME="Pep8Fixer.__finalize" ID="Pep8Fixer.__finalize"></a>
 <h4>Pep8Fixer.__finalize</h4>
 <b>__finalize</b>(<i></i>)
@@ -956,6 +977,18 @@
 flag indicating an applied fix (boolean) and a message for
             the fix (string)
 </dd>
+</dl><a NAME="Pep8Fixer.mutualStartswith" ID="Pep8Fixer.mutualStartswith"></a>
+<h4>Pep8Fixer.mutualStartswith</h4>
+<b>mutualStartswith</b>(<i>b</i>)
+<p>
+            Local helper method to compare the beginnings of two strings
+            against each other.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating that one string starts with the other
+                (boolean)
+</dd>
 </dl><a NAME="Pep8Fixer.saveFile" ID="Pep8Fixer.saveFile"></a>
 <h4>Pep8Fixer.saveFile</h4>
 <b>saveFile</b>(<i>encoding</i>)

eric ide

mercurial