Documentation/Source/eric6.QScintilla.Shell.html

changeset 5711
50b6867ffcd3
parent 5606
da305d172769
child 5712
f0d08bdeacf4
equal deleted inserted replaced
5710:b5809b948010 5711:50b6867ffcd3
146 <td>Private slot to set the lexer.</td> 146 <td>Private slot to set the lexer.</td>
147 </tr><tr> 147 </tr><tr>
148 <td><a href="#Shell.__clearCurrentLine">__clearCurrentLine</a></td> 148 <td><a href="#Shell.__clearCurrentLine">__clearCurrentLine</a></td>
149 <td>Private method to clear the line containing the cursor.</td> 149 <td>Private method to clear the line containing the cursor.</td>
150 </tr><tr> 150 </tr><tr>
151 <td><a href="#Shell.__clearHistory">__clearHistory</a></td>
152 <td>Private slot to clear the current history.</td>
153 </tr><tr>
154 <td><a href="#Shell.__clientCapabilities">__clientCapabilities</a></td> 151 <td><a href="#Shell.__clientCapabilities">__clientCapabilities</a></td>
155 <td>Private slot to handle the reporting of the clients capabilities.</td> 152 <td>Private slot to handle the reporting of the clients capabilities.</td>
156 </tr><tr> 153 </tr><tr>
157 <td><a href="#Shell.__clientError">__clientError</a></td> 154 <td><a href="#Shell.__clientError">__clientError</a></td>
158 <td>Private method to handle an error in the client.</td> 155 <td>Private method to handle an error in the client.</td>
230 <td>Private method to search for the next occurrence.</td> 227 <td>Private method to search for the next occurrence.</td>
231 </tr><tr> 228 </tr><tr>
232 <td><a href="#Shell.__searchPrev">__searchPrev</a></td> 229 <td><a href="#Shell.__searchPrev">__searchPrev</a></td>
233 <td>Private method to search for the next occurrence.</td> 230 <td>Private method to search for the next occurrence.</td>
234 </tr><tr> 231 </tr><tr>
235 <td><a href="#Shell.__selectHistory">__selectHistory</a></td>
236 <td>Private slot to select a history entry to execute.</td>
237 </tr><tr>
238 <td><a href="#Shell.__setAutoCompletion">__setAutoCompletion</a></td> 232 <td><a href="#Shell.__setAutoCompletion">__setAutoCompletion</a></td>
239 <td>Private method to configure the autocompletion function.</td> 233 <td>Private method to configure the autocompletion function.</td>
240 </tr><tr> 234 </tr><tr>
241 <td><a href="#Shell.__setCallTips">__setCallTips</a></td> 235 <td><a href="#Shell.__setCallTips">__setCallTips</a></td>
242 <td>Private method to configure the calltips function.</td> 236 <td>Private method to configure the calltips function.</td>
251 <td>Private method to configure the text display.</td> 245 <td>Private method to configure the text display.</td>
252 </tr><tr> 246 </tr><tr>
253 <td><a href="#Shell.__showCompletions">__showCompletions</a></td> 247 <td><a href="#Shell.__showCompletions">__showCompletions</a></td>
254 <td>Private method to display the possible completions.</td> 248 <td>Private method to display the possible completions.</td>
255 </tr><tr> 249 </tr><tr>
256 <td><a href="#Shell.__showHistory">__showHistory</a></td>
257 <td>Private slot to show the shell history dialog.</td>
258 </tr><tr>
259 <td><a href="#Shell.__showLanguageMenu">__showLanguageMenu</a></td> 250 <td><a href="#Shell.__showLanguageMenu">__showLanguageMenu</a></td>
260 <td>Private slot to prepare the language submenu.</td> 251 <td>Private slot to prepare the language submenu.</td>
261 </tr><tr> 252 </tr><tr>
262 <td><a href="#Shell.__startDebugClient">__startDebugClient</a></td> 253 <td><a href="#Shell.__startDebugClient">__startDebugClient</a></td>
263 <td>Private slot to start a debug client according to the action triggered.</td> 254 <td>Private slot to start a debug client according to the action triggered.</td>
284 <td>Public slot to clear the display.</td> 275 <td>Public slot to clear the display.</td>
285 </tr><tr> 276 </tr><tr>
286 <td><a href="#Shell.clearAllHistories">clearAllHistories</a></td> 277 <td><a href="#Shell.clearAllHistories">clearAllHistories</a></td>
287 <td>Public method to clear all available histories and sync them.</td> 278 <td>Public method to clear all available histories and sync them.</td>
288 </tr><tr> 279 </tr><tr>
280 <td><a href="#Shell.clearHistory">clearHistory</a></td>
281 <td>Public slot to clear the current history.</td>
282 </tr><tr>
289 <td><a href="#Shell.closeShell">closeShell</a></td> 283 <td><a href="#Shell.closeShell">closeShell</a></td>
290 <td>Public method to shutdown the shell.</td> 284 <td>Public method to shutdown the shell.</td>
291 </tr><tr> 285 </tr><tr>
292 <td><a href="#Shell.contextMenuEvent">contextMenuEvent</a></td> 286 <td><a href="#Shell.contextMenuEvent">contextMenuEvent</a></td>
293 <td>Protected method to show our own context menu.</td> 287 <td>Protected method to show our own context menu.</td>
359 <td>Public method to search the next occurrence of the given text.</td> 353 <td>Public method to search the next occurrence of the given text.</td>
360 </tr><tr> 354 </tr><tr>
361 <td><a href="#Shell.searchPrev">searchPrev</a></td> 355 <td><a href="#Shell.searchPrev">searchPrev</a></td>
362 <td>Public method to search the previous occurrence of the given text.</td> 356 <td>Public method to search the previous occurrence of the given text.</td>
363 </tr><tr> 357 </tr><tr>
358 <td><a href="#Shell.selectHistory">selectHistory</a></td>
359 <td>Public slot to select a history entry to execute.</td>
360 </tr><tr>
364 <td><a href="#Shell.setDebuggerUI">setDebuggerUI</a></td> 361 <td><a href="#Shell.setDebuggerUI">setDebuggerUI</a></td>
365 <td>Public method to set the debugger UI.</td> 362 <td>Public method to set the debugger UI.</td>
363 </tr><tr>
364 <td><a href="#Shell.showHistory">showHistory</a></td>
365 <td>Public slot to show the shell history dialog.</td>
366 </tr><tr> 366 </tr><tr>
367 <td><a href="#Shell.wheelEvent">wheelEvent</a></td> 367 <td><a href="#Shell.wheelEvent">wheelEvent</a></td>
368 <td>Protected method to handle wheel events.</td> 368 <td>Protected method to handle wheel events.</td>
369 </tr> 369 </tr>
370 </table> 370 </table>
372 <table> 372 <table>
373 <tr><td>None</td></tr> 373 <tr><td>None</td></tr>
374 </table> 374 </table>
375 <a NAME="Shell.__init__" ID="Shell.__init__"></a> 375 <a NAME="Shell.__init__" ID="Shell.__init__"></a>
376 <h4>Shell (Constructor)</h4> 376 <h4>Shell (Constructor)</h4>
377 <b>Shell</b>(<i>dbs, vm, parent=None</i>) 377 <b>Shell</b>(<i>dbs, vm, windowedVariant, parent=None</i>)
378 <p> 378 <p>
379 Constructor 379 Constructor
380 </p><dl> 380 </p><dl>
381 <dt><i>dbs</i></dt> 381 <dt><i>dbs</i></dt>
382 <dd> 382 <dd>
383 reference to the debug server object 383 reference to the debug server object
384 </dd><dt><i>vm</i></dt> 384 </dd><dt><i>vm</i></dt>
385 <dd> 385 <dd>
386 reference to the viewmanager object 386 reference to the viewmanager object
387 </dd><dt><i>windowedVariant</i></dt>
388 <dd>
389 flag indicating the shell window variant
390 (boolean)
387 </dd><dt><i>parent</i></dt> 391 </dd><dt><i>parent</i></dt>
388 <dd> 392 <dd>
389 parent widget (QWidget) 393 parent widget (QWidget)
390 </dd> 394 </dd>
391 </dl><a NAME="Shell.__QScintillaAutoCompletionCommand" ID="Shell.__QScintillaAutoCompletionCommand"></a> 395 </dl><a NAME="Shell.__QScintillaAutoCompletionCommand" ID="Shell.__QScintillaAutoCompletionCommand"></a>
571 </dl><a NAME="Shell.__clearCurrentLine" ID="Shell.__clearCurrentLine"></a> 575 </dl><a NAME="Shell.__clearCurrentLine" ID="Shell.__clearCurrentLine"></a>
572 <h4>Shell.__clearCurrentLine</h4> 576 <h4>Shell.__clearCurrentLine</h4>
573 <b>__clearCurrentLine</b>(<i></i>) 577 <b>__clearCurrentLine</b>(<i></i>)
574 <p> 578 <p>
575 Private method to clear the line containing the cursor. 579 Private method to clear the line containing the cursor.
576 </p><a NAME="Shell.__clearHistory" ID="Shell.__clearHistory"></a>
577 <h4>Shell.__clearHistory</h4>
578 <b>__clearHistory</b>(<i></i>)
579 <p>
580 Private slot to clear the current history.
581 </p><a NAME="Shell.__clientCapabilities" ID="Shell.__clientCapabilities"></a> 580 </p><a NAME="Shell.__clientCapabilities" ID="Shell.__clientCapabilities"></a>
582 <h4>Shell.__clientCapabilities</h4> 581 <h4>Shell.__clientCapabilities</h4>
583 <b>__clientCapabilities</b>(<i>cap, clType</i>) 582 <b>__clientCapabilities</b>(<i>cap, clType</i>)
584 <p> 583 <p>
585 Private slot to handle the reporting of the clients capabilities. 584 Private slot to handle the reporting of the clients capabilities.
849 </p><a NAME="Shell.__searchPrev" ID="Shell.__searchPrev"></a> 848 </p><a NAME="Shell.__searchPrev" ID="Shell.__searchPrev"></a>
850 <h4>Shell.__searchPrev</h4> 849 <h4>Shell.__searchPrev</h4>
851 <b>__searchPrev</b>(<i></i>) 850 <b>__searchPrev</b>(<i></i>)
852 <p> 851 <p>
853 Private method to search for the next occurrence. 852 Private method to search for the next occurrence.
854 </p><a NAME="Shell.__selectHistory" ID="Shell.__selectHistory"></a>
855 <h4>Shell.__selectHistory</h4>
856 <b>__selectHistory</b>(<i></i>)
857 <p>
858 Private slot to select a history entry to execute.
859 </p><a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a> 853 </p><a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a>
860 <h4>Shell.__setAutoCompletion</h4> 854 <h4>Shell.__setAutoCompletion</h4>
861 <b>__setAutoCompletion</b>(<i>language='Python'</i>) 855 <b>__setAutoCompletion</b>(<i>language='Python'</i>)
862 <p> 856 <p>
863 Private method to configure the autocompletion function. 857 Private method to configure the autocompletion function.
907 list of possible completions (list of strings) 901 list of possible completions (list of strings)
908 </dd><dt><i>text</i></dt> 902 </dd><dt><i>text</i></dt>
909 <dd> 903 <dd>
910 text that is about to be completed (string) 904 text that is about to be completed (string)
911 </dd> 905 </dd>
912 </dl><a NAME="Shell.__showHistory" ID="Shell.__showHistory"></a> 906 </dl><a NAME="Shell.__showLanguageMenu" ID="Shell.__showLanguageMenu"></a>
913 <h4>Shell.__showHistory</h4>
914 <b>__showHistory</b>(<i></i>)
915 <p>
916 Private slot to show the shell history dialog.
917 </p><a NAME="Shell.__showLanguageMenu" ID="Shell.__showLanguageMenu"></a>
918 <h4>Shell.__showLanguageMenu</h4> 907 <h4>Shell.__showLanguageMenu</h4>
919 <b>__showLanguageMenu</b>(<i></i>) 908 <b>__showLanguageMenu</b>(<i></i>)
920 <p> 909 <p>
921 Private slot to prepare the language submenu. 910 Private slot to prepare the language submenu.
922 </p><a NAME="Shell.__startDebugClient" ID="Shell.__startDebugClient"></a> 911 </p><a NAME="Shell.__startDebugClient" ID="Shell.__startDebugClient"></a>
994 </p><a NAME="Shell.clearAllHistories" ID="Shell.clearAllHistories"></a> 983 </p><a NAME="Shell.clearAllHistories" ID="Shell.clearAllHistories"></a>
995 <h4>Shell.clearAllHistories</h4> 984 <h4>Shell.clearAllHistories</h4>
996 <b>clearAllHistories</b>(<i></i>) 985 <b>clearAllHistories</b>(<i></i>)
997 <p> 986 <p>
998 Public method to clear all available histories and sync them. 987 Public method to clear all available histories and sync them.
988 </p><a NAME="Shell.clearHistory" ID="Shell.clearHistory"></a>
989 <h4>Shell.clearHistory</h4>
990 <b>clearHistory</b>(<i></i>)
991 <p>
992 Public slot to clear the current history.
999 </p><a NAME="Shell.closeShell" ID="Shell.closeShell"></a> 993 </p><a NAME="Shell.closeShell" ID="Shell.closeShell"></a>
1000 <h4>Shell.closeShell</h4> 994 <h4>Shell.closeShell</h4>
1001 <b>closeShell</b>(<i></i>) 995 <b>closeShell</b>(<i></i>)
1002 <p> 996 <p>
1003 Public method to shutdown the shell. 997 Public method to shutdown the shell.
1263 </dd><dt><i>wholeWord</i></dt> 1257 </dd><dt><i>wholeWord</i></dt>
1264 <dd> 1258 <dd>
1265 flag indicating to search for whole words 1259 flag indicating to search for whole words
1266 only (boolean) 1260 only (boolean)
1267 </dd> 1261 </dd>
1268 </dl><a NAME="Shell.setDebuggerUI" ID="Shell.setDebuggerUI"></a> 1262 </dl><a NAME="Shell.selectHistory" ID="Shell.selectHistory"></a>
1263 <h4>Shell.selectHistory</h4>
1264 <b>selectHistory</b>(<i></i>)
1265 <p>
1266 Public slot to select a history entry to execute.
1267 </p><a NAME="Shell.setDebuggerUI" ID="Shell.setDebuggerUI"></a>
1269 <h4>Shell.setDebuggerUI</h4> 1268 <h4>Shell.setDebuggerUI</h4>
1270 <b>setDebuggerUI</b>(<i>ui</i>) 1269 <b>setDebuggerUI</b>(<i>ui</i>)
1271 <p> 1270 <p>
1272 Public method to set the debugger UI. 1271 Public method to set the debugger UI.
1273 </p><dl> 1272 </p><dl>
1274 <dt><i>ui</i></dt> 1273 <dt><i>ui</i></dt>
1275 <dd> 1274 <dd>
1276 reference to the debugger UI object (DebugUI) 1275 reference to the debugger UI object (DebugUI)
1277 </dd> 1276 </dd>
1278 </dl><a NAME="Shell.wheelEvent" ID="Shell.wheelEvent"></a> 1277 </dl><a NAME="Shell.showHistory" ID="Shell.showHistory"></a>
1278 <h4>Shell.showHistory</h4>
1279 <b>showHistory</b>(<i></i>)
1280 <p>
1281 Public slot to show the shell history dialog.
1282 </p><a NAME="Shell.wheelEvent" ID="Shell.wheelEvent"></a>
1279 <h4>Shell.wheelEvent</h4> 1283 <h4>Shell.wheelEvent</h4>
1280 <b>wheelEvent</b>(<i>evt</i>) 1284 <b>wheelEvent</b>(<i>evt</i>)
1281 <p> 1285 <p>
1282 Protected method to handle wheel events. 1286 Protected method to handle wheel events.
1283 </p><dl> 1287 </p><dl>

eric ide

mercurial