Documentation/Source/eric5.QScintilla.Terminal.html

changeset 945
8cd4d08fa9f6
parent 440
69ace3e2dcf6
child 1228
7afaf2fca55b
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
43 <a NAME="Terminal" ID="Terminal"></a> 43 <a NAME="Terminal" ID="Terminal"></a>
44 <h2>Terminal</h2> 44 <h2>Terminal</h2>
45 <p> 45 <p>
46 Class implementing a simple terminal based on QScintilla. 46 Class implementing a simple terminal based on QScintilla.
47 </p><p> 47 </p><p>
48 A user can enter commands that are executed by a shell process. 48 A user can enter commands that are executed by a shell process.
49 </p> 49 </p>
50 <h3>Derived from</h3> 50 <h3>Derived from</h3>
51 QsciScintillaCompat 51 QsciScintillaCompat
52 <h3>Class Attributes</h3> 52 <h3>Class Attributes</h3>
53 <table> 53 <table>
246 <td>Public method to save the history.</td> 246 <td>Public method to save the history.</td>
247 </tr> 247 </tr>
248 </table> 248 </table>
249 <a NAME="Terminal.__init__" ID="Terminal.__init__"></a> 249 <a NAME="Terminal.__init__" ID="Terminal.__init__"></a>
250 <h4>Terminal (Constructor)</h4> 250 <h4>Terminal (Constructor)</h4>
251 <b>Terminal</b>(<i>vm, parent = None</i>) 251 <b>Terminal</b>(<i>vm, parent=None</i>)
252 <p> 252 <p>
253 Constructor 253 Constructor
254 </p><dl> 254 </p><dl>
255 <dt><i>vm</i></dt> 255 <dt><i>vm</i></dt>
256 <dd> 256 <dd>
304 <b>__QScintillaDeleteWordRight</b>(<i></i>) 304 <b>__QScintillaDeleteWordRight</b>(<i></i>)
305 <p> 305 <p>
306 Private method to handle the Delete Word Right command. 306 Private method to handle the Delete Word Right command.
307 </p><a NAME="Terminal.__QScintillaLeftCommand" ID="Terminal.__QScintillaLeftCommand"></a> 307 </p><a NAME="Terminal.__QScintillaLeftCommand" ID="Terminal.__QScintillaLeftCommand"></a>
308 <h4>Terminal.__QScintillaLeftCommand</h4> 308 <h4>Terminal.__QScintillaLeftCommand</h4>
309 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed = False</i>) 309 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed=False</i>)
310 <p> 310 <p>
311 Private method to handle a QScintilla command working to the left. 311 Private method to handle a QScintilla command working to the left.
312 </p><dl> 312 </p><dl>
313 <dt><i>method</i></dt> 313 <dt><i>method</i></dt>
314 <dd> 314 <dd>
494 <b>__reset</b>(<i></i>) 494 <b>__reset</b>(<i></i>)
495 <p> 495 <p>
496 Private slot to handle the 'reset' context menu entry. 496 Private slot to handle the 'reset' context menu entry.
497 </p><a NAME="Terminal.__rsearchHistory" ID="Terminal.__rsearchHistory"></a> 497 </p><a NAME="Terminal.__rsearchHistory" ID="Terminal.__rsearchHistory"></a>
498 <h4>Terminal.__rsearchHistory</h4> 498 <h4>Terminal.__rsearchHistory</h4>
499 <b>__rsearchHistory</b>(<i>txt, startIdx = -1</i>) 499 <b>__rsearchHistory</b>(<i>txt, startIdx=-1</i>)
500 <p> 500 <p>
501 Private method used to reverse search the history. 501 Private method used to reverse search the history.
502 </p><dl> 502 </p><dl>
503 <dt><i>txt</i></dt> 503 <dt><i>txt</i></dt>
504 <dd> 504 <dd>
512 <dd> 512 <dd>
513 index of found entry (integer) 513 index of found entry (integer)
514 </dd> 514 </dd>
515 </dl><a NAME="Terminal.__searchHistory" ID="Terminal.__searchHistory"></a> 515 </dl><a NAME="Terminal.__searchHistory" ID="Terminal.__searchHistory"></a>
516 <h4>Terminal.__searchHistory</h4> 516 <h4>Terminal.__searchHistory</h4>
517 <b>__searchHistory</b>(<i>txt, startIdx = -1</i>) 517 <b>__searchHistory</b>(<i>txt, startIdx=-1</i>)
518 <p> 518 <p>
519 Private method used to search the history. 519 Private method used to search the history.
520 </p><dl> 520 </p><dl>
521 <dt><i>txt</i></dt> 521 <dt><i>txt</i></dt>
522 <dd> 522 <dd>
617 Public slot to clear the display. 617 Public slot to clear the display.
618 </p><a NAME="Terminal.closeTerminal" ID="Terminal.closeTerminal"></a> 618 </p><a NAME="Terminal.closeTerminal" ID="Terminal.closeTerminal"></a>
619 <h4>Terminal.closeTerminal</h4> 619 <h4>Terminal.closeTerminal</h4>
620 <b>closeTerminal</b>(<i></i>) 620 <b>closeTerminal</b>(<i></i>)
621 <p> 621 <p>
622 Public method to shutdown the terminal. 622 Public method to shutdown the terminal.
623 </p><a NAME="Terminal.contextMenuEvent" ID="Terminal.contextMenuEvent"></a> 623 </p><a NAME="Terminal.contextMenuEvent" ID="Terminal.contextMenuEvent"></a>
624 <h4>Terminal.contextMenuEvent</h4> 624 <h4>Terminal.contextMenuEvent</h4>
625 <b>contextMenuEvent</b>(<i>ev</i>) 625 <b>contextMenuEvent</b>(<i>ev</i>)
626 <p> 626 <p>
627 Reimplemented to show our own context menu. 627 Reimplemented to show our own context menu.

eric ide

mercurial