313 <td>Public method to set the debugger UI.</td> |
313 <td>Public method to set the debugger UI.</td> |
314 </tr> |
314 </tr> |
315 </table> |
315 </table> |
316 <a NAME="Shell.__init__" ID="Shell.__init__"></a> |
316 <a NAME="Shell.__init__" ID="Shell.__init__"></a> |
317 <h4>Shell (Constructor)</h4> |
317 <h4>Shell (Constructor)</h4> |
318 <b>Shell</b>(<i>dbs, vm, parent = None</i>) |
318 <b>Shell</b>(<i>dbs, vm, parent=None</i>) |
319 <p> |
319 <p> |
320 Constructor |
320 Constructor |
321 </p><dl> |
321 </p><dl> |
322 <dt><i>dbs</i></dt> |
322 <dt><i>dbs</i></dt> |
323 <dd> |
323 <dd> |
384 <b>__QScintillaDeleteWordRight</b>(<i></i>) |
384 <b>__QScintillaDeleteWordRight</b>(<i></i>) |
385 <p> |
385 <p> |
386 Private method to handle the Delete Word Right command. |
386 Private method to handle the Delete Word Right command. |
387 </p><a NAME="Shell.__QScintillaLeftCommand" ID="Shell.__QScintillaLeftCommand"></a> |
387 </p><a NAME="Shell.__QScintillaLeftCommand" ID="Shell.__QScintillaLeftCommand"></a> |
388 <h4>Shell.__QScintillaLeftCommand</h4> |
388 <h4>Shell.__QScintillaLeftCommand</h4> |
389 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed = False</i>) |
389 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed=False</i>) |
390 <p> |
390 <p> |
391 Private method to handle a QScintilla command working to the left. |
391 Private method to handle a QScintilla command working to the left. |
392 </p><dl> |
392 </p><dl> |
393 <dt><i>method</i></dt> |
393 <dt><i>method</i></dt> |
394 <dd> |
394 <dd> |
498 <b>__QScintillaWordRight</b>(<i></i>) |
498 <b>__QScintillaWordRight</b>(<i></i>) |
499 <p> |
499 <p> |
500 Private method to handle the Cursor Word Right command. |
500 Private method to handle the Cursor Word Right command. |
501 </p><a NAME="Shell.__bindLexer" ID="Shell.__bindLexer"></a> |
501 </p><a NAME="Shell.__bindLexer" ID="Shell.__bindLexer"></a> |
502 <h4>Shell.__bindLexer</h4> |
502 <h4>Shell.__bindLexer</h4> |
503 <b>__bindLexer</b>(<i>language = 'Python3'</i>) |
503 <b>__bindLexer</b>(<i>language='Python3'</i>) |
504 <p> |
504 <p> |
505 Private slot to set the lexer. |
505 Private slot to set the lexer. |
506 </p><dl> |
506 </p><dl> |
507 <dt><i>language</i></dt> |
507 <dt><i>language</i></dt> |
508 <dd> |
508 <dd> |
670 <b>__resetAndClear</b>(<i></i>) |
670 <b>__resetAndClear</b>(<i></i>) |
671 <p> |
671 <p> |
672 Private slot to handle the 'reset and clear' context menu entry. |
672 Private slot to handle the 'reset and clear' context menu entry. |
673 </p><a NAME="Shell.__rsearchHistory" ID="Shell.__rsearchHistory"></a> |
673 </p><a NAME="Shell.__rsearchHistory" ID="Shell.__rsearchHistory"></a> |
674 <h4>Shell.__rsearchHistory</h4> |
674 <h4>Shell.__rsearchHistory</h4> |
675 <b>__rsearchHistory</b>(<i>txt, startIdx = -1</i>) |
675 <b>__rsearchHistory</b>(<i>txt, startIdx=-1</i>) |
676 <p> |
676 <p> |
677 Private method used to reverse search the history. |
677 Private method used to reverse search the history. |
678 </p><dl> |
678 </p><dl> |
679 <dt><i>txt</i></dt> |
679 <dt><i>txt</i></dt> |
680 <dd> |
680 <dd> |
688 <dd> |
688 <dd> |
689 index of found entry (integer) |
689 index of found entry (integer) |
690 </dd> |
690 </dd> |
691 </dl><a NAME="Shell.__searchHistory" ID="Shell.__searchHistory"></a> |
691 </dl><a NAME="Shell.__searchHistory" ID="Shell.__searchHistory"></a> |
692 <h4>Shell.__searchHistory</h4> |
692 <h4>Shell.__searchHistory</h4> |
693 <b>__searchHistory</b>(<i>txt, startIdx = -1</i>) |
693 <b>__searchHistory</b>(<i>txt, startIdx=-1</i>) |
694 <p> |
694 <p> |
695 Private method used to search the history. |
695 Private method used to search the history. |
696 </p><dl> |
696 </p><dl> |
697 <dt><i>txt</i></dt> |
697 <dt><i>txt</i></dt> |
698 <dd> |
698 <dd> |
711 <b>__selectHistory</b>(<i></i>) |
711 <b>__selectHistory</b>(<i></i>) |
712 <p> |
712 <p> |
713 Private slot to select a history entry to execute. |
713 Private slot to select a history entry to execute. |
714 </p><a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a> |
714 </p><a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a> |
715 <h4>Shell.__setAutoCompletion</h4> |
715 <h4>Shell.__setAutoCompletion</h4> |
716 <b>__setAutoCompletion</b>(<i>language = 'Python'</i>) |
716 <b>__setAutoCompletion</b>(<i>language='Python'</i>) |
717 <p> |
717 <p> |
718 Private method to configure the autocompletion function. |
718 Private method to configure the autocompletion function. |
719 </p><dl> |
719 </p><dl> |
720 <dt><i>language</i></dt> |
720 <dt><i>language</i></dt> |
721 <dd> |
721 <dd> |
722 of the autocompletion set to set (string) |
722 of the autocompletion set to set (string) |
723 </dd> |
723 </dd> |
724 </dl><a NAME="Shell.__setCallTips" ID="Shell.__setCallTips"></a> |
724 </dl><a NAME="Shell.__setCallTips" ID="Shell.__setCallTips"></a> |
725 <h4>Shell.__setCallTips</h4> |
725 <h4>Shell.__setCallTips</h4> |
726 <b>__setCallTips</b>(<i>language = 'Python'</i>) |
726 <b>__setCallTips</b>(<i>language='Python'</i>) |
727 <p> |
727 <p> |
728 Private method to configure the calltips function. |
728 Private method to configure the calltips function. |
729 </p><dl> |
729 </p><dl> |
730 <dt><i>language</i></dt> |
730 <dt><i>language</i></dt> |
731 <dd> |
731 <dd> |
842 Public slot to clear the display. |
842 Public slot to clear the display. |
843 </p><a NAME="Shell.closeShell" ID="Shell.closeShell"></a> |
843 </p><a NAME="Shell.closeShell" ID="Shell.closeShell"></a> |
844 <h4>Shell.closeShell</h4> |
844 <h4>Shell.closeShell</h4> |
845 <b>closeShell</b>(<i></i>) |
845 <b>closeShell</b>(<i></i>) |
846 <p> |
846 <p> |
847 Public method to shutdown the shell. |
847 Public method to shutdown the shell. |
848 </p><a NAME="Shell.contextMenuEvent" ID="Shell.contextMenuEvent"></a> |
848 </p><a NAME="Shell.contextMenuEvent" ID="Shell.contextMenuEvent"></a> |
849 <h4>Shell.contextMenuEvent</h4> |
849 <h4>Shell.contextMenuEvent</h4> |
850 <b>contextMenuEvent</b>(<i>ev</i>) |
850 <b>contextMenuEvent</b>(<i>ev</i>) |
851 <p> |
851 <p> |
852 Reimplemented to show our own context menu. |
852 Reimplemented to show our own context menu. |