Documentation/Source/eric6.QScintilla.Shell.html

changeset 6576
ea60ea85067a
parent 6573
ccac2d1f6858
child 6580
082d58e2415e
--- a/Documentation/Source/eric6.QScintilla.Shell.html	Sat Nov 03 14:16:43 2018 +0100
+++ b/Documentation/Source/eric6.QScintilla.Shell.html	Sat Nov 03 14:19:21 2018 +0100
@@ -239,6 +239,12 @@
 <td><a href="#Shell.__middleMouseButton">__middleMouseButton</a></td>
 <td>Private method to handle the middle mouse button press.</td>
 </tr><tr>
+<td><a href="#Shell.__projectClosed">__projectClosed</a></td>
+<td>Private slot to restart the default shell when the project is closed.</td>
+</tr><tr>
+<td><a href="#Shell.__projectOpened">__projectOpened</a></td>
+<td>Private slot to start the shell for the opened project.</td>
+</tr><tr>
 <td><a href="#Shell.__raw_input">__raw_input</a></td>
 <td>Private method to handle raw input.</td>
 </tr><tr>
@@ -287,8 +293,8 @@
 <td><a href="#Shell.__showCompletions">__showCompletions</a></td>
 <td>Private method to display the possible completions.</td>
 </tr><tr>
-<td><a href="#Shell.__showLanguageMenu">__showLanguageMenu</a></td>
-<td>Private slot to prepare the language submenu.</td>
+<td><a href="#Shell.__showStartMenu">__showStartMenu</a></td>
+<td>Private slot to prepare the start submenu.</td>
 </tr><tr>
 <td><a href="#Shell.__startDebugClient">__startDebugClient</a></td>
 <td>Private slot to start a debug client according to the action triggered.</td>
@@ -426,23 +432,25 @@
 </table>
 <a NAME="Shell.__init__" ID="Shell.__init__"></a>
 <h4>Shell (Constructor)</h4>
-<b>Shell</b>(<i>dbs, vm, windowedVariant, parent=None</i>)
+<b>Shell</b>(<i>dbs, vm, project, windowedVariant, parent=None</i>)
 <p>
         Constructor
 </p><dl>
-<dt><i>dbs</i></dt>
+<dt><i>dbs</i> (DebugServer)</dt>
 <dd>
 reference to the debug server object
-</dd><dt><i>vm</i></dt>
+</dd><dt><i>vm</i> (ViewManager)</dt>
 <dd>
 reference to the viewmanager object
-</dd><dt><i>windowedVariant</i></dt>
+</dd><dt><i>project</i> (Project)</dt>
+<dd>
+reference to the project object
+</dd><dt><i>windowedVariant</i> (bool)</dt>
 <dd>
 flag indicating the shell window variant
-            (boolean)
-</dd><dt><i>parent</i></dt>
+</dd><dt><i>parent</i> (QWidget)</dt>
 <dd>
-parent widget (QWidget)
+parent widget
 </dd>
 </dl><a NAME="Shell.__QScintillaAutoCompletionCommand" ID="Shell.__QScintillaAutoCompletionCommand"></a>
 <h4>Shell.__QScintillaAutoCompletionCommand</h4>
@@ -676,16 +684,19 @@
         Private method to clear the line containing the cursor.
 </p><a NAME="Shell.__clientCapabilities" ID="Shell.__clientCapabilities"></a>
 <h4>Shell.__clientCapabilities</h4>
-<b>__clientCapabilities</b>(<i>cap, clType</i>)
+<b>__clientCapabilities</b>(<i>cap, clType, venvName</i>)
 <p>
         Private slot to handle the reporting of the clients capabilities.
 </p><dl>
-<dt><i>cap</i></dt>
+<dt><i>cap</i> (int)</dt>
+<dd>
+client capabilities
+</dd><dt><i>clType</i> (str)</dt>
 <dd>
-client capabilities (integer)
-</dd><dt><i>clType</i></dt>
+type of the debug client
+</dd><dt><i>venvName</i> (str)</dt>
 <dd>
-type of the debug client (string)
+name of the virtual environment
 </dd>
 </dl><a NAME="Shell.__clientError" ID="Shell.__clientError"></a>
 <h4>Shell.__clientError</h4>
@@ -921,6 +932,16 @@
 <b>__middleMouseButton</b>(<i></i>)
 <p>
         Private method to handle the middle mouse button press.
