src/eric7/Documentation/Source/eric7.QScintilla.Editor.html

branch
eric7
changeset 9454
f3cf935c0c66
parent 9338
e7e6c61805cf
child 9643
10839ab864e0
diff -r e5065dde905d -r f3cf935c0c66 src/eric7/Documentation/Source/eric7.QScintilla.Editor.html
--- a/src/eric7/Documentation/Source/eric7.QScintilla.Editor.html	Mon Oct 31 15:29:18 2022 +0100
+++ b/src/eric7/Documentation/Source/eric7.QScintilla.Editor.html	Mon Oct 31 15:34:41 2022 +0100
@@ -603,6 +603,10 @@
 <td>Private method to format the source code using the 'Black' tool.</td>
 </tr>
 <tr>
+<td><a href="#Editor.__performImportSortingWithIsort">__performImportSortingWithIsort</a></td>
+<td>Private method to sort the import statements using the 'isort' tool.</td>
+</tr>
+<tr>
 <td><a href="#Editor.__popupDocstringMenu">__popupDocstringMenu</a></td>
 <td>Private slot to pop up a menu asking the user, if a docstring should be inserted.</td>
 </tr>
@@ -3300,6 +3304,30 @@
 formatting operation to be performed
 </dd>
 </dl>
+<a NAME="Editor.__performImportSortingWithIsort" ID="Editor.__performImportSortingWithIsort"></a>
+<h4>Editor.__performImportSortingWithIsort</h4>
+<b>__performImportSortingWithIsort</b>(<i>action</i>)
+
+<p>
+        Private method to sort the import statements using the 'isort' tool.
+</p>
+<p>
+        Following actions are supported.
+        <ul>
+        <li>IsortFormattingAction.Sort - the import statement sorting is performed</li>
+        <li>IsortFormattingAction.Check - a check is performed, if import statement
+            resorting is necessary</li>
+        <li>IsortFormattingAction.Diff - a unified diff of potential import statement
+            changes is generated</li>
+        </ul>
+</p>
+<dl>
+
+<dt><i>action</i> (IsortFormattingAction)</dt>
+<dd>
+sorting operation to be performed
+</dd>
+</dl>
 <a NAME="Editor.__popupDocstringMenu" ID="Editor.__popupDocstringMenu"></a>
 <h4>Editor.__popupDocstringMenu</h4>
 <b>__popupDocstringMenu</b>(<i>lastLineText, lastCursorPosition</i>)

eric ide

mercurial