96 <td>Private method to handle the Cursor Right command.</td> |
96 <td>Private method to handle the Cursor Right command.</td> |
97 </tr><tr> |
97 </tr><tr> |
98 <td><a href="#Shell.__QScintillaCommand">__QScintillaCommand</a></td> |
98 <td><a href="#Shell.__QScintillaCommand">__QScintillaCommand</a></td> |
99 <td>Private method to send the command to QScintilla.</td> |
99 <td>Private method to send the command to QScintilla.</td> |
100 </tr><tr> |
100 </tr><tr> |
|
101 <td><a href="#Shell.__QScintillaCursorCommand">__QScintillaCursorCommand</a></td> |
|
102 <td>Private method to handle the cursor commands.</td> |
|
103 </tr><tr> |
101 <td><a href="#Shell.__QScintillaDelete">__QScintillaDelete</a></td> |
104 <td><a href="#Shell.__QScintillaDelete">__QScintillaDelete</a></td> |
102 <td>Private method to handle the delete command.</td> |
105 <td>Private method to handle the delete command.</td> |
103 </tr><tr> |
106 </tr><tr> |
104 <td><a href="#Shell.__QScintillaDeleteBack">__QScintillaDeleteBack</a></td> |
107 <td><a href="#Shell.__QScintillaDeleteBack">__QScintillaDeleteBack</a></td> |
105 <td>Private method to handle the Backspace key.</td> |
108 <td>Private method to handle the Backspace key.</td> |
201 <td>Private method to get the banner for the remote interpreter.</td> |
204 <td>Private method to get the banner for the remote interpreter.</td> |
202 </tr><tr> |
205 </tr><tr> |
203 <td><a href="#Shell.__getEndPos">__getEndPos</a></td> |
206 <td><a href="#Shell.__getEndPos">__getEndPos</a></td> |
204 <td>Private method to return the line and column of the last character.</td> |
207 <td>Private method to return the line and column of the last character.</td> |
205 </tr><tr> |
208 </tr><tr> |
|
209 <td><a href="#Shell.__indentLength">__indentLength</a></td> |
|
210 <td>Private method to determine the indentation length of the given line.</td> |
|
211 </tr><tr> |
206 <td><a href="#Shell.__initialise">__initialise</a></td> |
212 <td><a href="#Shell.__initialise">__initialise</a></td> |
207 <td>Private method to get ready for a new remote interpreter.</td> |
213 <td>Private method to get ready for a new remote interpreter.</td> |
208 </tr><tr> |
214 </tr><tr> |
209 <td><a href="#Shell.__insertHistory">__insertHistory</a></td> |
215 <td><a href="#Shell.__insertHistory">__insertHistory</a></td> |
210 <td>Private method to insert a command selected from the history.</td> |
216 <td>Private method to insert a command selected from the history.</td> |
269 <td><a href="#Shell.__setMonospaced">__setMonospaced</a></td> |
275 <td><a href="#Shell.__setMonospaced">__setMonospaced</a></td> |
270 <td>Private method to set/reset a monospaced font.</td> |
276 <td>Private method to set/reset a monospaced font.</td> |
271 </tr><tr> |
277 </tr><tr> |
272 <td><a href="#Shell.__setTextDisplay">__setTextDisplay</a></td> |
278 <td><a href="#Shell.__setTextDisplay">__setTextDisplay</a></td> |
273 <td>Private method to configure the text display.</td> |
279 <td>Private method to configure the text display.</td> |
274 </tr><tr> |
|
275 <td><a href="#Shell.__setupCursorKeys">__setupCursorKeys</a></td> |
|
276 <td>Private method to setup the cursor up and down mode.</td> |
|
277 </tr><tr> |
280 </tr><tr> |
278 <td><a href="#Shell.__showCompletions">__showCompletions</a></td> |
281 <td><a href="#Shell.__showCompletions">__showCompletions</a></td> |
279 <td>Private method to display the possible completions.</td> |
282 <td>Private method to display the possible completions.</td> |
280 </tr><tr> |
283 </tr><tr> |
281 <td><a href="#Shell.__showLanguageMenu">__showLanguageMenu</a></td> |
284 <td><a href="#Shell.__showLanguageMenu">__showLanguageMenu</a></td> |
470 </p><dl> |
473 </p><dl> |
471 <dt><i>cmd</i></dt> |
474 <dt><i>cmd</i></dt> |
472 <dd> |
475 <dd> |
473 QScintilla command |
476 QScintilla command |
474 </dd> |
477 </dd> |
|
478 </dl><a NAME="Shell.__QScintillaCursorCommand" ID="Shell.__QScintillaCursorCommand"></a> |
|
479 <h4>Shell.__QScintillaCursorCommand</h4> |
|
480 <b>__QScintillaCursorCommand</b>(<i>cmd</i>) |
|
481 <p> |
|
482 Private method to handle the cursor commands. |
|
483 </p><dl> |
|
484 <dt><i>cmd</i></dt> |
|
485 <dd> |
|
486 QScintilla command |
|
487 </dd> |
475 </dl><a NAME="Shell.__QScintillaDelete" ID="Shell.__QScintillaDelete"></a> |
488 </dl><a NAME="Shell.__QScintillaDelete" ID="Shell.__QScintillaDelete"></a> |
476 <h4>Shell.__QScintillaDelete</h4> |
489 <h4>Shell.__QScintillaDelete</h4> |
477 <b>__QScintillaDelete</b>(<i></i>) |
490 <b>__QScintillaDelete</b>(<i></i>) |
478 <p> |
491 <p> |
479 Private method to handle the delete command. |
492 Private method to handle the delete command. |
791 </p><dl> |
804 </p><dl> |
792 <dt>Returns:</dt> |
805 <dt>Returns:</dt> |
793 <dd> |
806 <dd> |
794 tuple of two values (int, int) giving the line and column |
807 tuple of two values (int, int) giving the line and column |
795 </dd> |
808 </dd> |
|
809 </dl><a NAME="Shell.__indentLength" ID="Shell.__indentLength"></a> |
|
810 <h4>Shell.__indentLength</h4> |
|
811 <b>__indentLength</b>(<i>line</i>) |
|
812 <p> |
|
813 Private method to determine the indentation length of the given line. |
|
814 </p><dl> |
|
815 <dt><i>line</i> (str)</dt> |
|
816 <dd> |
|
817 line to determine the indentation length for |
|
818 </dd> |
|
819 </dl><dl> |
|
820 <dt>Returns:</dt> |
|
821 <dd> |
|
822 indentation length |
|
823 </dd> |
|
824 </dl><dl> |
|
825 <dt>Return Type:</dt> |
|
826 <dd> |
|
827 int |
|
828 </dd> |
796 </dl><a NAME="Shell.__initialise" ID="Shell.__initialise"></a> |
829 </dl><a NAME="Shell.__initialise" ID="Shell.__initialise"></a> |
797 <h4>Shell.__initialise</h4> |
830 <h4>Shell.__initialise</h4> |
798 <b>__initialise</b>(<i></i>) |
831 <b>__initialise</b>(<i></i>) |
799 <p> |
832 <p> |
800 Private method to get ready for a new remote interpreter. |
833 Private method to get ready for a new remote interpreter. |
1008 </dl><a NAME="Shell.__setTextDisplay" ID="Shell.__setTextDisplay"></a> |
1041 </dl><a NAME="Shell.__setTextDisplay" ID="Shell.__setTextDisplay"></a> |
1009 <h4>Shell.__setTextDisplay</h4> |
1042 <h4>Shell.__setTextDisplay</h4> |
1010 <b>__setTextDisplay</b>(<i></i>) |
1043 <b>__setTextDisplay</b>(<i></i>) |
1011 <p> |
1044 <p> |
1012 Private method to configure the text display. |
1045 Private method to configure the text display. |
1013 </p><a NAME="Shell.__setupCursorKeys" ID="Shell.__setupCursorKeys"></a> |
|
1014 <h4>Shell.__setupCursorKeys</h4> |
|
1015 <b>__setupCursorKeys</b>(<i></i>) |
|
1016 <p> |
|
1017 Private method to setup the cursor up and down mode. |
|
1018 </p><a NAME="Shell.__showCompletions" ID="Shell.__showCompletions"></a> |
1046 </p><a NAME="Shell.__showCompletions" ID="Shell.__showCompletions"></a> |
1019 <h4>Shell.__showCompletions</h4> |
1047 <h4>Shell.__showCompletions</h4> |
1020 <b>__showCompletions</b>(<i>completions, text</i>) |
1048 <b>__showCompletions</b>(<i>completions, text</i>) |
1021 <p> |
1049 <p> |
1022 Private method to display the possible completions. |
1050 Private method to display the possible completions. |