+</p><a NAME="Shell.__projectClosed" ID="Shell.__projectClosed"></a>
+<h4>Shell.__projectClosed</h4>
+<b>__projectClosed</b>(<i></i>)
+<p>
+        Private slot to restart the default shell when the project is closed.
+</p><a NAME="Shell.__projectOpened" ID="Shell.__projectOpened"></a>
+<h4>Shell.__projectOpened</h4>
+<b>__projectOpened</b>(<i></i>)
+<p>
+        Private slot to start the shell for the opened project.
 </p><a NAME="Shell.__raw_input" ID="Shell.__raw_input"></a>
 <h4>Shell.__raw_input</h4>
 <b>__raw_input</b>(<i>s, echo</i>)
@@ -1075,11 +1096,11 @@
 <dd>
 text that is about to be completed (string)
 </dd>
-</dl><a NAME="Shell.__showLanguageMenu" ID="Shell.__showLanguageMenu"></a>
-<h4>Shell.__showLanguageMenu</h4>
-<b>__showLanguageMenu</b>(<i></i>)
+</dl><a NAME="Shell.__showStartMenu" ID="Shell.__showStartMenu"></a>
+<h4>Shell.__showStartMenu</h4>
+<b>__showStartMenu</b>(<i></i>)
 <p>
-        Private slot to prepare the language submenu.
+        Private slot to prepare the start submenu.
 </p><a NAME="Shell.__startDebugClient" ID="Shell.__startDebugClient"></a>
 <h4>Shell.__startDebugClient</h4>
 <b>__startDebugClient</b>(<i>action</i>)
@@ -1108,19 +1129,22 @@
 </dd>
 </dl><a NAME="Shell.__writeBanner" ID="Shell.__writeBanner"></a>
 <h4>Shell.__writeBanner</h4>
-<b>__writeBanner</b>(<i>version, platform, dbgclient</i>)
+<b>__writeBanner</b>(<i>version, platform, dbgclient, venvName</i>)
 <p>
         Private method to write a banner with info from the debug client.
 </p><dl>
-<dt><i>version</i></dt>
+<dt><i>version</i> (str)</dt>
 <dd>
-interpreter version string (string)
-</dd><dt><i>platform</i></dt>
+interpreter version string
+</dd><dt><i>platform</i> (str)</dt>
 <dd>
-platform of the remote interpreter (string)
-</dd><dt><i>dbgclient</i></dt>
+platform of the remote interpreter
+</dd><dt><i>dbgclient</i> (str)</dt>
 <dd>
-debug client variant used (string)
+debug client variant used
+</dd><dt><i>venvName</i> (str)</dt>
+<dd>
+name of the virtual environment
 </dd>
 </dl><a NAME="Shell.__writePrompt" ID="Shell.__writePrompt"></a>
 <h4>Shell.__writePrompt</h4>
@@ -1562,22 +1586,25 @@
 </table>
 <a NAME="ShellAssembly.__init__" ID="ShellAssembly.__init__"></a>
 <h4>ShellAssembly (Constructor)</h4>
-<b>ShellAssembly</b>(<i>dbs, vm, horizontal=True, parent=None</i>)
+<b>ShellAssembly</b>(<i>dbs, vm, project, horizontal=True, parent=None</i>)
 <p>
         Constructor
 </p><dl>
-<dt><i>dbs</i></dt>
+<dt><i>dbs</i> (DebugServer)</dt>
 <dd>
 reference to the debug server object
-</dd><dt><i>vm</i></dt>
+</dd><dt><i>vm</i> (ViewManager)</dt>
 <dd>
 reference to the viewmanager object
-</dd><dt><i>horizontal</i></dt>
+</dd><dt><i>project</i> (Project)</dt>
+<dd>
+reference to the project object
+</dd><dt><i>horizontal</i> (bool)</dt>
 <dd>
-flag indicating a horizontal layout (boolean)
-</dd><dt><i>parent</i></dt>
+flag indicating a horizontal layout
+</dd><dt><i>parent</i> (QWidget)</dt>
 <dd>
-parent widget (QWidget)
+parent widget
 </dd>
 </dl><a NAME="ShellAssembly.shell" ID="ShellAssembly.shell"></a>
 <h4>ShellAssembly.shell</h4>

eric ide

mercurial