16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.QScintilla.Shell</h1> |
23 <h1>eric6.QScintilla.Shell</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a graphical Python shell. |
26 Module implementing a graphical Python shell. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#Shell">Shell</a></td> |
38 <td><a href="#Shell">Shell</a></td> |
34 <td>Class implementing a graphical Python shell.</td> |
39 <td>Class implementing a graphical Python shell.</td> |
35 </tr><tr> |
40 </tr> |
|
41 <tr> |
36 <td><a href="#ShellAssembly">ShellAssembly</a></td> |
42 <td><a href="#ShellAssembly">ShellAssembly</a></td> |
37 <td>Class implementing the containing widget for the shell.</td> |
43 <td>Class implementing the containing widget for the shell.</td> |
38 </tr><tr> |
44 </tr> |
|
45 <tr> |
39 <td><a href="#ShellHistoryStyle">ShellHistoryStyle</a></td> |
46 <td><a href="#ShellHistoryStyle">ShellHistoryStyle</a></td> |
40 <td>Class defining the shell history styles.</td> |
47 <td>Class defining the shell history styles.</td> |
41 </tr> |
48 </tr> |
42 </table> |
49 </table> |
43 <h3>Functions</h3> |
50 <h3>Functions</h3> |
|
51 |
44 <table> |
52 <table> |
45 <tr><td>None</td></tr> |
53 <tr><td>None</td></tr> |
46 </table> |
54 </table> |
47 <hr /><hr /> |
55 <hr /> |
|
56 <hr /> |
48 <a NAME="Shell" ID="Shell"></a> |
57 <a NAME="Shell" ID="Shell"></a> |
49 <h2>Shell</h2> |
58 <h2>Shell</h2> |
|
59 |
50 <p> |
60 <p> |
51 Class implementing a graphical Python shell. |
61 Class implementing a graphical Python shell. |
52 </p><p> |
62 </p> |
|
63 <p> |
53 A user can enter commands that are executed in the remote |
64 A user can enter commands that are executed in the remote |
54 Python interpreter. |
65 Python interpreter. |
55 </p><h3>Signals</h3> |
66 </p> |
56 <dl> |
67 <h3>Signals</h3> |
|
68 <dl> |
|
69 |
57 <dt>historyStyleChanged(ShellHistoryStyle)</dt> |
70 <dt>historyStyleChanged(ShellHistoryStyle)</dt> |
58 <dd> |
71 <dd> |
59 emitted to indicate a |
72 emitted to indicate a |
60 change of the history style |
73 change of the history style |
61 </dd><dt>queueText(str)</dt> |
74 </dd> |
|
75 <dt>queueText(str)</dt> |
62 <dd> |
76 <dd> |
63 emitted to queue some text for processing |
77 emitted to queue some text for processing |
64 </dd><dt>searchStringFound(bool)</dt> |
78 </dd> |
|
79 <dt>searchStringFound(bool)</dt> |
65 <dd> |
80 <dd> |
66 emitted to indicate the search |
81 emitted to indicate the search |
67 result |
82 result |
68 </dd><dt>virtualEnvironmentChanged(str)</dt> |
83 </dd> |
|
84 <dt>virtualEnvironmentChanged(str)</dt> |
69 <dd> |
85 <dd> |
70 emitted to signal the new virtual |
86 emitted to signal the new virtual |
71 environment of the shell |
87 environment of the shell |
72 </dd> |
88 </dd> |
73 </dl> |
89 </dl> |
74 <h3>Derived from</h3> |
90 <h3>Derived from</h3> |
75 QsciScintillaCompat |
91 QsciScintillaCompat |
76 <h3>Class Attributes</h3> |
92 <h3>Class Attributes</h3> |
|
93 |
77 <table> |
94 <table> |
78 <tr><td>None</td></tr> |
95 <tr><td>None</td></tr> |
79 </table> |
96 </table> |
80 <h3>Class Methods</h3> |
97 <h3>Class Methods</h3> |
|
98 |
81 <table> |
99 <table> |
82 <tr><td>None</td></tr> |
100 <tr><td>None</td></tr> |
83 </table> |
101 </table> |
84 <h3>Methods</h3> |
102 <h3>Methods</h3> |
|
103 |
85 <table> |
104 <table> |
|
105 |
86 <tr> |
106 <tr> |
87 <td><a href="#Shell.__init__">Shell</a></td> |
107 <td><a href="#Shell.__init__">Shell</a></td> |
88 <td>Constructor</td> |
108 <td>Constructor</td> |
89 </tr><tr> |
109 </tr> |
|
110 <tr> |
90 <td><a href="#Shell.__QScintillaAutoCompletionCommand">__QScintillaAutoCompletionCommand</a></td> |
111 <td><a href="#Shell.__QScintillaAutoCompletionCommand">__QScintillaAutoCompletionCommand</a></td> |
91 <td>Private method to handle a command for autocompletion only.</td> |
112 <td>Private method to handle a command for autocompletion only.</td> |
92 </tr><tr> |
113 </tr> |
|
114 <tr> |
93 <td><a href="#Shell.__QScintillaCancel">__QScintillaCancel</a></td> |
115 <td><a href="#Shell.__QScintillaCancel">__QScintillaCancel</a></td> |
94 <td>Private method to handle the ESC command.</td> |
116 <td>Private method to handle the ESC command.</td> |
95 </tr><tr> |
117 </tr> |
|
118 <tr> |
96 <td><a href="#Shell.__QScintillaCharLeft">__QScintillaCharLeft</a></td> |
119 <td><a href="#Shell.__QScintillaCharLeft">__QScintillaCharLeft</a></td> |
97 <td>Private method to handle the Cursor Left command.</td> |
120 <td>Private method to handle the Cursor Left command.</td> |
98 </tr><tr> |
121 </tr> |
|
122 <tr> |
99 <td><a href="#Shell.__QScintillaCharLeftExtend">__QScintillaCharLeftExtend</a></td> |
123 <td><a href="#Shell.__QScintillaCharLeftExtend">__QScintillaCharLeftExtend</a></td> |
100 <td>Private method to handle the Extend Selection Left command.</td> |
124 <td>Private method to handle the Extend Selection Left command.</td> |
101 </tr><tr> |
125 </tr> |
|
126 <tr> |
102 <td><a href="#Shell.__QScintillaCharRight">__QScintillaCharRight</a></td> |
127 <td><a href="#Shell.__QScintillaCharRight">__QScintillaCharRight</a></td> |
103 <td>Private method to handle the Cursor Right command.</td> |
128 <td>Private method to handle the Cursor Right command.</td> |
104 </tr><tr> |
129 </tr> |
|
130 <tr> |
105 <td><a href="#Shell.__QScintillaCommand">__QScintillaCommand</a></td> |
131 <td><a href="#Shell.__QScintillaCommand">__QScintillaCommand</a></td> |
106 <td>Private method to send the command to QScintilla.</td> |
132 <td>Private method to send the command to QScintilla.</td> |
107 </tr><tr> |
133 </tr> |
|
134 <tr> |
108 <td><a href="#Shell.__QScintillaCursorCommand">__QScintillaCursorCommand</a></td> |
135 <td><a href="#Shell.__QScintillaCursorCommand">__QScintillaCursorCommand</a></td> |
109 <td>Private method to handle the cursor commands.</td> |
136 <td>Private method to handle the cursor commands.</td> |
110 </tr><tr> |
137 </tr> |
|
138 <tr> |
111 <td><a href="#Shell.__QScintillaDelete">__QScintillaDelete</a></td> |
139 <td><a href="#Shell.__QScintillaDelete">__QScintillaDelete</a></td> |
112 <td>Private method to handle the delete command.</td> |
140 <td>Private method to handle the delete command.</td> |
113 </tr><tr> |
141 </tr> |
|
142 <tr> |
114 <td><a href="#Shell.__QScintillaDeleteBack">__QScintillaDeleteBack</a></td> |
143 <td><a href="#Shell.__QScintillaDeleteBack">__QScintillaDeleteBack</a></td> |
115 <td>Private method to handle the Backspace key.</td> |
144 <td>Private method to handle the Backspace key.</td> |
116 </tr><tr> |
145 </tr> |
|
146 <tr> |
117 <td><a href="#Shell.__QScintillaDeleteLineLeft">__QScintillaDeleteLineLeft</a></td> |
147 <td><a href="#Shell.__QScintillaDeleteLineLeft">__QScintillaDeleteLineLeft</a></td> |
118 <td>Private method to handle the Delete Line Left command.</td> |
148 <td>Private method to handle the Delete Line Left command.</td> |
119 </tr><tr> |
149 </tr> |
|
150 <tr> |
120 <td><a href="#Shell.__QScintillaDeleteLineRight">__QScintillaDeleteLineRight</a></td> |
151 <td><a href="#Shell.__QScintillaDeleteLineRight">__QScintillaDeleteLineRight</a></td> |
121 <td>Private method to handle the Delete Line Right command.</td> |
152 <td>Private method to handle the Delete Line Right command.</td> |
122 </tr><tr> |
153 </tr> |
|
154 <tr> |
123 <td><a href="#Shell.__QScintillaDeleteWordLeft">__QScintillaDeleteWordLeft</a></td> |
155 <td><a href="#Shell.__QScintillaDeleteWordLeft">__QScintillaDeleteWordLeft</a></td> |
124 <td>Private method to handle the Delete Word Left command.</td> |
156 <td>Private method to handle the Delete Word Left command.</td> |
125 </tr><tr> |
157 </tr> |
|
158 <tr> |
126 <td><a href="#Shell.__QScintillaDeleteWordRight">__QScintillaDeleteWordRight</a></td> |
159 <td><a href="#Shell.__QScintillaDeleteWordRight">__QScintillaDeleteWordRight</a></td> |
127 <td>Private method to handle the Delete Word Right command.</td> |
160 <td>Private method to handle the Delete Word Right command.</td> |
128 </tr><tr> |
161 </tr> |
|
162 <tr> |
129 <td><a href="#Shell.__QScintillaHistoryDown">__QScintillaHistoryDown</a></td> |
163 <td><a href="#Shell.__QScintillaHistoryDown">__QScintillaHistoryDown</a></td> |
130 <td>Private method to handle the history down command.</td> |
164 <td>Private method to handle the history down command.</td> |
131 </tr><tr> |
165 </tr> |
|
166 <tr> |
132 <td><a href="#Shell.__QScintillaHistoryUp">__QScintillaHistoryUp</a></td> |
167 <td><a href="#Shell.__QScintillaHistoryUp">__QScintillaHistoryUp</a></td> |
133 <td>Private method to handle the history up command.</td> |
168 <td>Private method to handle the history up command.</td> |
134 </tr><tr> |
169 </tr> |
|
170 <tr> |
135 <td><a href="#Shell.__QScintillaLeftCommand">__QScintillaLeftCommand</a></td> |
171 <td><a href="#Shell.__QScintillaLeftCommand">__QScintillaLeftCommand</a></td> |
136 <td>Private method to handle a QScintilla command working to the left.</td> |
172 <td>Private method to handle a QScintilla command working to the left.</td> |
137 </tr><tr> |
173 </tr> |
|
174 <tr> |
138 <td><a href="#Shell.__QScintillaLeftDeleteCommand">__QScintillaLeftDeleteCommand</a></td> |
175 <td><a href="#Shell.__QScintillaLeftDeleteCommand">__QScintillaLeftDeleteCommand</a></td> |
139 <td>Private method to handle a QScintilla delete command working to the left.</td> |
176 <td>Private method to handle a QScintilla delete command working to the left.</td> |
140 </tr><tr> |
177 </tr> |
|
178 <tr> |
141 <td><a href="#Shell.__QScintillaLineDown">__QScintillaLineDown</a></td> |
179 <td><a href="#Shell.__QScintillaLineDown">__QScintillaLineDown</a></td> |
142 <td>Private method to handle the cursor down command.</td> |
180 <td>Private method to handle the cursor down command.</td> |
143 </tr><tr> |
181 </tr> |
|
182 <tr> |
144 <td><a href="#Shell.__QScintillaLineEnd">__QScintillaLineEnd</a></td> |
183 <td><a href="#Shell.__QScintillaLineEnd">__QScintillaLineEnd</a></td> |
145 <td>Private method to handle the End key.</td> |
184 <td>Private method to handle the End key.</td> |
146 </tr><tr> |
185 </tr> |
|
186 <tr> |
147 <td><a href="#Shell.__QScintillaLineUp">__QScintillaLineUp</a></td> |
187 <td><a href="#Shell.__QScintillaLineUp">__QScintillaLineUp</a></td> |
148 <td>Private method to handle the cursor up command.</td> |
188 <td>Private method to handle the cursor up command.</td> |
149 </tr><tr> |
189 </tr> |
|
190 <tr> |
150 <td><a href="#Shell.__QScintillaNewline">__QScintillaNewline</a></td> |
191 <td><a href="#Shell.__QScintillaNewline">__QScintillaNewline</a></td> |
151 <td>Private method to handle the Return key.</td> |
192 <td>Private method to handle the Return key.</td> |
152 </tr><tr> |
193 </tr> |
|
194 <tr> |
153 <td><a href="#Shell.__QScintillaRightCommand">__QScintillaRightCommand</a></td> |
195 <td><a href="#Shell.__QScintillaRightCommand">__QScintillaRightCommand</a></td> |
154 <td>Private method to handle a QScintilla command working to the right.</td> |
196 <td>Private method to handle a QScintilla command working to the right.</td> |
155 </tr><tr> |
197 </tr> |
|
198 <tr> |
156 <td><a href="#Shell.__QScintillaTab">__QScintillaTab</a></td> |
199 <td><a href="#Shell.__QScintillaTab">__QScintillaTab</a></td> |
157 <td>Private method to handle the Tab key.</td> |
200 <td>Private method to handle the Tab key.</td> |
158 </tr><tr> |
201 </tr> |
|
202 <tr> |
159 <td><a href="#Shell.__QScintillaVCHome">__QScintillaVCHome</a></td> |
203 <td><a href="#Shell.__QScintillaVCHome">__QScintillaVCHome</a></td> |
160 <td>Private method to handle the Home key.</td> |
204 <td>Private method to handle the Home key.</td> |
161 </tr><tr> |
205 </tr> |
|
206 <tr> |
162 <td><a href="#Shell.__QScintillaVCHomeExtend">__QScintillaVCHomeExtend</a></td> |
207 <td><a href="#Shell.__QScintillaVCHomeExtend">__QScintillaVCHomeExtend</a></td> |
163 <td>Private method to handle the Extend Selection to start of line command.</td> |
208 <td>Private method to handle the Extend Selection to start of line command.</td> |
164 </tr><tr> |
209 </tr> |
|
210 <tr> |
165 <td><a href="#Shell.__QScintillaWordLeft">__QScintillaWordLeft</a></td> |
211 <td><a href="#Shell.__QScintillaWordLeft">__QScintillaWordLeft</a></td> |
166 <td>Private method to handle the Cursor Word Left command.</td> |
212 <td>Private method to handle the Cursor Word Left command.</td> |
167 </tr><tr> |
213 </tr> |
|
214 <tr> |
168 <td><a href="#Shell.__QScintillaWordLeftExtend">__QScintillaWordLeftExtend</a></td> |
215 <td><a href="#Shell.__QScintillaWordLeftExtend">__QScintillaWordLeftExtend</a></td> |
169 <td>Private method to handle the Extend Selection Left one word command.</td> |
216 <td>Private method to handle the Extend Selection Left one word command.</td> |
170 </tr><tr> |
217 </tr> |
|
218 <tr> |
171 <td><a href="#Shell.__QScintillaWordRight">__QScintillaWordRight</a></td> |
219 <td><a href="#Shell.__QScintillaWordRight">__QScintillaWordRight</a></td> |
172 <td>Private method to handle the Cursor Word Right command.</td> |
220 <td>Private method to handle the Cursor Word Right command.</td> |
173 </tr><tr> |
221 </tr> |
|
222 <tr> |
174 <td><a href="#Shell.__bindLexer">__bindLexer</a></td> |
223 <td><a href="#Shell.__bindLexer">__bindLexer</a></td> |
175 <td>Private slot to set the lexer.</td> |
224 <td>Private slot to set the lexer.</td> |
176 </tr><tr> |
225 </tr> |
|
226 <tr> |
177 <td><a href="#Shell.__clearCurrentLine">__clearCurrentLine</a></td> |
227 <td><a href="#Shell.__clearCurrentLine">__clearCurrentLine</a></td> |
178 <td>Private method to clear the line containing the cursor.</td> |
228 <td>Private method to clear the line containing the cursor.</td> |
179 </tr><tr> |
229 </tr> |
|
230 <tr> |
180 <td><a href="#Shell.__clientCapabilities">__clientCapabilities</a></td> |
231 <td><a href="#Shell.__clientCapabilities">__clientCapabilities</a></td> |
181 <td>Private slot to handle the reporting of the clients capabilities.</td> |
232 <td>Private slot to handle the reporting of the clients capabilities.</td> |
182 </tr><tr> |
233 </tr> |
|
234 <tr> |
183 <td><a href="#Shell.__clientError">__clientError</a></td> |
235 <td><a href="#Shell.__clientError">__clientError</a></td> |
184 <td>Private method to handle an error in the client.</td> |
236 <td>Private method to handle an error in the client.</td> |
185 </tr><tr> |
237 </tr> |
|
238 <tr> |
186 <td><a href="#Shell.__clientException">__clientException</a></td> |
239 <td><a href="#Shell.__clientException">__clientException</a></td> |
187 <td>Private method to handle an exception of the client.</td> |
240 <td>Private method to handle an exception of the client.</td> |
188 </tr><tr> |
241 </tr> |
|
242 <tr> |
189 <td><a href="#Shell.__clientSignal">__clientSignal</a></td> |
243 <td><a href="#Shell.__clientSignal">__clientSignal</a></td> |
190 <td>Private method to handle a signal generated on the client side.</td> |
244 <td>Private method to handle a signal generated on the client side.</td> |
191 </tr><tr> |
245 </tr> |
|
246 <tr> |
192 <td><a href="#Shell.__clientStatement">__clientStatement</a></td> |
247 <td><a href="#Shell.__clientStatement">__clientStatement</a></td> |
193 <td>Private method to handle the response from the debugger client.</td> |
248 <td>Private method to handle the response from the debugger client.</td> |
194 </tr><tr> |
249 </tr> |
|
250 <tr> |
195 <td><a href="#Shell.__clientSyntaxError">__clientSyntaxError</a></td> |
251 <td><a href="#Shell.__clientSyntaxError">__clientSyntaxError</a></td> |
196 <td>Private method to handle a syntax error in the debugged program.</td> |
252 <td>Private method to handle a syntax error in the debugged program.</td> |
197 </tr><tr> |
253 </tr> |
|
254 <tr> |
198 <td><a href="#Shell.__completionListSelected">__completionListSelected</a></td> |
255 <td><a href="#Shell.__completionListSelected">__completionListSelected</a></td> |
199 <td>Private slot to handle the selection from the completion list.</td> |
256 <td>Private slot to handle the selection from the completion list.</td> |
200 </tr><tr> |
257 </tr> |
|
258 <tr> |
201 <td><a href="#Shell.__concatenateText">__concatenateText</a></td> |
259 <td><a href="#Shell.__concatenateText">__concatenateText</a></td> |
202 <td>Private slot to queue text and process it in one step.</td> |
260 <td>Private slot to queue text and process it in one step.</td> |
203 </tr><tr> |
261 </tr> |
|
262 <tr> |
204 <td><a href="#Shell.__configure">__configure</a></td> |
263 <td><a href="#Shell.__configure">__configure</a></td> |
205 <td>Private method to open the configuration dialog.</td> |
264 <td>Private method to open the configuration dialog.</td> |
206 </tr><tr> |
265 </tr> |
|
266 <tr> |
207 <td><a href="#Shell.__executeCommand">__executeCommand</a></td> |
267 <td><a href="#Shell.__executeCommand">__executeCommand</a></td> |
208 <td>Private slot to execute a command.</td> |
268 <td>Private slot to execute a command.</td> |
209 </tr><tr> |
269 </tr> |
|
270 <tr> |
210 <td><a href="#Shell.__find">__find</a></td> |
271 <td><a href="#Shell.__find">__find</a></td> |
211 <td>Private slot to show the find widget.</td> |
272 <td>Private slot to show the find widget.</td> |
212 </tr><tr> |
273 </tr> |
|
274 <tr> |
213 <td><a href="#Shell.__getBanner">__getBanner</a></td> |
275 <td><a href="#Shell.__getBanner">__getBanner</a></td> |
214 <td>Private method to get the banner for the remote interpreter.</td> |
276 <td>Private method to get the banner for the remote interpreter.</td> |
215 </tr><tr> |
277 </tr> |
|
278 <tr> |
216 <td><a href="#Shell.__getEndPos">__getEndPos</a></td> |
279 <td><a href="#Shell.__getEndPos">__getEndPos</a></td> |
217 <td>Private method to return the line and column of the last character.</td> |
280 <td>Private method to return the line and column of the last character.</td> |
218 </tr><tr> |
281 </tr> |
|
282 <tr> |
219 <td><a href="#Shell.__indentLength">__indentLength</a></td> |
283 <td><a href="#Shell.__indentLength">__indentLength</a></td> |
220 <td>Private method to determine the indentation length of the given line.</td> |
284 <td>Private method to determine the indentation length of the given line.</td> |
221 </tr><tr> |
285 </tr> |
|
286 <tr> |
222 <td><a href="#Shell.__initialise">__initialise</a></td> |
287 <td><a href="#Shell.__initialise">__initialise</a></td> |
223 <td>Private method to get ready for a new remote interpreter.</td> |
288 <td>Private method to get ready for a new remote interpreter.</td> |
224 </tr><tr> |
289 </tr> |
|
290 <tr> |
225 <td><a href="#Shell.__insertHistory">__insertHistory</a></td> |
291 <td><a href="#Shell.__insertHistory">__insertHistory</a></td> |
226 <td>Private method to insert a command selected from the history.</td> |
292 <td>Private method to insert a command selected from the history.</td> |
227 </tr><tr> |
293 </tr> |
|
294 <tr> |
228 <td><a href="#Shell.__insertText">__insertText</a></td> |
295 <td><a href="#Shell.__insertText">__insertText</a></td> |
229 <td>Private method to insert some text at the current cursor position.</td> |
296 <td>Private method to insert some text at the current cursor position.</td> |
230 </tr><tr> |
297 </tr> |
|
298 <tr> |
231 <td><a href="#Shell.__insertTextAtEnd">__insertTextAtEnd</a></td> |
299 <td><a href="#Shell.__insertTextAtEnd">__insertTextAtEnd</a></td> |
232 <td>Private method to insert some text at the end of the command line.</td> |
300 <td>Private method to insert some text at the end of the command line.</td> |
233 </tr><tr> |
301 </tr> |
|
302 <tr> |
234 <td><a href="#Shell.__insertTextNoEcho">__insertTextNoEcho</a></td> |
303 <td><a href="#Shell.__insertTextNoEcho">__insertTextNoEcho</a></td> |
235 <td>Private method to insert some text at the end of the buffer without echoing it.</td> |
304 <td>Private method to insert some text at the end of the buffer without echoing it.</td> |
236 </tr><tr> |
305 </tr> |
|
306 <tr> |
237 <td><a href="#Shell.__isCursorOnLastLine">__isCursorOnLastLine</a></td> |
307 <td><a href="#Shell.__isCursorOnLastLine">__isCursorOnLastLine</a></td> |
238 <td>Private method to check, if the cursor is on the last line.</td> |
308 <td>Private method to check, if the cursor is on the last line.</td> |
239 </tr><tr> |
309 </tr> |
|
310 <tr> |
240 <td><a href="#Shell.__isHistoryIndexValid">__isHistoryIndexValid</a></td> |
311 <td><a href="#Shell.__isHistoryIndexValid">__isHistoryIndexValid</a></td> |
241 <td>Private method to test, if the history index is valid.</td> |
312 <td>Private method to test, if the history index is valid.</td> |
242 </tr><tr> |
313 </tr> |
|
314 <tr> |
243 <td><a href="#Shell.__middleMouseButton">__middleMouseButton</a></td> |
315 <td><a href="#Shell.__middleMouseButton">__middleMouseButton</a></td> |
244 <td>Private method to handle the middle mouse button press.</td> |
316 <td>Private method to handle the middle mouse button press.</td> |
245 </tr><tr> |
317 </tr> |
|
318 <tr> |
246 <td><a href="#Shell.__projectClosed">__projectClosed</a></td> |
319 <td><a href="#Shell.__projectClosed">__projectClosed</a></td> |
247 <td>Private slot to restart the default shell when the project is closed.</td> |
320 <td>Private slot to restart the default shell when the project is closed.</td> |
248 </tr><tr> |
321 </tr> |
|
322 <tr> |
249 <td><a href="#Shell.__projectOpened">__projectOpened</a></td> |
323 <td><a href="#Shell.__projectOpened">__projectOpened</a></td> |
250 <td>Private slot to start the shell for the opened project.</td> |
324 <td>Private slot to start the shell for the opened project.</td> |
251 </tr><tr> |
325 </tr> |
|
326 <tr> |
252 <td><a href="#Shell.__raw_input">__raw_input</a></td> |
327 <td><a href="#Shell.__raw_input">__raw_input</a></td> |
253 <td>Private method to handle raw input.</td> |
328 <td>Private method to handle raw input.</td> |
254 </tr><tr> |
329 </tr> |
|
330 <tr> |
255 <td><a href="#Shell.__resetIncrementalHistorySearch">__resetIncrementalHistorySearch</a></td> |
331 <td><a href="#Shell.__resetIncrementalHistorySearch">__resetIncrementalHistorySearch</a></td> |
256 <td>Private method to reset the incremental history search.</td> |
332 <td>Private method to reset the incremental history search.</td> |
257 </tr><tr> |
333 </tr> |
|
334 <tr> |
258 <td><a href="#Shell.__resizeLinenoMargin">__resizeLinenoMargin</a></td> |
335 <td><a href="#Shell.__resizeLinenoMargin">__resizeLinenoMargin</a></td> |
259 <td>Private slot to resize the line numbers margin.</td> |
336 <td>Private slot to resize the line numbers margin.</td> |
260 </tr><tr> |
337 </tr> |
|
338 <tr> |
261 <td><a href="#Shell.__rsearchHistory">__rsearchHistory</a></td> |
339 <td><a href="#Shell.__rsearchHistory">__rsearchHistory</a></td> |
262 <td>Private method used to reverse search the history.</td> |
340 <td>Private method used to reverse search the history.</td> |
263 </tr><tr> |
341 </tr> |
|
342 <tr> |
264 <td><a href="#Shell.__searchHistory">__searchHistory</a></td> |
343 <td><a href="#Shell.__searchHistory">__searchHistory</a></td> |
265 <td>Private method used to search the history.</td> |
344 <td>Private method used to search the history.</td> |
266 </tr><tr> |
345 </tr> |
|
346 <tr> |
267 <td><a href="#Shell.__searchNext">__searchNext</a></td> |
347 <td><a href="#Shell.__searchNext">__searchNext</a></td> |
268 <td>Private method to search for the next occurrence.</td> |
348 <td>Private method to search for the next occurrence.</td> |
269 </tr><tr> |
349 </tr> |
|
350 <tr> |
270 <td><a href="#Shell.__searchPrev">__searchPrev</a></td> |
351 <td><a href="#Shell.__searchPrev">__searchPrev</a></td> |
271 <td>Private method to search for the next occurrence.</td> |
352 <td>Private method to search for the next occurrence.</td> |
272 </tr><tr> |
353 </tr> |
|
354 <tr> |
273 <td><a href="#Shell.__setAutoCompletion">__setAutoCompletion</a></td> |
355 <td><a href="#Shell.__setAutoCompletion">__setAutoCompletion</a></td> |
274 <td>Private method to configure the autocompletion function.</td> |
356 <td>Private method to configure the autocompletion function.</td> |
275 </tr><tr> |
357 </tr> |
|
358 <tr> |
276 <td><a href="#Shell.__setCallTips">__setCallTips</a></td> |
359 <td><a href="#Shell.__setCallTips">__setCallTips</a></td> |
277 <td>Private method to configure the calltips function.</td> |
360 <td>Private method to configure the calltips function.</td> |
278 </tr><tr> |
361 </tr> |
|
362 <tr> |
279 <td><a href="#Shell.__setHistoryIndex">__setHistoryIndex</a></td> |
363 <td><a href="#Shell.__setHistoryIndex">__setHistoryIndex</a></td> |
280 <td>Private method to set the initial history index.</td> |
364 <td>Private method to set the initial history index.</td> |
281 </tr><tr> |
365 </tr> |
|
366 <tr> |
282 <td><a href="#Shell.__setMargin0">__setMargin0</a></td> |
367 <td><a href="#Shell.__setMargin0">__setMargin0</a></td> |
283 <td>Private method to configure margin 0.</td> |
368 <td>Private method to configure margin 0.</td> |
284 </tr><tr> |
369 </tr> |
|
370 <tr> |
285 <td><a href="#Shell.__setMonospaced">__setMonospaced</a></td> |
371 <td><a href="#Shell.__setMonospaced">__setMonospaced</a></td> |
286 <td>Private method to set/reset a monospaced font.</td> |
372 <td>Private method to set/reset a monospaced font.</td> |
287 </tr><tr> |
373 </tr> |
|
374 <tr> |
288 <td><a href="#Shell.__setTextDisplay">__setTextDisplay</a></td> |
375 <td><a href="#Shell.__setTextDisplay">__setTextDisplay</a></td> |
289 <td>Private method to configure the text display.</td> |
376 <td>Private method to configure the text display.</td> |
290 </tr><tr> |
377 </tr> |
|
378 <tr> |
291 <td><a href="#Shell.__showCompletions">__showCompletions</a></td> |
379 <td><a href="#Shell.__showCompletions">__showCompletions</a></td> |
292 <td>Private method to display the possible completions.</td> |
380 <td>Private method to display the possible completions.</td> |
293 </tr><tr> |
381 </tr> |
|
382 <tr> |
294 <td><a href="#Shell.__showStartMenu">__showStartMenu</a></td> |
383 <td><a href="#Shell.__showStartMenu">__showStartMenu</a></td> |
295 <td>Private slot to prepare the start submenu.</td> |
384 <td>Private slot to prepare the start submenu.</td> |
296 </tr><tr> |
385 </tr> |
|
386 <tr> |
297 <td><a href="#Shell.__showVenvName">__showVenvName</a></td> |
387 <td><a href="#Shell.__showVenvName">__showVenvName</a></td> |
298 <td>Private method to show the name of the active virtual environment.</td> |
388 <td>Private method to show the name of the active virtual environment.</td> |
299 </tr><tr> |
389 </tr> |
|
390 <tr> |
300 <td><a href="#Shell.__startDebugClient">__startDebugClient</a></td> |
391 <td><a href="#Shell.__startDebugClient">__startDebugClient</a></td> |
301 <td>Private slot to start a debug client according to the action triggered.</td> |
392 <td>Private slot to start a debug client according to the action triggered.</td> |
302 </tr><tr> |
393 </tr> |
|
394 <tr> |
303 <td><a href="#Shell.__useHistory">__useHistory</a></td> |
395 <td><a href="#Shell.__useHistory">__useHistory</a></td> |
304 <td>Private method to display a command from the history.</td> |
396 <td>Private method to display a command from the history.</td> |
305 </tr><tr> |
397 </tr> |
|
398 <tr> |
306 <td><a href="#Shell.__write">__write</a></td> |
399 <td><a href="#Shell.__write">__write</a></td> |
307 <td>Private method to display some text without queuing.</td> |
400 <td>Private method to display some text without queuing.</td> |
308 </tr><tr> |
401 </tr> |
|
402 <tr> |
309 <td><a href="#Shell.__writeBanner">__writeBanner</a></td> |
403 <td><a href="#Shell.__writeBanner">__writeBanner</a></td> |
310 <td>Private method to write a banner with info from the debug client.</td> |
404 <td>Private method to write a banner with info from the debug client.</td> |
311 </tr><tr> |
405 </tr> |
|
406 <tr> |
312 <td><a href="#Shell.__writePrompt">__writePrompt</a></td> |
407 <td><a href="#Shell.__writePrompt">__writePrompt</a></td> |
313 <td>Private method to write the prompt using a write queue.</td> |
408 <td>Private method to write the prompt using a write queue.</td> |
314 </tr><tr> |
409 </tr> |
|
410 <tr> |
315 <td><a href="#Shell.__writeQueued">__writeQueued</a></td> |
411 <td><a href="#Shell.__writeQueued">__writeQueued</a></td> |
316 <td>Private method to display some text using a write queue.</td> |
412 <td>Private method to display some text using a write queue.</td> |
317 </tr><tr> |
413 </tr> |
|
414 <tr> |
318 <td><a href="#Shell.__writeStdErr">__writeStdErr</a></td> |
415 <td><a href="#Shell.__writeStdErr">__writeStdErr</a></td> |
319 <td>Private method to display some text with StdErr label.</td> |
416 <td>Private method to display some text with StdErr label.</td> |
320 </tr><tr> |
417 </tr> |
|
418 <tr> |
321 <td><a href="#Shell.__writeStdOut">__writeStdOut</a></td> |
419 <td><a href="#Shell.__writeStdOut">__writeStdOut</a></td> |
322 <td>Private method to display some text with StdOut label.</td> |
420 <td>Private method to display some text with StdOut label.</td> |
323 </tr><tr> |
421 </tr> |
|
422 <tr> |
324 <td><a href="#Shell.clear">clear</a></td> |
423 <td><a href="#Shell.clear">clear</a></td> |
325 <td>Public slot to clear the display.</td> |
424 <td>Public slot to clear the display.</td> |
326 </tr><tr> |
425 </tr> |
|
426 <tr> |
327 <td><a href="#Shell.clearAllHistories">clearAllHistories</a></td> |
427 <td><a href="#Shell.clearAllHistories">clearAllHistories</a></td> |
328 <td>Public method to clear all available histories and sync them.</td> |
428 <td>Public method to clear all available histories and sync them.</td> |
329 </tr><tr> |
429 </tr> |
|
430 <tr> |
330 <td><a href="#Shell.clearHistory">clearHistory</a></td> |
431 <td><a href="#Shell.clearHistory">clearHistory</a></td> |
331 <td>Public slot to clear the current history.</td> |
432 <td>Public slot to clear the current history.</td> |
332 </tr><tr> |
433 </tr> |
|
434 <tr> |
333 <td><a href="#Shell.closeShell">closeShell</a></td> |
435 <td><a href="#Shell.closeShell">closeShell</a></td> |
334 <td>Public method to shutdown the shell.</td> |
436 <td>Public method to shutdown the shell.</td> |
335 </tr><tr> |
437 </tr> |
|
438 <tr> |
336 <td><a href="#Shell.contextMenuEvent">contextMenuEvent</a></td> |
439 <td><a href="#Shell.contextMenuEvent">contextMenuEvent</a></td> |
337 <td>Protected method to show our own context menu.</td> |
440 <td>Protected method to show our own context menu.</td> |
338 </tr><tr> |
441 </tr> |
|
442 <tr> |
339 <td><a href="#Shell.doClearRestart">doClearRestart</a></td> |
443 <td><a href="#Shell.doClearRestart">doClearRestart</a></td> |
340 <td>Public slot to handle the 'restart and clear' context menu entry.</td> |
444 <td>Public slot to handle the 'restart and clear' context menu entry.</td> |
341 </tr><tr> |
445 </tr> |
|
446 <tr> |
342 <td><a href="#Shell.doRestart">doRestart</a></td> |
447 <td><a href="#Shell.doRestart">doRestart</a></td> |
343 <td>Public slot to handle the 'restart' context menu entry.</td> |
448 <td>Public slot to handle the 'restart' context menu entry.</td> |
344 </tr><tr> |
449 </tr> |
|
450 <tr> |
345 <td><a href="#Shell.dragEnterEvent">dragEnterEvent</a></td> |
451 <td><a href="#Shell.dragEnterEvent">dragEnterEvent</a></td> |
346 <td>Protected method to handle the drag enter event.</td> |
452 <td>Protected method to handle the drag enter event.</td> |
347 </tr><tr> |
453 </tr> |
|
454 <tr> |
348 <td><a href="#Shell.dragLeaveEvent">dragLeaveEvent</a></td> |
455 <td><a href="#Shell.dragLeaveEvent">dragLeaveEvent</a></td> |
349 <td>Protected method to handle the drag leave event.</td> |
456 <td>Protected method to handle the drag leave event.</td> |
350 </tr><tr> |
457 </tr> |
|
458 <tr> |
351 <td><a href="#Shell.dragMoveEvent">dragMoveEvent</a></td> |
459 <td><a href="#Shell.dragMoveEvent">dragMoveEvent</a></td> |
352 <td>Protected method to handle the drag move event.</td> |
460 <td>Protected method to handle the drag move event.</td> |
353 </tr><tr> |
461 </tr> |
|
462 <tr> |
354 <td><a href="#Shell.dropEvent">dropEvent</a></td> |
463 <td><a href="#Shell.dropEvent">dropEvent</a></td> |
355 <td>Protected method to handle the drop event.</td> |
464 <td>Protected method to handle the drop event.</td> |
356 </tr><tr> |
465 </tr> |
|
466 <tr> |
357 <td><a href="#Shell.editorCommand">editorCommand</a></td> |
467 <td><a href="#Shell.editorCommand">editorCommand</a></td> |
358 <td>Public method to perform an editor command.</td> |
468 <td>Public method to perform an editor command.</td> |
359 </tr><tr> |
469 </tr> |
|
470 <tr> |
360 <td><a href="#Shell.event">event</a></td> |
471 <td><a href="#Shell.event">event</a></td> |
361 <td>Public method handling events.</td> |
472 <td>Public method handling events.</td> |
362 </tr><tr> |
473 </tr> |
|
474 <tr> |
363 <td><a href="#Shell.executeLines">executeLines</a></td> |
475 <td><a href="#Shell.executeLines">executeLines</a></td> |
364 <td>Public method to execute a set of lines as multiple commands.</td> |
476 <td>Public method to execute a set of lines as multiple commands.</td> |
365 </tr><tr> |
477 </tr> |
|
478 <tr> |
366 <td><a href="#Shell.focusInEvent">focusInEvent</a></td> |
479 <td><a href="#Shell.focusInEvent">focusInEvent</a></td> |
367 <td>Protected method called when the shell receives focus.</td> |
480 <td>Protected method called when the shell receives focus.</td> |
368 </tr><tr> |
481 </tr> |
|
482 <tr> |
369 <td><a href="#Shell.focusNextPrevChild">focusNextPrevChild</a></td> |
483 <td><a href="#Shell.focusNextPrevChild">focusNextPrevChild</a></td> |
370 <td>Public method to stop Tab moving to the next window.</td> |
484 <td>Public method to stop Tab moving to the next window.</td> |
371 </tr><tr> |
485 </tr> |
|
486 <tr> |
372 <td><a href="#Shell.focusOutEvent">focusOutEvent</a></td> |
487 <td><a href="#Shell.focusOutEvent">focusOutEvent</a></td> |
373 <td>Protected method called when the shell loses focus.</td> |
488 <td>Protected method called when the shell loses focus.</td> |
374 </tr><tr> |
489 </tr> |
|
490 <tr> |
375 <td><a href="#Shell.gestureEvent">gestureEvent</a></td> |
491 <td><a href="#Shell.gestureEvent">gestureEvent</a></td> |
376 <td>Protected method handling gesture events.</td> |
492 <td>Protected method handling gesture events.</td> |
377 </tr><tr> |
493 </tr> |
|
494 <tr> |
378 <td><a href="#Shell.getClientType">getClientType</a></td> |
495 <td><a href="#Shell.getClientType">getClientType</a></td> |
379 <td>Public slot to get the clients type.</td> |
496 <td>Public slot to get the clients type.</td> |
380 </tr><tr> |
497 </tr> |
|
498 <tr> |
381 <td><a href="#Shell.getHistory">getHistory</a></td> |
499 <td><a href="#Shell.getHistory">getHistory</a></td> |
382 <td>Public method to get the history for the given client type.</td> |
500 <td>Public method to get the history for the given client type.</td> |
383 </tr><tr> |
501 </tr> |
|
502 <tr> |
384 <td><a href="#Shell.getHistoryIndex">getHistoryIndex</a></td> |
503 <td><a href="#Shell.getHistoryIndex">getHistoryIndex</a></td> |
385 <td>Public method to get the current value of the history index.</td> |
504 <td>Public method to get the current value of the history index.</td> |
386 </tr><tr> |
505 </tr> |
|
506 <tr> |
387 <td><a href="#Shell.handlePreferencesChanged">handlePreferencesChanged</a></td> |
507 <td><a href="#Shell.handlePreferencesChanged">handlePreferencesChanged</a></td> |
388 <td>Public slot to handle the preferencesChanged signal.</td> |
508 <td>Public slot to handle the preferencesChanged signal.</td> |
389 </tr><tr> |
509 </tr> |
|
510 <tr> |
390 <td><a href="#Shell.historyStyle">historyStyle</a></td> |
511 <td><a href="#Shell.historyStyle">historyStyle</a></td> |
391 <td>Public method to get the shell history style.</td> |
512 <td>Public method to get the shell history style.</td> |
392 </tr><tr> |
513 </tr> |
|
514 <tr> |
393 <td><a href="#Shell.insert">insert</a></td> |
515 <td><a href="#Shell.insert">insert</a></td> |
394 <td>Public slot to insert text at the current cursor position.</td> |
516 <td>Public slot to insert text at the current cursor position.</td> |
395 </tr><tr> |
517 </tr> |
|
518 <tr> |
396 <td><a href="#Shell.isHistoryEnabled">isHistoryEnabled</a></td> |
519 <td><a href="#Shell.isHistoryEnabled">isHistoryEnabled</a></td> |
397 <td>Public method to check, if the history is enabled.</td> |
520 <td>Public method to check, if the history is enabled.</td> |
398 </tr><tr> |
521 </tr> |
|
522 <tr> |
399 <td><a href="#Shell.keyPressEvent">keyPressEvent</a></td> |
523 <td><a href="#Shell.keyPressEvent">keyPressEvent</a></td> |
400 <td>Protected method to handle the user input a key at a time.</td> |
524 <td>Protected method to handle the user input a key at a time.</td> |
401 </tr><tr> |
525 </tr> |
|
526 <tr> |
402 <td><a href="#Shell.loadHistory">loadHistory</a></td> |
527 <td><a href="#Shell.loadHistory">loadHistory</a></td> |
403 <td>Public method to load the history for the given client type.</td> |
528 <td>Public method to load the history for the given client type.</td> |
404 </tr><tr> |
529 </tr> |
|
530 <tr> |
405 <td><a href="#Shell.mousePressEvent">mousePressEvent</a></td> |
531 <td><a href="#Shell.mousePressEvent">mousePressEvent</a></td> |
406 <td>Protected method to handle the mouse press event.</td> |
532 <td>Protected method to handle the mouse press event.</td> |
407 </tr><tr> |
533 </tr> |
|
534 <tr> |
408 <td><a href="#Shell.paste">paste</a></td> |
535 <td><a href="#Shell.paste">paste</a></td> |
409 <td>Public slot to handle the paste action.</td> |
536 <td>Public slot to handle the paste action.</td> |
410 </tr><tr> |
537 </tr> |
|
538 <tr> |
411 <td><a href="#Shell.reloadHistory">reloadHistory</a></td> |
539 <td><a href="#Shell.reloadHistory">reloadHistory</a></td> |
412 <td>Public method to reload the history of the currently selected client type.</td> |
540 <td>Public method to reload the history of the currently selected client type.</td> |
413 </tr><tr> |
541 </tr> |
|
542 <tr> |
414 <td><a href="#Shell.saveHistory">saveHistory</a></td> |
543 <td><a href="#Shell.saveHistory">saveHistory</a></td> |
415 <td>Public method to save the history for the given client type.</td> |
544 <td>Public method to save the history for the given client type.</td> |
416 </tr><tr> |
545 </tr> |
|
546 <tr> |
417 <td><a href="#Shell.searchNext">searchNext</a></td> |
547 <td><a href="#Shell.searchNext">searchNext</a></td> |
418 <td>Public method to search the next occurrence of the given text.</td> |
548 <td>Public method to search the next occurrence of the given text.</td> |
419 </tr><tr> |
549 </tr> |
|
550 <tr> |
420 <td><a href="#Shell.searchPrev">searchPrev</a></td> |
551 <td><a href="#Shell.searchPrev">searchPrev</a></td> |
421 <td>Public method to search the previous occurrence of the given text.</td> |
552 <td>Public method to search the previous occurrence of the given text.</td> |
422 </tr><tr> |
553 </tr> |
|
554 <tr> |
423 <td><a href="#Shell.selectHistory">selectHistory</a></td> |
555 <td><a href="#Shell.selectHistory">selectHistory</a></td> |
424 <td>Public slot to select a history entry to execute.</td> |
556 <td>Public slot to select a history entry to execute.</td> |
425 </tr><tr> |
557 </tr> |
|
558 <tr> |
426 <td><a href="#Shell.setDebuggerUI">setDebuggerUI</a></td> |
559 <td><a href="#Shell.setDebuggerUI">setDebuggerUI</a></td> |
427 <td>Public method to set the debugger UI.</td> |
560 <td>Public method to set the debugger UI.</td> |
428 </tr><tr> |
561 </tr> |
|
562 <tr> |
429 <td><a href="#Shell.showHistory">showHistory</a></td> |
563 <td><a href="#Shell.showHistory">showHistory</a></td> |
430 <td>Public slot to show the shell history dialog.</td> |
564 <td>Public slot to show the shell history dialog.</td> |
431 </tr><tr> |
565 </tr> |
|
566 <tr> |
432 <td><a href="#Shell.wheelEvent">wheelEvent</a></td> |
567 <td><a href="#Shell.wheelEvent">wheelEvent</a></td> |
433 <td>Protected method to handle wheel events.</td> |
568 <td>Protected method to handle wheel events.</td> |
434 </tr> |
569 </tr> |
435 </table> |
570 </table> |
436 <h3>Static Methods</h3> |
571 <h3>Static Methods</h3> |
|
572 |
437 <table> |
573 <table> |
438 <tr><td>None</td></tr> |
574 <tr><td>None</td></tr> |
439 </table> |
575 </table> |
|
576 |
440 <a NAME="Shell.__init__" ID="Shell.__init__"></a> |
577 <a NAME="Shell.__init__" ID="Shell.__init__"></a> |
441 <h4>Shell (Constructor)</h4> |
578 <h4>Shell (Constructor)</h4> |
442 <b>Shell</b>(<i>dbs, vm, project, windowedVariant, parent=None</i>) |
579 <b>Shell</b>(<i>dbs, vm, project, windowedVariant, parent=None</i>) |
|
580 |
443 <p> |
581 <p> |
444 Constructor |
582 Constructor |
445 </p><dl> |
583 </p> |
|
584 <dl> |
|
585 |
446 <dt><i>dbs</i> (DebugServer)</dt> |
586 <dt><i>dbs</i> (DebugServer)</dt> |
447 <dd> |
587 <dd> |
448 reference to the debug server object |
588 reference to the debug server object |
449 </dd><dt><i>vm</i> (ViewManager)</dt> |
589 </dd> |
|
590 <dt><i>vm</i> (ViewManager)</dt> |
450 <dd> |
591 <dd> |
451 reference to the viewmanager object |
592 reference to the viewmanager object |
452 </dd><dt><i>project</i> (Project)</dt> |
593 </dd> |
|
594 <dt><i>project</i> (Project)</dt> |
453 <dd> |
595 <dd> |
454 reference to the project object |
596 reference to the project object |
455 </dd><dt><i>windowedVariant</i> (bool)</dt> |
597 </dd> |
|
598 <dt><i>windowedVariant</i> (bool)</dt> |
456 <dd> |
599 <dd> |
457 flag indicating the shell window variant |
600 flag indicating the shell window variant |
458 </dd><dt><i>parent</i> (QWidget)</dt> |
601 </dd> |
|
602 <dt><i>parent</i> (QWidget)</dt> |
459 <dd> |
603 <dd> |
460 parent widget |
604 parent widget |
461 </dd> |
605 </dd> |
462 </dl><a NAME="Shell.__QScintillaAutoCompletionCommand" ID="Shell.__QScintillaAutoCompletionCommand"></a> |
606 </dl> |
|
607 <a NAME="Shell.__QScintillaAutoCompletionCommand" ID="Shell.__QScintillaAutoCompletionCommand"></a> |
463 <h4>Shell.__QScintillaAutoCompletionCommand</h4> |
608 <h4>Shell.__QScintillaAutoCompletionCommand</h4> |
464 <b>__QScintillaAutoCompletionCommand</b>(<i>cmd</i>) |
609 <b>__QScintillaAutoCompletionCommand</b>(<i>cmd</i>) |
|
610 |
465 <p> |
611 <p> |
466 Private method to handle a command for autocompletion only. |
612 Private method to handle a command for autocompletion only. |
467 </p><dl> |
613 </p> |
|
614 <dl> |
|
615 |
468 <dt><i>cmd</i></dt> |
616 <dt><i>cmd</i></dt> |
469 <dd> |
617 <dd> |
470 QScintilla command |
618 QScintilla command |
471 </dd> |
619 </dd> |
472 </dl><a NAME="Shell.__QScintillaCancel" ID="Shell.__QScintillaCancel"></a> |
620 </dl> |
|
621 <a NAME="Shell.__QScintillaCancel" ID="Shell.__QScintillaCancel"></a> |
473 <h4>Shell.__QScintillaCancel</h4> |
622 <h4>Shell.__QScintillaCancel</h4> |
474 <b>__QScintillaCancel</b>(<i></i>) |
623 <b>__QScintillaCancel</b>(<i></i>) |
|
624 |
475 <p> |
625 <p> |
476 Private method to handle the ESC command. |
626 Private method to handle the ESC command. |
477 </p><a NAME="Shell.__QScintillaCharLeft" ID="Shell.__QScintillaCharLeft"></a> |
627 </p> |
|
628 <a NAME="Shell.__QScintillaCharLeft" ID="Shell.__QScintillaCharLeft"></a> |
478 <h4>Shell.__QScintillaCharLeft</h4> |
629 <h4>Shell.__QScintillaCharLeft</h4> |
479 <b>__QScintillaCharLeft</b>(<i></i>) |
630 <b>__QScintillaCharLeft</b>(<i></i>) |
|
631 |
480 <p> |
632 <p> |
481 Private method to handle the Cursor Left command. |
633 Private method to handle the Cursor Left command. |
482 </p><a NAME="Shell.__QScintillaCharLeftExtend" ID="Shell.__QScintillaCharLeftExtend"></a> |
634 </p> |
|
635 <a NAME="Shell.__QScintillaCharLeftExtend" ID="Shell.__QScintillaCharLeftExtend"></a> |
483 <h4>Shell.__QScintillaCharLeftExtend</h4> |
636 <h4>Shell.__QScintillaCharLeftExtend</h4> |
484 <b>__QScintillaCharLeftExtend</b>(<i></i>) |
637 <b>__QScintillaCharLeftExtend</b>(<i></i>) |
|
638 |
485 <p> |
639 <p> |
486 Private method to handle the Extend Selection Left command. |
640 Private method to handle the Extend Selection Left command. |
487 </p><a NAME="Shell.__QScintillaCharRight" ID="Shell.__QScintillaCharRight"></a> |
641 </p> |
|
642 <a NAME="Shell.__QScintillaCharRight" ID="Shell.__QScintillaCharRight"></a> |
488 <h4>Shell.__QScintillaCharRight</h4> |
643 <h4>Shell.__QScintillaCharRight</h4> |
489 <b>__QScintillaCharRight</b>(<i></i>) |
644 <b>__QScintillaCharRight</b>(<i></i>) |
|
645 |
490 <p> |
646 <p> |
491 Private method to handle the Cursor Right command. |
647 Private method to handle the Cursor Right command. |
492 </p><a NAME="Shell.__QScintillaCommand" ID="Shell.__QScintillaCommand"></a> |
648 </p> |
|
649 <a NAME="Shell.__QScintillaCommand" ID="Shell.__QScintillaCommand"></a> |
493 <h4>Shell.__QScintillaCommand</h4> |
650 <h4>Shell.__QScintillaCommand</h4> |
494 <b>__QScintillaCommand</b>(<i>cmd</i>) |
651 <b>__QScintillaCommand</b>(<i>cmd</i>) |
|
652 |
495 <p> |
653 <p> |
496 Private method to send the command to QScintilla. |
654 Private method to send the command to QScintilla. |
497 </p><dl> |
655 </p> |
|
656 <dl> |
|
657 |
498 <dt><i>cmd</i></dt> |
658 <dt><i>cmd</i></dt> |
499 <dd> |
659 <dd> |
500 QScintilla command |
660 QScintilla command |
501 </dd> |
661 </dd> |
502 </dl><a NAME="Shell.__QScintillaCursorCommand" ID="Shell.__QScintillaCursorCommand"></a> |
662 </dl> |
|
663 <a NAME="Shell.__QScintillaCursorCommand" ID="Shell.__QScintillaCursorCommand"></a> |
503 <h4>Shell.__QScintillaCursorCommand</h4> |
664 <h4>Shell.__QScintillaCursorCommand</h4> |
504 <b>__QScintillaCursorCommand</b>(<i>cmd</i>) |
665 <b>__QScintillaCursorCommand</b>(<i>cmd</i>) |
|
666 |
505 <p> |
667 <p> |
506 Private method to handle the cursor commands. |
668 Private method to handle the cursor commands. |
507 </p><dl> |
669 </p> |
|
670 <dl> |
|
671 |
508 <dt><i>cmd</i></dt> |
672 <dt><i>cmd</i></dt> |
509 <dd> |
673 <dd> |
510 QScintilla command |
674 QScintilla command |
511 </dd> |
675 </dd> |
512 </dl><a NAME="Shell.__QScintillaDelete" ID="Shell.__QScintillaDelete"></a> |
676 </dl> |
|
677 <a NAME="Shell.__QScintillaDelete" ID="Shell.__QScintillaDelete"></a> |
513 <h4>Shell.__QScintillaDelete</h4> |
678 <h4>Shell.__QScintillaDelete</h4> |
514 <b>__QScintillaDelete</b>(<i></i>) |
679 <b>__QScintillaDelete</b>(<i></i>) |
|
680 |
515 <p> |
681 <p> |
516 Private method to handle the delete command. |
682 Private method to handle the delete command. |
517 </p><a NAME="Shell.__QScintillaDeleteBack" ID="Shell.__QScintillaDeleteBack"></a> |
683 </p> |
|
684 <a NAME="Shell.__QScintillaDeleteBack" ID="Shell.__QScintillaDeleteBack"></a> |
518 <h4>Shell.__QScintillaDeleteBack</h4> |
685 <h4>Shell.__QScintillaDeleteBack</h4> |
519 <b>__QScintillaDeleteBack</b>(<i></i>) |
686 <b>__QScintillaDeleteBack</b>(<i></i>) |
|
687 |
520 <p> |
688 <p> |
521 Private method to handle the Backspace key. |
689 Private method to handle the Backspace key. |
522 </p><a NAME="Shell.__QScintillaDeleteLineLeft" ID="Shell.__QScintillaDeleteLineLeft"></a> |
690 </p> |
|
691 <a NAME="Shell.__QScintillaDeleteLineLeft" ID="Shell.__QScintillaDeleteLineLeft"></a> |
523 <h4>Shell.__QScintillaDeleteLineLeft</h4> |
692 <h4>Shell.__QScintillaDeleteLineLeft</h4> |
524 <b>__QScintillaDeleteLineLeft</b>(<i></i>) |
693 <b>__QScintillaDeleteLineLeft</b>(<i></i>) |
|
694 |
525 <p> |
695 <p> |
526 Private method to handle the Delete Line Left command. |
696 Private method to handle the Delete Line Left command. |
527 </p><a NAME="Shell.__QScintillaDeleteLineRight" ID="Shell.__QScintillaDeleteLineRight"></a> |
697 </p> |
|
698 <a NAME="Shell.__QScintillaDeleteLineRight" ID="Shell.__QScintillaDeleteLineRight"></a> |
528 <h4>Shell.__QScintillaDeleteLineRight</h4> |
699 <h4>Shell.__QScintillaDeleteLineRight</h4> |
529 <b>__QScintillaDeleteLineRight</b>(<i></i>) |
700 <b>__QScintillaDeleteLineRight</b>(<i></i>) |
|
701 |
530 <p> |
702 <p> |
531 Private method to handle the Delete Line Right command. |
703 Private method to handle the Delete Line Right command. |
532 </p><a NAME="Shell.__QScintillaDeleteWordLeft" ID="Shell.__QScintillaDeleteWordLeft"></a> |
704 </p> |
|
705 <a NAME="Shell.__QScintillaDeleteWordLeft" ID="Shell.__QScintillaDeleteWordLeft"></a> |
533 <h4>Shell.__QScintillaDeleteWordLeft</h4> |
706 <h4>Shell.__QScintillaDeleteWordLeft</h4> |
534 <b>__QScintillaDeleteWordLeft</b>(<i></i>) |
707 <b>__QScintillaDeleteWordLeft</b>(<i></i>) |
|
708 |
535 <p> |
709 <p> |
536 Private method to handle the Delete Word Left command. |
710 Private method to handle the Delete Word Left command. |
537 </p><a NAME="Shell.__QScintillaDeleteWordRight" ID="Shell.__QScintillaDeleteWordRight"></a> |
711 </p> |
|
712 <a NAME="Shell.__QScintillaDeleteWordRight" ID="Shell.__QScintillaDeleteWordRight"></a> |
538 <h4>Shell.__QScintillaDeleteWordRight</h4> |
713 <h4>Shell.__QScintillaDeleteWordRight</h4> |
539 <b>__QScintillaDeleteWordRight</b>(<i></i>) |
714 <b>__QScintillaDeleteWordRight</b>(<i></i>) |
|
715 |
540 <p> |
716 <p> |
541 Private method to handle the Delete Word Right command. |
717 Private method to handle the Delete Word Right command. |
542 </p><a NAME="Shell.__QScintillaHistoryDown" ID="Shell.__QScintillaHistoryDown"></a> |
718 </p> |
|
719 <a NAME="Shell.__QScintillaHistoryDown" ID="Shell.__QScintillaHistoryDown"></a> |
543 <h4>Shell.__QScintillaHistoryDown</h4> |
720 <h4>Shell.__QScintillaHistoryDown</h4> |
544 <b>__QScintillaHistoryDown</b>(<i>cmd</i>) |
721 <b>__QScintillaHistoryDown</b>(<i>cmd</i>) |
|
722 |
545 <p> |
723 <p> |
546 Private method to handle the history down command. |
724 Private method to handle the history down command. |
547 </p><dl> |
725 </p> |
|
726 <dl> |
|
727 |
548 <dt><i>cmd</i></dt> |
728 <dt><i>cmd</i></dt> |
549 <dd> |
729 <dd> |
550 QScintilla command |
730 QScintilla command |
551 </dd> |
731 </dd> |
552 </dl><a NAME="Shell.__QScintillaHistoryUp" ID="Shell.__QScintillaHistoryUp"></a> |
732 </dl> |
|
733 <a NAME="Shell.__QScintillaHistoryUp" ID="Shell.__QScintillaHistoryUp"></a> |
553 <h4>Shell.__QScintillaHistoryUp</h4> |
734 <h4>Shell.__QScintillaHistoryUp</h4> |
554 <b>__QScintillaHistoryUp</b>(<i>cmd</i>) |
735 <b>__QScintillaHistoryUp</b>(<i>cmd</i>) |
|
736 |
555 <p> |
737 <p> |
556 Private method to handle the history up command. |
738 Private method to handle the history up command. |
557 </p><dl> |
739 </p> |
|
740 <dl> |
|
741 |
558 <dt><i>cmd</i></dt> |
742 <dt><i>cmd</i></dt> |
559 <dd> |
743 <dd> |
560 QScintilla command |
744 QScintilla command |
561 </dd> |
745 </dd> |
562 </dl><a NAME="Shell.__QScintillaLeftCommand" ID="Shell.__QScintillaLeftCommand"></a> |
746 </dl> |
|
747 <a NAME="Shell.__QScintillaLeftCommand" ID="Shell.__QScintillaLeftCommand"></a> |
563 <h4>Shell.__QScintillaLeftCommand</h4> |
748 <h4>Shell.__QScintillaLeftCommand</h4> |
564 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed=False</i>) |
749 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed=False</i>) |
|
750 |
565 <p> |
751 <p> |
566 Private method to handle a QScintilla command working to the left. |
752 Private method to handle a QScintilla command working to the left. |
567 </p><dl> |
753 </p> |
|
754 <dl> |
|
755 |
568 <dt><i>method</i></dt> |
756 <dt><i>method</i></dt> |
569 <dd> |
757 <dd> |
570 shell method to execute |
758 shell method to execute |
571 </dd><dt><i>allLinesAllowed</i></dt> |
759 </dd> |
|
760 <dt><i>allLinesAllowed</i></dt> |
572 <dd> |
761 <dd> |
573 flag indicating that the command may be executed |
762 flag indicating that the command may be executed |
574 on any line (boolean) |
763 on any line (boolean) |
575 </dd> |
764 </dd> |
576 </dl><a NAME="Shell.__QScintillaLeftDeleteCommand" ID="Shell.__QScintillaLeftDeleteCommand"></a> |
765 </dl> |
|
766 <a NAME="Shell.__QScintillaLeftDeleteCommand" ID="Shell.__QScintillaLeftDeleteCommand"></a> |
577 <h4>Shell.__QScintillaLeftDeleteCommand</h4> |
767 <h4>Shell.__QScintillaLeftDeleteCommand</h4> |
578 <b>__QScintillaLeftDeleteCommand</b>(<i>method</i>) |
768 <b>__QScintillaLeftDeleteCommand</b>(<i>method</i>) |
|
769 |
579 <p> |
770 <p> |
580 Private method to handle a QScintilla delete command working to |
771 Private method to handle a QScintilla delete command working to |
581 the left. |
772 the left. |
582 </p><dl> |
773 </p> |
|
774 <dl> |
|
775 |
583 <dt><i>method</i></dt> |
776 <dt><i>method</i></dt> |
584 <dd> |
777 <dd> |
585 shell method to execute |
778 shell method to execute |
586 </dd> |
779 </dd> |
587 </dl><a NAME="Shell.__QScintillaLineDown" ID="Shell.__QScintillaLineDown"></a> |
780 </dl> |
|
781 <a NAME="Shell.__QScintillaLineDown" ID="Shell.__QScintillaLineDown"></a> |
588 <h4>Shell.__QScintillaLineDown</h4> |
782 <h4>Shell.__QScintillaLineDown</h4> |
589 <b>__QScintillaLineDown</b>(<i>cmd</i>) |
783 <b>__QScintillaLineDown</b>(<i>cmd</i>) |
|
784 |
590 <p> |
785 <p> |
591 Private method to handle the cursor down command. |
786 Private method to handle the cursor down command. |
592 </p><dl> |
787 </p> |
|
788 <dl> |
|
789 |
593 <dt><i>cmd</i></dt> |
790 <dt><i>cmd</i></dt> |
594 <dd> |
791 <dd> |
595 QScintilla command |
792 QScintilla command |
596 </dd> |
793 </dd> |
597 </dl><a NAME="Shell.__QScintillaLineEnd" ID="Shell.__QScintillaLineEnd"></a> |
794 </dl> |
|
795 <a NAME="Shell.__QScintillaLineEnd" ID="Shell.__QScintillaLineEnd"></a> |
598 <h4>Shell.__QScintillaLineEnd</h4> |
796 <h4>Shell.__QScintillaLineEnd</h4> |
599 <b>__QScintillaLineEnd</b>(<i>cmd</i>) |
797 <b>__QScintillaLineEnd</b>(<i>cmd</i>) |
|
798 |
600 <p> |
799 <p> |
601 Private method to handle the End key. |
800 Private method to handle the End key. |
602 </p><dl> |
801 </p> |
|
802 <dl> |
|
803 |
603 <dt><i>cmd</i></dt> |
804 <dt><i>cmd</i></dt> |
604 <dd> |
805 <dd> |
605 QScintilla command |
806 QScintilla command |
606 </dd> |
807 </dd> |
607 </dl><a NAME="Shell.__QScintillaLineUp" ID="Shell.__QScintillaLineUp"></a> |
808 </dl> |
|
809 <a NAME="Shell.__QScintillaLineUp" ID="Shell.__QScintillaLineUp"></a> |
608 <h4>Shell.__QScintillaLineUp</h4> |
810 <h4>Shell.__QScintillaLineUp</h4> |
609 <b>__QScintillaLineUp</b>(<i>cmd</i>) |
811 <b>__QScintillaLineUp</b>(<i>cmd</i>) |
|
812 |
610 <p> |
813 <p> |
611 Private method to handle the cursor up command. |
814 Private method to handle the cursor up command. |
612 </p><dl> |
815 </p> |
|
816 <dl> |
|
817 |
613 <dt><i>cmd</i></dt> |
818 <dt><i>cmd</i></dt> |
614 <dd> |
819 <dd> |
615 QScintilla command |
820 QScintilla command |
616 </dd> |
821 </dd> |
617 </dl><a NAME="Shell.__QScintillaNewline" ID="Shell.__QScintillaNewline"></a> |
822 </dl> |
|
823 <a NAME="Shell.__QScintillaNewline" ID="Shell.__QScintillaNewline"></a> |
618 <h4>Shell.__QScintillaNewline</h4> |
824 <h4>Shell.__QScintillaNewline</h4> |
619 <b>__QScintillaNewline</b>(<i>cmd</i>) |
825 <b>__QScintillaNewline</b>(<i>cmd</i>) |
|
826 |
620 <p> |
827 <p> |
621 Private method to handle the Return key. |
828 Private method to handle the Return key. |
622 </p><dl> |
829 </p> |
|
830 <dl> |
|
831 |
623 <dt><i>cmd</i></dt> |
832 <dt><i>cmd</i></dt> |
624 <dd> |
833 <dd> |
625 QScintilla command |
834 QScintilla command |
626 </dd> |
835 </dd> |
627 </dl><a NAME="Shell.__QScintillaRightCommand" ID="Shell.__QScintillaRightCommand"></a> |
836 </dl> |
|
837 <a NAME="Shell.__QScintillaRightCommand" ID="Shell.__QScintillaRightCommand"></a> |
628 <h4>Shell.__QScintillaRightCommand</h4> |
838 <h4>Shell.__QScintillaRightCommand</h4> |
629 <b>__QScintillaRightCommand</b>(<i>method</i>) |
839 <b>__QScintillaRightCommand</b>(<i>method</i>) |
|
840 |
630 <p> |
841 <p> |
631 Private method to handle a QScintilla command working to the right. |
842 Private method to handle a QScintilla command working to the right. |
632 </p><dl> |
843 </p> |
|
844 <dl> |
|
845 |
633 <dt><i>method</i></dt> |
846 <dt><i>method</i></dt> |
634 <dd> |
847 <dd> |
635 shell method to execute |
848 shell method to execute |
636 </dd> |
849 </dd> |
637 </dl><a NAME="Shell.__QScintillaTab" ID="Shell.__QScintillaTab"></a> |
850 </dl> |
|
851 <a NAME="Shell.__QScintillaTab" ID="Shell.__QScintillaTab"></a> |
638 <h4>Shell.__QScintillaTab</h4> |
852 <h4>Shell.__QScintillaTab</h4> |
639 <b>__QScintillaTab</b>(<i>cmd</i>) |
853 <b>__QScintillaTab</b>(<i>cmd</i>) |
|
854 |
640 <p> |
855 <p> |
641 Private method to handle the Tab key. |
856 Private method to handle the Tab key. |
642 </p><dl> |
857 </p> |
|
858 <dl> |
|
859 |
643 <dt><i>cmd</i></dt> |
860 <dt><i>cmd</i></dt> |
644 <dd> |
861 <dd> |
645 QScintilla command |
862 QScintilla command |
646 </dd> |
863 </dd> |
647 </dl><a NAME="Shell.__QScintillaVCHome" ID="Shell.__QScintillaVCHome"></a> |
864 </dl> |
|
865 <a NAME="Shell.__QScintillaVCHome" ID="Shell.__QScintillaVCHome"></a> |
648 <h4>Shell.__QScintillaVCHome</h4> |
866 <h4>Shell.__QScintillaVCHome</h4> |
649 <b>__QScintillaVCHome</b>(<i>cmd</i>) |
867 <b>__QScintillaVCHome</b>(<i>cmd</i>) |
|
868 |
650 <p> |
869 <p> |
651 Private method to handle the Home key. |
870 Private method to handle the Home key. |
652 </p><dl> |
871 </p> |
|
872 <dl> |
|
873 |
653 <dt><i>cmd</i></dt> |
874 <dt><i>cmd</i></dt> |
654 <dd> |
875 <dd> |
655 QScintilla command |
876 QScintilla command |
656 </dd> |
877 </dd> |
657 </dl><a NAME="Shell.__QScintillaVCHomeExtend" ID="Shell.__QScintillaVCHomeExtend"></a> |
878 </dl> |
|
879 <a NAME="Shell.__QScintillaVCHomeExtend" ID="Shell.__QScintillaVCHomeExtend"></a> |
658 <h4>Shell.__QScintillaVCHomeExtend</h4> |
880 <h4>Shell.__QScintillaVCHomeExtend</h4> |
659 <b>__QScintillaVCHomeExtend</b>(<i></i>) |
881 <b>__QScintillaVCHomeExtend</b>(<i></i>) |
|
882 |
660 <p> |
883 <p> |
661 Private method to handle the Extend Selection to start of line command. |
884 Private method to handle the Extend Selection to start of line command. |
662 </p><a NAME="Shell.__QScintillaWordLeft" ID="Shell.__QScintillaWordLeft"></a> |
885 </p> |
|
886 <a NAME="Shell.__QScintillaWordLeft" ID="Shell.__QScintillaWordLeft"></a> |
663 <h4>Shell.__QScintillaWordLeft</h4> |
887 <h4>Shell.__QScintillaWordLeft</h4> |
664 <b>__QScintillaWordLeft</b>(<i></i>) |
888 <b>__QScintillaWordLeft</b>(<i></i>) |
|
889 |
665 <p> |
890 <p> |
666 Private method to handle the Cursor Word Left command. |
891 Private method to handle the Cursor Word Left command. |
667 </p><a NAME="Shell.__QScintillaWordLeftExtend" ID="Shell.__QScintillaWordLeftExtend"></a> |
892 </p> |
|
893 <a NAME="Shell.__QScintillaWordLeftExtend" ID="Shell.__QScintillaWordLeftExtend"></a> |
668 <h4>Shell.__QScintillaWordLeftExtend</h4> |
894 <h4>Shell.__QScintillaWordLeftExtend</h4> |
669 <b>__QScintillaWordLeftExtend</b>(<i></i>) |
895 <b>__QScintillaWordLeftExtend</b>(<i></i>) |
|
896 |
670 <p> |
897 <p> |
671 Private method to handle the Extend Selection Left one word command. |
898 Private method to handle the Extend Selection Left one word command. |
672 </p><a NAME="Shell.__QScintillaWordRight" ID="Shell.__QScintillaWordRight"></a> |
899 </p> |
|
900 <a NAME="Shell.__QScintillaWordRight" ID="Shell.__QScintillaWordRight"></a> |
673 <h4>Shell.__QScintillaWordRight</h4> |
901 <h4>Shell.__QScintillaWordRight</h4> |
674 <b>__QScintillaWordRight</b>(<i></i>) |
902 <b>__QScintillaWordRight</b>(<i></i>) |
|
903 |
675 <p> |
904 <p> |
676 Private method to handle the Cursor Word Right command. |
905 Private method to handle the Cursor Word Right command. |
677 </p><a NAME="Shell.__bindLexer" ID="Shell.__bindLexer"></a> |
906 </p> |
|
907 <a NAME="Shell.__bindLexer" ID="Shell.__bindLexer"></a> |
678 <h4>Shell.__bindLexer</h4> |
908 <h4>Shell.__bindLexer</h4> |
679 <b>__bindLexer</b>(<i>language='Python3'</i>) |
909 <b>__bindLexer</b>(<i>language='Python3'</i>) |
|
910 |
680 <p> |
911 <p> |
681 Private slot to set the lexer. |
912 Private slot to set the lexer. |
682 </p><dl> |
913 </p> |
|
914 <dl> |
|
915 |
683 <dt><i>language</i></dt> |
916 <dt><i>language</i></dt> |
684 <dd> |
917 <dd> |
685 lexer language to set (string) |
918 lexer language to set (string) |
686 </dd> |
919 </dd> |
687 </dl><a NAME="Shell.__clearCurrentLine" ID="Shell.__clearCurrentLine"></a> |
920 </dl> |
|
921 <a NAME="Shell.__clearCurrentLine" ID="Shell.__clearCurrentLine"></a> |
688 <h4>Shell.__clearCurrentLine</h4> |
922 <h4>Shell.__clearCurrentLine</h4> |
689 <b>__clearCurrentLine</b>(<i></i>) |
923 <b>__clearCurrentLine</b>(<i></i>) |
|
924 |
690 <p> |
925 <p> |
691 Private method to clear the line containing the cursor. |
926 Private method to clear the line containing the cursor. |
692 </p><a NAME="Shell.__clientCapabilities" ID="Shell.__clientCapabilities"></a> |
927 </p> |
|
928 <a NAME="Shell.__clientCapabilities" ID="Shell.__clientCapabilities"></a> |
693 <h4>Shell.__clientCapabilities</h4> |
929 <h4>Shell.__clientCapabilities</h4> |
694 <b>__clientCapabilities</b>(<i>cap, clType, venvName</i>) |
930 <b>__clientCapabilities</b>(<i>cap, clType, venvName</i>) |
|
931 |
695 <p> |
932 <p> |
696 Private slot to handle the reporting of the clients capabilities. |
933 Private slot to handle the reporting of the clients capabilities. |
697 </p><dl> |
934 </p> |
|
935 <dl> |
|
936 |
698 <dt><i>cap</i> (int)</dt> |
937 <dt><i>cap</i> (int)</dt> |
699 <dd> |
938 <dd> |
700 client capabilities |
939 client capabilities |
701 </dd><dt><i>clType</i> (str)</dt> |
940 </dd> |
|
941 <dt><i>clType</i> (str)</dt> |
702 <dd> |
942 <dd> |
703 type of the debug client |
943 type of the debug client |
704 </dd><dt><i>venvName</i> (str)</dt> |
944 </dd> |
|
945 <dt><i>venvName</i> (str)</dt> |
705 <dd> |
946 <dd> |
706 name of the virtual environment |
947 name of the virtual environment |
707 </dd> |
948 </dd> |
708 </dl><a NAME="Shell.__clientError" ID="Shell.__clientError"></a> |
949 </dl> |
|
950 <a NAME="Shell.__clientError" ID="Shell.__clientError"></a> |
709 <h4>Shell.__clientError</h4> |
951 <h4>Shell.__clientError</h4> |
710 <b>__clientError</b>(<i></i>) |
952 <b>__clientError</b>(<i></i>) |
|
953 |
711 <p> |
954 <p> |
712 Private method to handle an error in the client. |
955 Private method to handle an error in the client. |
713 </p><a NAME="Shell.__clientException" ID="Shell.__clientException"></a> |
956 </p> |
|
957 <a NAME="Shell.__clientException" ID="Shell.__clientException"></a> |
714 <h4>Shell.__clientException</h4> |
958 <h4>Shell.__clientException</h4> |
715 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>) |
959 <b>__clientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>) |
|
960 |
716 <p> |
961 <p> |
717 Private method to handle an exception of the client. |
962 Private method to handle an exception of the client. |
718 </p><dl> |
963 </p> |
|
964 <dl> |
|
965 |
719 <dt><i>exceptionType</i></dt> |
966 <dt><i>exceptionType</i></dt> |
720 <dd> |
967 <dd> |
721 type of exception raised (string) |
968 type of exception raised (string) |
722 </dd><dt><i>exceptionMessage</i></dt> |
969 </dd> |
|
970 <dt><i>exceptionMessage</i></dt> |
723 <dd> |
971 <dd> |
724 message given by the exception (string) |
972 message given by the exception (string) |
725 </dd><dt><i>stackTrace</i></dt> |
973 </dd> |
|
974 <dt><i>stackTrace</i></dt> |
726 <dd> |
975 <dd> |
727 list of stack entries (list of string) |
976 list of stack entries (list of string) |
728 </dd> |
977 </dd> |
729 </dl><a NAME="Shell.__clientSignal" ID="Shell.__clientSignal"></a> |
978 </dl> |
|
979 <a NAME="Shell.__clientSignal" ID="Shell.__clientSignal"></a> |
730 <h4>Shell.__clientSignal</h4> |
980 <h4>Shell.__clientSignal</h4> |
731 <b>__clientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs</i>) |
981 <b>__clientSignal</b>(<i>message, filename, lineNo, funcName, funcArgs</i>) |
|
982 |
732 <p> |
983 <p> |
733 Private method to handle a signal generated on the client side. |
984 Private method to handle a signal generated on the client side. |
734 </p><dl> |
985 </p> |
|
986 <dl> |
|
987 |
735 <dt><i>message</i> (str)</dt> |
988 <dt><i>message</i> (str)</dt> |
736 <dd> |
989 <dd> |
737 message of the syntax error |
990 message of the syntax error |
738 </dd><dt><i>filename</i> (str)</dt> |
991 </dd> |
|
992 <dt><i>filename</i> (str)</dt> |
739 <dd> |
993 <dd> |
740 translated filename of the syntax error position |
994 translated filename of the syntax error position |
741 </dd><dt><i>lineNo</i> (int)</dt> |
995 </dd> |
|
996 <dt><i>lineNo</i> (int)</dt> |
742 <dd> |
997 <dd> |
743 line number of the syntax error position |
998 line number of the syntax error position |
744 </dd><dt><i>funcName</i> (str)</dt> |
999 </dd> |
|
1000 <dt><i>funcName</i> (str)</dt> |
745 <dd> |
1001 <dd> |
746 name of the function causing the signal |
1002 name of the function causing the signal |
747 </dd><dt><i>funcArgs</i> (str)</dt> |
1003 </dd> |
|
1004 <dt><i>funcArgs</i> (str)</dt> |
748 <dd> |
1005 <dd> |
749 function arguments |
1006 function arguments |
750 </dd> |
1007 </dd> |
751 </dl><a NAME="Shell.__clientStatement" ID="Shell.__clientStatement"></a> |
1008 </dl> |
|
1009 <a NAME="Shell.__clientStatement" ID="Shell.__clientStatement"></a> |
752 <h4>Shell.__clientStatement</h4> |
1010 <h4>Shell.__clientStatement</h4> |
753 <b>__clientStatement</b>(<i>more</i>) |
1011 <b>__clientStatement</b>(<i>more</i>) |
|
1012 |
754 <p> |
1013 <p> |
755 Private method to handle the response from the debugger client. |
1014 Private method to handle the response from the debugger client. |
756 </p><dl> |
1015 </p> |
|
1016 <dl> |
|
1017 |
757 <dt><i>more</i></dt> |
1018 <dt><i>more</i></dt> |
758 <dd> |
1019 <dd> |
759 flag indicating that more user input is required (boolean) |
1020 flag indicating that more user input is required (boolean) |
760 </dd> |
1021 </dd> |
761 </dl><a NAME="Shell.__clientSyntaxError" ID="Shell.__clientSyntaxError"></a> |
1022 </dl> |
|
1023 <a NAME="Shell.__clientSyntaxError" ID="Shell.__clientSyntaxError"></a> |
762 <h4>Shell.__clientSyntaxError</h4> |
1024 <h4>Shell.__clientSyntaxError</h4> |
763 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>) |
1025 <b>__clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>) |
|
1026 |
764 <p> |
1027 <p> |
765 Private method to handle a syntax error in the debugged program. |
1028 Private method to handle a syntax error in the debugged program. |
766 </p><dl> |
1029 </p> |
|
1030 <dl> |
|
1031 |
767 <dt><i>message</i></dt> |
1032 <dt><i>message</i></dt> |
768 <dd> |
1033 <dd> |
769 message of the syntax error (string) |
1034 message of the syntax error (string) |
770 </dd><dt><i>filename</i></dt> |
1035 </dd> |
|
1036 <dt><i>filename</i></dt> |
771 <dd> |
1037 <dd> |
772 translated filename of the syntax error position |
1038 translated filename of the syntax error position |
773 (string) |
1039 (string) |
774 </dd><dt><i>lineNo</i></dt> |
1040 </dd> |
|
1041 <dt><i>lineNo</i></dt> |
775 <dd> |
1042 <dd> |
776 line number of the syntax error position (integer) |
1043 line number of the syntax error position (integer) |
777 </dd><dt><i>characterNo</i></dt> |
1044 </dd> |
|
1045 <dt><i>characterNo</i></dt> |
778 <dd> |
1046 <dd> |
779 character number of the syntax error position |
1047 character number of the syntax error position |
780 (integer) |
1048 (integer) |
781 </dd> |
1049 </dd> |
782 </dl><a NAME="Shell.__completionListSelected" ID="Shell.__completionListSelected"></a> |
1050 </dl> |
|
1051 <a NAME="Shell.__completionListSelected" ID="Shell.__completionListSelected"></a> |
783 <h4>Shell.__completionListSelected</h4> |
1052 <h4>Shell.__completionListSelected</h4> |
784 <b>__completionListSelected</b>(<i>listId, txt</i>) |
1053 <b>__completionListSelected</b>(<i>listId, txt</i>) |
|
1054 |
785 <p> |
1055 <p> |
786 Private slot to handle the selection from the completion list. |
1056 Private slot to handle the selection from the completion list. |
787 </p><dl> |
1057 </p> |
|
1058 <dl> |
|
1059 |
788 <dt><i>listId</i></dt> |
1060 <dt><i>listId</i></dt> |
789 <dd> |
1061 <dd> |
790 the ID of the user list (should be 1) (integer) |
1062 the ID of the user list (should be 1) (integer) |
791 </dd><dt><i>txt</i></dt> |
1063 </dd> |
|
1064 <dt><i>txt</i></dt> |
792 <dd> |
1065 <dd> |
793 the selected text (string) |
1066 the selected text (string) |
794 </dd> |
1067 </dd> |
795 </dl><a NAME="Shell.__concatenateText" ID="Shell.__concatenateText"></a> |
1068 </dl> |
|
1069 <a NAME="Shell.__concatenateText" ID="Shell.__concatenateText"></a> |
796 <h4>Shell.__concatenateText</h4> |
1070 <h4>Shell.__concatenateText</h4> |
797 <b>__concatenateText</b>(<i>text</i>) |
1071 <b>__concatenateText</b>(<i>text</i>) |
|
1072 |
798 <p> |
1073 <p> |
799 Private slot to queue text and process it in one step. |
1074 Private slot to queue text and process it in one step. |
800 </p><dl> |
1075 </p> |
|
1076 <dl> |
|
1077 |
801 <dt><i>text</i> (str)</dt> |
1078 <dt><i>text</i> (str)</dt> |
802 <dd> |
1079 <dd> |
803 text to be appended |
1080 text to be appended |
804 </dd> |
1081 </dd> |
805 </dl><a NAME="Shell.__configure" ID="Shell.__configure"></a> |
1082 </dl> |
|
1083 <a NAME="Shell.__configure" ID="Shell.__configure"></a> |
806 <h4>Shell.__configure</h4> |
1084 <h4>Shell.__configure</h4> |
807 <b>__configure</b>(<i></i>) |
1085 <b>__configure</b>(<i></i>) |
|
1086 |
808 <p> |
1087 <p> |
809 Private method to open the configuration dialog. |
1088 Private method to open the configuration dialog. |
810 </p><a NAME="Shell.__executeCommand" ID="Shell.__executeCommand"></a> |
1089 </p> |
|
1090 <a NAME="Shell.__executeCommand" ID="Shell.__executeCommand"></a> |
811 <h4>Shell.__executeCommand</h4> |
1091 <h4>Shell.__executeCommand</h4> |
812 <b>__executeCommand</b>(<i>cmd, historyIndex=None</i>) |
1092 <b>__executeCommand</b>(<i>cmd, historyIndex=None</i>) |
|
1093 |
813 <p> |
1094 <p> |
814 Private slot to execute a command. |
1095 Private slot to execute a command. |
815 </p><dl> |
1096 </p> |
|
1097 <dl> |
|
1098 |
816 <dt><i>cmd</i> (str)</dt> |
1099 <dt><i>cmd</i> (str)</dt> |
817 <dd> |
1100 <dd> |
818 command to be executed by debug client |
1101 command to be executed by debug client |
819 </dd><dt><i>historyIndex</i> (int)</dt> |
1102 </dd> |
|
1103 <dt><i>historyIndex</i> (int)</dt> |
820 <dd> |
1104 <dd> |
821 history index to be set |
1105 history index to be set |
822 </dd> |
1106 </dd> |
823 </dl><a NAME="Shell.__find" ID="Shell.__find"></a> |
1107 </dl> |
|
1108 <a NAME="Shell.__find" ID="Shell.__find"></a> |
824 <h4>Shell.__find</h4> |
1109 <h4>Shell.__find</h4> |
825 <b>__find</b>(<i></i>) |
1110 <b>__find</b>(<i></i>) |
|
1111 |
826 <p> |
1112 <p> |
827 Private slot to show the find widget. |
1113 Private slot to show the find widget. |
828 </p><a NAME="Shell.__getBanner" ID="Shell.__getBanner"></a> |
1114 </p> |
|
1115 <a NAME="Shell.__getBanner" ID="Shell.__getBanner"></a> |
829 <h4>Shell.__getBanner</h4> |
1116 <h4>Shell.__getBanner</h4> |
830 <b>__getBanner</b>(<i></i>) |
1117 <b>__getBanner</b>(<i></i>) |
|
1118 |
831 <p> |
1119 <p> |
832 Private method to get the banner for the remote interpreter. |
1120 Private method to get the banner for the remote interpreter. |
833 </p><p> |
1121 </p> |
|
1122 <p> |
834 It requests the interpreter version and platform running on the |
1123 It requests the interpreter version and platform running on the |
835 debug client side. |
1124 debug client side. |
836 </p><a NAME="Shell.__getEndPos" ID="Shell.__getEndPos"></a> |
1125 </p> |
|
1126 <a NAME="Shell.__getEndPos" ID="Shell.__getEndPos"></a> |
837 <h4>Shell.__getEndPos</h4> |
1127 <h4>Shell.__getEndPos</h4> |
838 <b>__getEndPos</b>(<i></i>) |
1128 <b>__getEndPos</b>(<i></i>) |
|
1129 |
839 <p> |
1130 <p> |
840 Private method to return the line and column of the last character. |
1131 Private method to return the line and column of the last character. |
841 </p><dl> |
1132 </p> |
|
1133 <dl> |
842 <dt>Returns:</dt> |
1134 <dt>Returns:</dt> |
843 <dd> |
1135 <dd> |
844 tuple of two values (int, int) giving the line and column |
1136 tuple of two values (int, int) giving the line and column |
845 </dd> |
1137 </dd> |
846 </dl><a NAME="Shell.__indentLength" ID="Shell.__indentLength"></a> |
1138 </dl> |
|
1139 <a NAME="Shell.__indentLength" ID="Shell.__indentLength"></a> |
847 <h4>Shell.__indentLength</h4> |
1140 <h4>Shell.__indentLength</h4> |
848 <b>__indentLength</b>(<i>line</i>) |
1141 <b>__indentLength</b>(<i>line</i>) |
|
1142 |
849 <p> |
1143 <p> |
850 Private method to determine the indentation length of the given line. |
1144 Private method to determine the indentation length of the given line. |
851 </p><dl> |
1145 </p> |
|
1146 <dl> |
|
1147 |
852 <dt><i>line</i> (str)</dt> |
1148 <dt><i>line</i> (str)</dt> |
853 <dd> |
1149 <dd> |
854 line to determine the indentation length for |
1150 line to determine the indentation length for |
855 </dd> |
1151 </dd> |
856 </dl><dl> |
1152 </dl> |
|
1153 <dl> |
857 <dt>Returns:</dt> |
1154 <dt>Returns:</dt> |
858 <dd> |
1155 <dd> |
859 indentation length |
1156 indentation length |
860 </dd> |
1157 </dd> |
861 </dl><dl> |
1158 </dl> |
|
1159 <dl> |
862 <dt>Return Type:</dt> |
1160 <dt>Return Type:</dt> |
863 <dd> |
1161 <dd> |
864 int |
1162 int |
865 </dd> |
1163 </dd> |
866 </dl><a NAME="Shell.__initialise" ID="Shell.__initialise"></a> |
1164 </dl> |
|
1165 <a NAME="Shell.__initialise" ID="Shell.__initialise"></a> |
867 <h4>Shell.__initialise</h4> |
1166 <h4>Shell.__initialise</h4> |
868 <b>__initialise</b>(<i></i>) |
1167 <b>__initialise</b>(<i></i>) |
|
1168 |
869 <p> |
1169 <p> |
870 Private method to get ready for a new remote interpreter. |
1170 Private method to get ready for a new remote interpreter. |
871 </p><a NAME="Shell.__insertHistory" ID="Shell.__insertHistory"></a> |
1171 </p> |
|
1172 <a NAME="Shell.__insertHistory" ID="Shell.__insertHistory"></a> |
872 <h4>Shell.__insertHistory</h4> |
1173 <h4>Shell.__insertHistory</h4> |
873 <b>__insertHistory</b>(<i>cmd</i>) |
1174 <b>__insertHistory</b>(<i>cmd</i>) |
|
1175 |
874 <p> |
1176 <p> |
875 Private method to insert a command selected from the history. |
1177 Private method to insert a command selected from the history. |
876 </p><dl> |
1178 </p> |
|
1179 <dl> |
|
1180 |
877 <dt><i>cmd</i></dt> |
1181 <dt><i>cmd</i></dt> |
878 <dd> |
1182 <dd> |
879 history entry to be inserted (string) |
1183 history entry to be inserted (string) |
880 </dd> |
1184 </dd> |
881 </dl><a NAME="Shell.__insertText" ID="Shell.__insertText"></a> |
1185 </dl> |
|
1186 <a NAME="Shell.__insertText" ID="Shell.__insertText"></a> |
882 <h4>Shell.__insertText</h4> |
1187 <h4>Shell.__insertText</h4> |
883 <b>__insertText</b>(<i>s</i>) |
1188 <b>__insertText</b>(<i>s</i>) |
|
1189 |
884 <p> |
1190 <p> |
885 Private method to insert some text at the current cursor position. |
1191 Private method to insert some text at the current cursor position. |
886 </p><dl> |
1192 </p> |
|
1193 <dl> |
|
1194 |
887 <dt><i>s</i></dt> |
1195 <dt><i>s</i></dt> |
888 <dd> |
1196 <dd> |
889 text to be inserted (string) |
1197 text to be inserted (string) |
890 </dd> |
1198 </dd> |
891 </dl><a NAME="Shell.__insertTextAtEnd" ID="Shell.__insertTextAtEnd"></a> |
1199 </dl> |
|
1200 <a NAME="Shell.__insertTextAtEnd" ID="Shell.__insertTextAtEnd"></a> |
892 <h4>Shell.__insertTextAtEnd</h4> |
1201 <h4>Shell.__insertTextAtEnd</h4> |
893 <b>__insertTextAtEnd</b>(<i>s</i>) |
1202 <b>__insertTextAtEnd</b>(<i>s</i>) |
|
1203 |
894 <p> |
1204 <p> |
895 Private method to insert some text at the end of the command line. |
1205 Private method to insert some text at the end of the command line. |
896 </p><dl> |
1206 </p> |
|
1207 <dl> |
|
1208 |
897 <dt><i>s</i></dt> |
1209 <dt><i>s</i></dt> |
898 <dd> |
1210 <dd> |
899 text to be inserted (string) |
1211 text to be inserted (string) |
900 </dd> |
1212 </dd> |
901 </dl><a NAME="Shell.__insertTextNoEcho" ID="Shell.__insertTextNoEcho"></a> |
1213 </dl> |
|
1214 <a NAME="Shell.__insertTextNoEcho" ID="Shell.__insertTextNoEcho"></a> |
902 <h4>Shell.__insertTextNoEcho</h4> |
1215 <h4>Shell.__insertTextNoEcho</h4> |
903 <b>__insertTextNoEcho</b>(<i>s</i>) |
1216 <b>__insertTextNoEcho</b>(<i>s</i>) |
|
1217 |
904 <p> |
1218 <p> |
905 Private method to insert some text at the end of the buffer without |
1219 Private method to insert some text at the end of the buffer without |
906 echoing it. |
1220 echoing it. |
907 </p><dl> |
1221 </p> |
|
1222 <dl> |
|
1223 |
908 <dt><i>s</i></dt> |
1224 <dt><i>s</i></dt> |
909 <dd> |
1225 <dd> |
910 text to be inserted (string) |
1226 text to be inserted (string) |
911 </dd> |
1227 </dd> |
912 </dl><a NAME="Shell.__isCursorOnLastLine" ID="Shell.__isCursorOnLastLine"></a> |
1228 </dl> |
|
1229 <a NAME="Shell.__isCursorOnLastLine" ID="Shell.__isCursorOnLastLine"></a> |
913 <h4>Shell.__isCursorOnLastLine</h4> |
1230 <h4>Shell.__isCursorOnLastLine</h4> |
914 <b>__isCursorOnLastLine</b>(<i></i>) |
1231 <b>__isCursorOnLastLine</b>(<i></i>) |
|
1232 |
915 <p> |
1233 <p> |
916 Private method to check, if the cursor is on the last line. |
1234 Private method to check, if the cursor is on the last line. |
917 </p><dl> |
1235 </p> |
|
1236 <dl> |
918 <dt>Returns:</dt> |
1237 <dt>Returns:</dt> |
919 <dd> |
1238 <dd> |
920 flag indicating that the cursor is on the last line (boolean) |
1239 flag indicating that the cursor is on the last line (boolean) |
921 </dd> |
1240 </dd> |
922 </dl><a NAME="Shell.__isHistoryIndexValid" ID="Shell.__isHistoryIndexValid"></a> |
1241 </dl> |
|
1242 <a NAME="Shell.__isHistoryIndexValid" ID="Shell.__isHistoryIndexValid"></a> |
923 <h4>Shell.__isHistoryIndexValid</h4> |
1243 <h4>Shell.__isHistoryIndexValid</h4> |
924 <b>__isHistoryIndexValid</b>(<i></i>) |
1244 <b>__isHistoryIndexValid</b>(<i></i>) |
|
1245 |
925 <p> |
1246 <p> |
926 Private method to test, if the history index is valid. |
1247 Private method to test, if the history index is valid. |
927 </p><dl> |
1248 </p> |
|
1249 <dl> |
928 <dt>Returns:</dt> |
1250 <dt>Returns:</dt> |
929 <dd> |
1251 <dd> |
930 flag indicating validity |
1252 flag indicating validity |
931 </dd> |
1253 </dd> |
932 </dl><dl> |
1254 </dl> |
|
1255 <dl> |
933 <dt>Return Type:</dt> |
1256 <dt>Return Type:</dt> |
934 <dd> |
1257 <dd> |
935 bool |
1258 bool |
936 </dd> |
1259 </dd> |
937 </dl><a NAME="Shell.__middleMouseButton" ID="Shell.__middleMouseButton"></a> |
1260 </dl> |
|
1261 <a NAME="Shell.__middleMouseButton" ID="Shell.__middleMouseButton"></a> |
938 <h4>Shell.__middleMouseButton</h4> |
1262 <h4>Shell.__middleMouseButton</h4> |
939 <b>__middleMouseButton</b>(<i></i>) |
1263 <b>__middleMouseButton</b>(<i></i>) |
|
1264 |
940 <p> |
1265 <p> |
941 Private method to handle the middle mouse button press. |
1266 Private method to handle the middle mouse button press. |
942 </p><a NAME="Shell.__projectClosed" ID="Shell.__projectClosed"></a> |
1267 </p> |
|
1268 <a NAME="Shell.__projectClosed" ID="Shell.__projectClosed"></a> |
943 <h4>Shell.__projectClosed</h4> |
1269 <h4>Shell.__projectClosed</h4> |
944 <b>__projectClosed</b>(<i></i>) |
1270 <b>__projectClosed</b>(<i></i>) |
|
1271 |
945 <p> |
1272 <p> |
946 Private slot to restart the default shell when the project is closed. |
1273 Private slot to restart the default shell when the project is closed. |
947 </p><a NAME="Shell.__projectOpened" ID="Shell.__projectOpened"></a> |
1274 </p> |
|
1275 <a NAME="Shell.__projectOpened" ID="Shell.__projectOpened"></a> |
948 <h4>Shell.__projectOpened</h4> |
1276 <h4>Shell.__projectOpened</h4> |
949 <b>__projectOpened</b>(<i></i>) |
1277 <b>__projectOpened</b>(<i></i>) |
|
1278 |
950 <p> |
1279 <p> |
951 Private slot to start the shell for the opened project. |
1280 Private slot to start the shell for the opened project. |
952 </p><a NAME="Shell.__raw_input" ID="Shell.__raw_input"></a> |
1281 </p> |
|
1282 <a NAME="Shell.__raw_input" ID="Shell.__raw_input"></a> |
953 <h4>Shell.__raw_input</h4> |
1283 <h4>Shell.__raw_input</h4> |
954 <b>__raw_input</b>(<i>s, echo</i>) |
1284 <b>__raw_input</b>(<i>s, echo</i>) |
|
1285 |
955 <p> |
1286 <p> |
956 Private method to handle raw input. |
1287 Private method to handle raw input. |
957 </p><dl> |
1288 </p> |
|
1289 <dl> |
|
1290 |
958 <dt><i>s</i></dt> |
1291 <dt><i>s</i></dt> |
959 <dd> |
1292 <dd> |
960 prompt to be displayed (string) |
1293 prompt to be displayed (string) |
961 </dd><dt><i>echo</i></dt> |
1294 </dd> |
|
1295 <dt><i>echo</i></dt> |
962 <dd> |
1296 <dd> |
963 Flag indicating echoing of the input (boolean) |
1297 Flag indicating echoing of the input (boolean) |
964 </dd> |
1298 </dd> |
965 </dl><a NAME="Shell.__resetIncrementalHistorySearch" ID="Shell.__resetIncrementalHistorySearch"></a> |
1299 </dl> |
|
1300 <a NAME="Shell.__resetIncrementalHistorySearch" ID="Shell.__resetIncrementalHistorySearch"></a> |
966 <h4>Shell.__resetIncrementalHistorySearch</h4> |
1301 <h4>Shell.__resetIncrementalHistorySearch</h4> |
967 <b>__resetIncrementalHistorySearch</b>(<i></i>) |
1302 <b>__resetIncrementalHistorySearch</b>(<i></i>) |
|
1303 |
968 <p> |
1304 <p> |
969 Private method to reset the incremental history search. |
1305 Private method to reset the incremental history search. |
970 </p><a NAME="Shell.__resizeLinenoMargin" ID="Shell.__resizeLinenoMargin"></a> |
1306 </p> |
|
1307 <a NAME="Shell.__resizeLinenoMargin" ID="Shell.__resizeLinenoMargin"></a> |
971 <h4>Shell.__resizeLinenoMargin</h4> |
1308 <h4>Shell.__resizeLinenoMargin</h4> |
972 <b>__resizeLinenoMargin</b>(<i></i>) |
1309 <b>__resizeLinenoMargin</b>(<i></i>) |
|
1310 |
973 <p> |
1311 <p> |
974 Private slot to resize the line numbers margin. |
1312 Private slot to resize the line numbers margin. |
975 </p><a NAME="Shell.__rsearchHistory" ID="Shell.__rsearchHistory"></a> |
1313 </p> |
|
1314 <a NAME="Shell.__rsearchHistory" ID="Shell.__rsearchHistory"></a> |
976 <h4>Shell.__rsearchHistory</h4> |
1315 <h4>Shell.__rsearchHistory</h4> |
977 <b>__rsearchHistory</b>(<i>txt, startIdx=-1</i>) |
1316 <b>__rsearchHistory</b>(<i>txt, startIdx=-1</i>) |
|
1317 |
978 <p> |
1318 <p> |
979 Private method used to reverse search the history. |
1319 Private method used to reverse search the history. |
980 </p><dl> |
1320 </p> |
|
1321 <dl> |
|
1322 |
981 <dt><i>txt</i> (str)</dt> |
1323 <dt><i>txt</i> (str)</dt> |
982 <dd> |
1324 <dd> |
983 text to match at the beginning |
1325 text to match at the beginning |
984 </dd><dt><i>startIdx</i> (int)</dt> |
1326 </dd> |
|
1327 <dt><i>startIdx</i> (int)</dt> |
985 <dd> |
1328 <dd> |
986 index to start search from |
1329 index to start search from |
987 </dd> |
1330 </dd> |
988 </dl><dl> |
1331 </dl> |
|
1332 <dl> |
989 <dt>Returns:</dt> |
1333 <dt>Returns:</dt> |
990 <dd> |
1334 <dd> |
991 tuple containing the index of found entry and a flag indicating |
1335 tuple containing the index of found entry and a flag indicating |
992 that something was found |
1336 that something was found |
993 </dd> |
1337 </dd> |
994 </dl><dl> |
1338 </dl> |
|
1339 <dl> |
995 <dt>Return Type:</dt> |
1340 <dt>Return Type:</dt> |
996 <dd> |
1341 <dd> |
997 tuple of (int, bool) |
1342 tuple of (int, bool) |
998 </dd> |
1343 </dd> |
999 </dl><a NAME="Shell.__searchHistory" ID="Shell.__searchHistory"></a> |
1344 </dl> |
|
1345 <a NAME="Shell.__searchHistory" ID="Shell.__searchHistory"></a> |
1000 <h4>Shell.__searchHistory</h4> |
1346 <h4>Shell.__searchHistory</h4> |
1001 <b>__searchHistory</b>(<i>txt, startIdx=-1</i>) |
1347 <b>__searchHistory</b>(<i>txt, startIdx=-1</i>) |
|
1348 |
1002 <p> |
1349 <p> |
1003 Private method used to search the history. |
1350 Private method used to search the history. |
1004 </p><dl> |
1351 </p> |
|
1352 <dl> |
|
1353 |
1005 <dt><i>txt</i> (str)</dt> |
1354 <dt><i>txt</i> (str)</dt> |
1006 <dd> |
1355 <dd> |
1007 text to match at the beginning |
1356 text to match at the beginning |
1008 </dd><dt><i>startIdx</i> (int)</dt> |
1357 </dd> |
|
1358 <dt><i>startIdx</i> (int)</dt> |
1009 <dd> |
1359 <dd> |
1010 index to start search from |
1360 index to start search from |
1011 </dd> |
1361 </dd> |
1012 </dl><dl> |
1362 </dl> |
|
1363 <dl> |
1013 <dt>Returns:</dt> |
1364 <dt>Returns:</dt> |
1014 <dd> |
1365 <dd> |
1015 tuple containing the index of found entry and a flag indicating |
1366 tuple containing the index of found entry and a flag indicating |
1016 that something was found |
1367 that something was found |
1017 </dd> |
1368 </dd> |
1018 </dl><dl> |
1369 </dl> |
|
1370 <dl> |
1019 <dt>Return Type:</dt> |
1371 <dt>Return Type:</dt> |
1020 <dd> |
1372 <dd> |
1021 tuple of (int, bool) |
1373 tuple of (int, bool) |
1022 </dd> |
1374 </dd> |
1023 </dl><a NAME="Shell.__searchNext" ID="Shell.__searchNext"></a> |
1375 </dl> |
|
1376 <a NAME="Shell.__searchNext" ID="Shell.__searchNext"></a> |
1024 <h4>Shell.__searchNext</h4> |
1377 <h4>Shell.__searchNext</h4> |
1025 <b>__searchNext</b>(<i></i>) |
1378 <b>__searchNext</b>(<i></i>) |
|
1379 |
1026 <p> |
1380 <p> |
1027 Private method to search for the next occurrence. |
1381 Private method to search for the next occurrence. |
1028 </p><a NAME="Shell.__searchPrev" ID="Shell.__searchPrev"></a> |
1382 </p> |
|
1383 <a NAME="Shell.__searchPrev" ID="Shell.__searchPrev"></a> |
1029 <h4>Shell.__searchPrev</h4> |
1384 <h4>Shell.__searchPrev</h4> |
1030 <b>__searchPrev</b>(<i></i>) |
1385 <b>__searchPrev</b>(<i></i>) |
|
1386 |
1031 <p> |
1387 <p> |
1032 Private method to search for the next occurrence. |
1388 Private method to search for the next occurrence. |
1033 </p><a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a> |
1389 </p> |
|
1390 <a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a> |
1034 <h4>Shell.__setAutoCompletion</h4> |
1391 <h4>Shell.__setAutoCompletion</h4> |
1035 <b>__setAutoCompletion</b>(<i>language='Python'</i>) |
1392 <b>__setAutoCompletion</b>(<i>language='Python'</i>) |
|
1393 |
1036 <p> |
1394 <p> |
1037 Private method to configure the autocompletion function. |
1395 Private method to configure the autocompletion function. |
1038 </p><dl> |
1396 </p> |
|
1397 <dl> |
|
1398 |
1039 <dt><i>language</i></dt> |
1399 <dt><i>language</i></dt> |
1040 <dd> |
1400 <dd> |
1041 of the autocompletion set to set (string) |
1401 of the autocompletion set to set (string) |
1042 </dd> |
1402 </dd> |
1043 </dl><a NAME="Shell.__setCallTips" ID="Shell.__setCallTips"></a> |
1403 </dl> |
|
1404 <a NAME="Shell.__setCallTips" ID="Shell.__setCallTips"></a> |
1044 <h4>Shell.__setCallTips</h4> |
1405 <h4>Shell.__setCallTips</h4> |
1045 <b>__setCallTips</b>(<i>language='Python'</i>) |
1406 <b>__setCallTips</b>(<i>language='Python'</i>) |
|
1407 |
1046 <p> |
1408 <p> |
1047 Private method to configure the calltips function. |
1409 Private method to configure the calltips function. |
1048 </p><dl> |
1410 </p> |
|
1411 <dl> |
|
1412 |
1049 <dt><i>language</i></dt> |
1413 <dt><i>language</i></dt> |
1050 <dd> |
1414 <dd> |
1051 of the calltips set to set (string) |
1415 of the calltips set to set (string) |
1052 </dd> |
1416 </dd> |
1053 </dl><a NAME="Shell.__setHistoryIndex" ID="Shell.__setHistoryIndex"></a> |
1417 </dl> |
|
1418 <a NAME="Shell.__setHistoryIndex" ID="Shell.__setHistoryIndex"></a> |
1054 <h4>Shell.__setHistoryIndex</h4> |
1419 <h4>Shell.__setHistoryIndex</h4> |
1055 <b>__setHistoryIndex</b>(<i>index=None</i>) |
1420 <b>__setHistoryIndex</b>(<i>index=None</i>) |
|
1421 |
1056 <p> |
1422 <p> |
1057 Private method to set the initial history index. |
1423 Private method to set the initial history index. |
1058 </p><dl> |
1424 </p> |
|
1425 <dl> |
|
1426 |
1059 <dt><i>index</i> (int or None)</dt> |
1427 <dt><i>index</i> (int or None)</dt> |
1060 <dd> |
1428 <dd> |
1061 index value to be set |
1429 index value to be set |
1062 </dd> |
1430 </dd> |
1063 </dl><a NAME="Shell.__setMargin0" ID="Shell.__setMargin0"></a> |
1431 </dl> |
|
1432 <a NAME="Shell.__setMargin0" ID="Shell.__setMargin0"></a> |
1064 <h4>Shell.__setMargin0</h4> |
1433 <h4>Shell.__setMargin0</h4> |
1065 <b>__setMargin0</b>(<i></i>) |
1434 <b>__setMargin0</b>(<i></i>) |
|
1435 |
1066 <p> |
1436 <p> |
1067 Private method to configure margin 0. |
1437 Private method to configure margin 0. |
1068 </p><a NAME="Shell.__setMonospaced" ID="Shell.__setMonospaced"></a> |
1438 </p> |
|
1439 <a NAME="Shell.__setMonospaced" ID="Shell.__setMonospaced"></a> |
1069 <h4>Shell.__setMonospaced</h4> |
1440 <h4>Shell.__setMonospaced</h4> |
1070 <b>__setMonospaced</b>(<i>on</i>) |
1441 <b>__setMonospaced</b>(<i>on</i>) |
|
1442 |
1071 <p> |
1443 <p> |
1072 Private method to set/reset a monospaced font. |
1444 Private method to set/reset a monospaced font. |
1073 </p><dl> |
1445 </p> |
|
1446 <dl> |
|
1447 |
1074 <dt><i>on</i></dt> |
1448 <dt><i>on</i></dt> |
1075 <dd> |
1449 <dd> |
1076 flag to indicate usage of a monospace font (boolean) |
1450 flag to indicate usage of a monospace font (boolean) |
1077 </dd> |
1451 </dd> |
1078 </dl><a NAME="Shell.__setTextDisplay" ID="Shell.__setTextDisplay"></a> |
1452 </dl> |
|
1453 <a NAME="Shell.__setTextDisplay" ID="Shell.__setTextDisplay"></a> |
1079 <h4>Shell.__setTextDisplay</h4> |
1454 <h4>Shell.__setTextDisplay</h4> |
1080 <b>__setTextDisplay</b>(<i></i>) |
1455 <b>__setTextDisplay</b>(<i></i>) |
|
1456 |
1081 <p> |
1457 <p> |
1082 Private method to configure the text display. |
1458 Private method to configure the text display. |
1083 </p><a NAME="Shell.__showCompletions" ID="Shell.__showCompletions"></a> |
1459 </p> |
|
1460 <a NAME="Shell.__showCompletions" ID="Shell.__showCompletions"></a> |
1084 <h4>Shell.__showCompletions</h4> |
1461 <h4>Shell.__showCompletions</h4> |
1085 <b>__showCompletions</b>(<i>completions, text</i>) |
1462 <b>__showCompletions</b>(<i>completions, text</i>) |
|
1463 |
1086 <p> |
1464 <p> |
1087 Private method to display the possible completions. |
1465 Private method to display the possible completions. |
1088 </p><dl> |
1466 </p> |
|
1467 <dl> |
|
1468 |
1089 <dt><i>completions</i></dt> |
1469 <dt><i>completions</i></dt> |
1090 <dd> |
1470 <dd> |
1091 list of possible completions (list of strings) |
1471 list of possible completions (list of strings) |
1092 </dd><dt><i>text</i></dt> |
1472 </dd> |
|
1473 <dt><i>text</i></dt> |
1093 <dd> |
1474 <dd> |
1094 text that is about to be completed (string) |
1475 text that is about to be completed (string) |
1095 </dd> |
1476 </dd> |
1096 </dl><a NAME="Shell.__showStartMenu" ID="Shell.__showStartMenu"></a> |
1477 </dl> |
|
1478 <a NAME="Shell.__showStartMenu" ID="Shell.__showStartMenu"></a> |
1097 <h4>Shell.__showStartMenu</h4> |
1479 <h4>Shell.__showStartMenu</h4> |
1098 <b>__showStartMenu</b>(<i></i>) |
1480 <b>__showStartMenu</b>(<i></i>) |
|
1481 |
1099 <p> |
1482 <p> |
1100 Private slot to prepare the start submenu. |
1483 Private slot to prepare the start submenu. |
1101 </p><a NAME="Shell.__showVenvName" ID="Shell.__showVenvName"></a> |
1484 </p> |
|
1485 <a NAME="Shell.__showVenvName" ID="Shell.__showVenvName"></a> |
1102 <h4>Shell.__showVenvName</h4> |
1486 <h4>Shell.__showVenvName</h4> |
1103 <b>__showVenvName</b>(<i></i>) |
1487 <b>__showVenvName</b>(<i></i>) |
|
1488 |
1104 <p> |
1489 <p> |
1105 Private method to show the name of the active virtual environment. |
1490 Private method to show the name of the active virtual environment. |
1106 </p><a NAME="Shell.__startDebugClient" ID="Shell.__startDebugClient"></a> |
1491 </p> |
|
1492 <a NAME="Shell.__startDebugClient" ID="Shell.__startDebugClient"></a> |
1107 <h4>Shell.__startDebugClient</h4> |
1493 <h4>Shell.__startDebugClient</h4> |
1108 <b>__startDebugClient</b>(<i>action</i>) |
1494 <b>__startDebugClient</b>(<i>action</i>) |
|
1495 |
1109 <p> |
1496 <p> |
1110 Private slot to start a debug client according to the action |
1497 Private slot to start a debug client according to the action |
1111 triggered. |
1498 triggered. |
1112 </p><dl> |
1499 </p> |
|
1500 <dl> |
|
1501 |
1113 <dt><i>action</i></dt> |
1502 <dt><i>action</i></dt> |
1114 <dd> |
1503 <dd> |
1115 context menu action that was triggered (QAction) |
1504 context menu action that was triggered (QAction) |
1116 </dd> |
1505 </dd> |
1117 </dl><a NAME="Shell.__useHistory" ID="Shell.__useHistory"></a> |
1506 </dl> |
|
1507 <a NAME="Shell.__useHistory" ID="Shell.__useHistory"></a> |
1118 <h4>Shell.__useHistory</h4> |
1508 <h4>Shell.__useHistory</h4> |
1119 <b>__useHistory</b>(<i></i>) |
1509 <b>__useHistory</b>(<i></i>) |
|
1510 |
1120 <p> |
1511 <p> |
1121 Private method to display a command from the history. |
1512 Private method to display a command from the history. |
1122 </p><a NAME="Shell.__write" ID="Shell.__write"></a> |
1513 </p> |
|
1514 <a NAME="Shell.__write" ID="Shell.__write"></a> |
1123 <h4>Shell.__write</h4> |
1515 <h4>Shell.__write</h4> |
1124 <b>__write</b>(<i>s</i>) |
1516 <b>__write</b>(<i>s</i>) |
|
1517 |
1125 <p> |
1518 <p> |
1126 Private method to display some text without queuing. |
1519 Private method to display some text without queuing. |
1127 </p><dl> |
1520 </p> |
|
1521 <dl> |
|
1522 |
1128 <dt><i>s</i> (str)</dt> |
1523 <dt><i>s</i> (str)</dt> |
1129 <dd> |
1524 <dd> |
1130 text to be displayed |
1525 text to be displayed |
1131 </dd> |
1526 </dd> |
1132 </dl><a NAME="Shell.__writeBanner" ID="Shell.__writeBanner"></a> |
1527 </dl> |
|
1528 <a NAME="Shell.__writeBanner" ID="Shell.__writeBanner"></a> |
1133 <h4>Shell.__writeBanner</h4> |
1529 <h4>Shell.__writeBanner</h4> |
1134 <b>__writeBanner</b>(<i>version, platform, dbgclient, venvName</i>) |
1530 <b>__writeBanner</b>(<i>version, platform, dbgclient, venvName</i>) |
|
1531 |
1135 <p> |
1532 <p> |
1136 Private method to write a banner with info from the debug client. |
1533 Private method to write a banner with info from the debug client. |
1137 </p><dl> |
1534 </p> |
|
1535 <dl> |
|
1536 |
1138 <dt><i>version</i> (str)</dt> |
1537 <dt><i>version</i> (str)</dt> |
1139 <dd> |
1538 <dd> |
1140 interpreter version string |
1539 interpreter version string |
1141 </dd><dt><i>platform</i> (str)</dt> |
1540 </dd> |
|
1541 <dt><i>platform</i> (str)</dt> |
1142 <dd> |
1542 <dd> |
1143 platform of the remote interpreter |
1543 platform of the remote interpreter |
1144 </dd><dt><i>dbgclient</i> (str)</dt> |
1544 </dd> |
|
1545 <dt><i>dbgclient</i> (str)</dt> |
1145 <dd> |
1546 <dd> |
1146 debug client variant used |
1547 debug client variant used |
1147 </dd><dt><i>venvName</i> (str)</dt> |
1548 </dd> |
|
1549 <dt><i>venvName</i> (str)</dt> |
1148 <dd> |
1550 <dd> |
1149 name of the virtual environment |
1551 name of the virtual environment |
1150 </dd> |
1552 </dd> |
1151 </dl><a NAME="Shell.__writePrompt" ID="Shell.__writePrompt"></a> |
1553 </dl> |
|
1554 <a NAME="Shell.__writePrompt" ID="Shell.__writePrompt"></a> |
1152 <h4>Shell.__writePrompt</h4> |
1555 <h4>Shell.__writePrompt</h4> |
1153 <b>__writePrompt</b>(<i></i>) |
1556 <b>__writePrompt</b>(<i></i>) |
|
1557 |
1154 <p> |
1558 <p> |
1155 Private method to write the prompt using a write queue. |
1559 Private method to write the prompt using a write queue. |
1156 </p><a NAME="Shell.__writeQueued" ID="Shell.__writeQueued"></a> |
1560 </p> |
|
1561 <a NAME="Shell.__writeQueued" ID="Shell.__writeQueued"></a> |
1157 <h4>Shell.__writeQueued</h4> |
1562 <h4>Shell.__writeQueued</h4> |
1158 <b>__writeQueued</b>(<i>s</i>) |
1563 <b>__writeQueued</b>(<i>s</i>) |
|
1564 |
1159 <p> |
1565 <p> |
1160 Private method to display some text using a write queue. |
1566 Private method to display some text using a write queue. |
1161 </p><dl> |
1567 </p> |
|
1568 <dl> |
|
1569 |
1162 <dt><i>s</i></dt> |
1570 <dt><i>s</i></dt> |
1163 <dd> |
1571 <dd> |
1164 text to be displayed (string) |
1572 text to be displayed (string) |
1165 </dd> |
1573 </dd> |
1166 </dl><a NAME="Shell.__writeStdErr" ID="Shell.__writeStdErr"></a> |
1574 </dl> |
|
1575 <a NAME="Shell.__writeStdErr" ID="Shell.__writeStdErr"></a> |
1167 <h4>Shell.__writeStdErr</h4> |
1576 <h4>Shell.__writeStdErr</h4> |
1168 <b>__writeStdErr</b>(<i>s</i>) |
1577 <b>__writeStdErr</b>(<i>s</i>) |
|
1578 |
1169 <p> |
1579 <p> |
1170 Private method to display some text with StdErr label. |
1580 Private method to display some text with StdErr label. |
1171 </p><dl> |
1581 </p> |
|
1582 <dl> |
|
1583 |
1172 <dt><i>s</i></dt> |
1584 <dt><i>s</i></dt> |
1173 <dd> |
1585 <dd> |
1174 text to be displayed (string) |
1586 text to be displayed (string) |
1175 </dd> |
1587 </dd> |
1176 </dl><a NAME="Shell.__writeStdOut" ID="Shell.__writeStdOut"></a> |
1588 </dl> |
|
1589 <a NAME="Shell.__writeStdOut" ID="Shell.__writeStdOut"></a> |
1177 <h4>Shell.__writeStdOut</h4> |
1590 <h4>Shell.__writeStdOut</h4> |
1178 <b>__writeStdOut</b>(<i>s</i>) |
1591 <b>__writeStdOut</b>(<i>s</i>) |
|
1592 |
1179 <p> |
1593 <p> |
1180 Private method to display some text with StdOut label. |
1594 Private method to display some text with StdOut label. |
1181 </p><dl> |
1595 </p> |
|
1596 <dl> |
|
1597 |
1182 <dt><i>s</i></dt> |
1598 <dt><i>s</i></dt> |
1183 <dd> |
1599 <dd> |
1184 text to be displayed (string) |
1600 text to be displayed (string) |
1185 </dd> |
1601 </dd> |
1186 </dl><a NAME="Shell.clear" ID="Shell.clear"></a> |
1602 </dl> |
|
1603 <a NAME="Shell.clear" ID="Shell.clear"></a> |
1187 <h4>Shell.clear</h4> |
1604 <h4>Shell.clear</h4> |
1188 <b>clear</b>(<i></i>) |
1605 <b>clear</b>(<i></i>) |
|
1606 |
1189 <p> |
1607 <p> |
1190 Public slot to clear the display. |
1608 Public slot to clear the display. |
1191 </p><a NAME="Shell.clearAllHistories" ID="Shell.clearAllHistories"></a> |
1609 </p> |
|
1610 <a NAME="Shell.clearAllHistories" ID="Shell.clearAllHistories"></a> |
1192 <h4>Shell.clearAllHistories</h4> |
1611 <h4>Shell.clearAllHistories</h4> |
1193 <b>clearAllHistories</b>(<i></i>) |
1612 <b>clearAllHistories</b>(<i></i>) |
|
1613 |
1194 <p> |
1614 <p> |
1195 Public method to clear all available histories and sync them. |
1615 Public method to clear all available histories and sync them. |
1196 </p><a NAME="Shell.clearHistory" ID="Shell.clearHistory"></a> |
1616 </p> |
|
1617 <a NAME="Shell.clearHistory" ID="Shell.clearHistory"></a> |
1197 <h4>Shell.clearHistory</h4> |
1618 <h4>Shell.clearHistory</h4> |
1198 <b>clearHistory</b>(<i></i>) |
1619 <b>clearHistory</b>(<i></i>) |
|
1620 |
1199 <p> |
1621 <p> |
1200 Public slot to clear the current history. |
1622 Public slot to clear the current history. |
1201 </p><a NAME="Shell.closeShell" ID="Shell.closeShell"></a> |
1623 </p> |
|
1624 <a NAME="Shell.closeShell" ID="Shell.closeShell"></a> |
1202 <h4>Shell.closeShell</h4> |
1625 <h4>Shell.closeShell</h4> |
1203 <b>closeShell</b>(<i></i>) |
1626 <b>closeShell</b>(<i></i>) |
|
1627 |
1204 <p> |
1628 <p> |
1205 Public method to shutdown the shell. |
1629 Public method to shutdown the shell. |
1206 </p><a NAME="Shell.contextMenuEvent" ID="Shell.contextMenuEvent"></a> |
1630 </p> |
|
1631 <a NAME="Shell.contextMenuEvent" ID="Shell.contextMenuEvent"></a> |
1207 <h4>Shell.contextMenuEvent</h4> |
1632 <h4>Shell.contextMenuEvent</h4> |
1208 <b>contextMenuEvent</b>(<i>ev</i>) |
1633 <b>contextMenuEvent</b>(<i>ev</i>) |
|
1634 |
1209 <p> |
1635 <p> |
1210 Protected method to show our own context menu. |
1636 Protected method to show our own context menu. |
1211 </p><dl> |
1637 </p> |
|
1638 <dl> |
|
1639 |
1212 <dt><i>ev</i></dt> |
1640 <dt><i>ev</i></dt> |
1213 <dd> |
1641 <dd> |
1214 context menu event (QContextMenuEvent) |
1642 context menu event (QContextMenuEvent) |
1215 </dd> |
1643 </dd> |
1216 </dl><a NAME="Shell.doClearRestart" ID="Shell.doClearRestart"></a> |
1644 </dl> |
|
1645 <a NAME="Shell.doClearRestart" ID="Shell.doClearRestart"></a> |
1217 <h4>Shell.doClearRestart</h4> |
1646 <h4>Shell.doClearRestart</h4> |
1218 <b>doClearRestart</b>(<i></i>) |
1647 <b>doClearRestart</b>(<i></i>) |
|
1648 |
1219 <p> |
1649 <p> |
1220 Public slot to handle the 'restart and clear' context menu entry. |
1650 Public slot to handle the 'restart and clear' context menu entry. |
1221 </p><a NAME="Shell.doRestart" ID="Shell.doRestart"></a> |
1651 </p> |
|
1652 <a NAME="Shell.doRestart" ID="Shell.doRestart"></a> |
1222 <h4>Shell.doRestart</h4> |
1653 <h4>Shell.doRestart</h4> |
1223 <b>doRestart</b>(<i></i>) |
1654 <b>doRestart</b>(<i></i>) |
|
1655 |
1224 <p> |
1656 <p> |
1225 Public slot to handle the 'restart' context menu entry. |
1657 Public slot to handle the 'restart' context menu entry. |
1226 </p><a NAME="Shell.dragEnterEvent" ID="Shell.dragEnterEvent"></a> |
1658 </p> |
|
1659 <a NAME="Shell.dragEnterEvent" ID="Shell.dragEnterEvent"></a> |
1227 <h4>Shell.dragEnterEvent</h4> |
1660 <h4>Shell.dragEnterEvent</h4> |
1228 <b>dragEnterEvent</b>(<i>event</i>) |
1661 <b>dragEnterEvent</b>(<i>event</i>) |
|
1662 |
1229 <p> |
1663 <p> |
1230 Protected method to handle the drag enter event. |
1664 Protected method to handle the drag enter event. |
1231 </p><dl> |
1665 </p> |
|
1666 <dl> |
|
1667 |
1232 <dt><i>event</i></dt> |
1668 <dt><i>event</i></dt> |
1233 <dd> |
1669 <dd> |
1234 the drag enter event (QDragEnterEvent) |
1670 the drag enter event (QDragEnterEvent) |
1235 </dd> |
1671 </dd> |
1236 </dl><a NAME="Shell.dragLeaveEvent" ID="Shell.dragLeaveEvent"></a> |
1672 </dl> |
|
1673 <a NAME="Shell.dragLeaveEvent" ID="Shell.dragLeaveEvent"></a> |
1237 <h4>Shell.dragLeaveEvent</h4> |
1674 <h4>Shell.dragLeaveEvent</h4> |
1238 <b>dragLeaveEvent</b>(<i>event</i>) |
1675 <b>dragLeaveEvent</b>(<i>event</i>) |
|
1676 |
1239 <p> |
1677 <p> |
1240 Protected method to handle the drag leave event. |
1678 Protected method to handle the drag leave event. |
1241 </p><dl> |
1679 </p> |
|
1680 <dl> |
|
1681 |
1242 <dt><i>event</i></dt> |
1682 <dt><i>event</i></dt> |
1243 <dd> |
1683 <dd> |
1244 the drag leave event (QDragLeaveEvent) |
1684 the drag leave event (QDragLeaveEvent) |
1245 </dd> |
1685 </dd> |
1246 </dl><a NAME="Shell.dragMoveEvent" ID="Shell.dragMoveEvent"></a> |
1686 </dl> |
|
1687 <a NAME="Shell.dragMoveEvent" ID="Shell.dragMoveEvent"></a> |
1247 <h4>Shell.dragMoveEvent</h4> |
1688 <h4>Shell.dragMoveEvent</h4> |
1248 <b>dragMoveEvent</b>(<i>event</i>) |
1689 <b>dragMoveEvent</b>(<i>event</i>) |
|
1690 |
1249 <p> |
1691 <p> |
1250 Protected method to handle the drag move event. |
1692 Protected method to handle the drag move event. |
1251 </p><dl> |
1693 </p> |
|
1694 <dl> |
|
1695 |
1252 <dt><i>event</i></dt> |
1696 <dt><i>event</i></dt> |
1253 <dd> |
1697 <dd> |
1254 the drag move event (QDragMoveEvent) |
1698 the drag move event (QDragMoveEvent) |
1255 </dd> |
1699 </dd> |
1256 </dl><a NAME="Shell.dropEvent" ID="Shell.dropEvent"></a> |
1700 </dl> |
|
1701 <a NAME="Shell.dropEvent" ID="Shell.dropEvent"></a> |
1257 <h4>Shell.dropEvent</h4> |
1702 <h4>Shell.dropEvent</h4> |
1258 <b>dropEvent</b>(<i>event</i>) |
1703 <b>dropEvent</b>(<i>event</i>) |
|
1704 |
1259 <p> |
1705 <p> |
1260 Protected method to handle the drop event. |
1706 Protected method to handle the drop event. |
1261 </p><dl> |
1707 </p> |
|
1708 <dl> |
|
1709 |
1262 <dt><i>event</i></dt> |
1710 <dt><i>event</i></dt> |
1263 <dd> |
1711 <dd> |
1264 the drop event (QDropEvent) |
1712 the drop event (QDropEvent) |
1265 </dd> |
1713 </dd> |
1266 </dl><a NAME="Shell.editorCommand" ID="Shell.editorCommand"></a> |
1714 </dl> |
|
1715 <a NAME="Shell.editorCommand" ID="Shell.editorCommand"></a> |
1267 <h4>Shell.editorCommand</h4> |
1716 <h4>Shell.editorCommand</h4> |
1268 <b>editorCommand</b>(<i>cmd</i>) |
1717 <b>editorCommand</b>(<i>cmd</i>) |
|
1718 |
1269 <p> |
1719 <p> |
1270 Public method to perform an editor command. |
1720 Public method to perform an editor command. |
1271 </p><dl> |
1721 </p> |
|
1722 <dl> |
|
1723 |
1272 <dt><i>cmd</i></dt> |
1724 <dt><i>cmd</i></dt> |
1273 <dd> |
1725 <dd> |
1274 the scintilla command to be performed |
1726 the scintilla command to be performed |
1275 </dd> |
1727 </dd> |
1276 </dl><a NAME="Shell.event" ID="Shell.event"></a> |
1728 </dl> |
|
1729 <a NAME="Shell.event" ID="Shell.event"></a> |
1277 <h4>Shell.event</h4> |
1730 <h4>Shell.event</h4> |
1278 <b>event</b>(<i>evt</i>) |
1731 <b>event</b>(<i>evt</i>) |
|
1732 |
1279 <p> |
1733 <p> |
1280 Public method handling events. |
1734 Public method handling events. |
1281 </p><dl> |
1735 </p> |
|
1736 <dl> |
|
1737 |
1282 <dt><i>evt</i></dt> |
1738 <dt><i>evt</i></dt> |
1283 <dd> |
1739 <dd> |
1284 reference to the event (QEvent) |
1740 reference to the event (QEvent) |
1285 </dd> |
1741 </dd> |
1286 </dl><dl> |
1742 </dl> |
|
1743 <dl> |
1287 <dt>Returns:</dt> |
1744 <dt>Returns:</dt> |
1288 <dd> |
1745 <dd> |
1289 flag indicating, if the event was handled (boolean) |
1746 flag indicating, if the event was handled (boolean) |
1290 </dd> |
1747 </dd> |
1291 </dl><a NAME="Shell.executeLines" ID="Shell.executeLines"></a> |
1748 </dl> |
|
1749 <a NAME="Shell.executeLines" ID="Shell.executeLines"></a> |
1292 <h4>Shell.executeLines</h4> |
1750 <h4>Shell.executeLines</h4> |
1293 <b>executeLines</b>(<i>lines, historyIndex=None</i>) |
1751 <b>executeLines</b>(<i>lines, historyIndex=None</i>) |
|
1752 |
1294 <p> |
1753 <p> |
1295 Public method to execute a set of lines as multiple commands. |
1754 Public method to execute a set of lines as multiple commands. |
1296 </p><dl> |
1755 </p> |
|
1756 <dl> |
|
1757 |
1297 <dt><i>lines</i> (str)</dt> |
1758 <dt><i>lines</i> (str)</dt> |
1298 <dd> |
1759 <dd> |
1299 multiple lines of text to be executed as |
1760 multiple lines of text to be executed as |
1300 single commands |
1761 single commands |
1301 </dd><dt><i>historyIndex</i> (int)</dt> |
1762 </dd> |
|
1763 <dt><i>historyIndex</i> (int)</dt> |
1302 <dd> |
1764 <dd> |
1303 history index to be set |
1765 history index to be set |
1304 </dd> |
1766 </dd> |
1305 </dl><a NAME="Shell.focusInEvent" ID="Shell.focusInEvent"></a> |
1767 </dl> |
|
1768 <a NAME="Shell.focusInEvent" ID="Shell.focusInEvent"></a> |
1306 <h4>Shell.focusInEvent</h4> |
1769 <h4>Shell.focusInEvent</h4> |
1307 <b>focusInEvent</b>(<i>event</i>) |
1770 <b>focusInEvent</b>(<i>event</i>) |
|
1771 |
1308 <p> |
1772 <p> |
1309 Protected method called when the shell receives focus. |
1773 Protected method called when the shell receives focus. |
1310 </p><dl> |
1774 </p> |
|
1775 <dl> |
|
1776 |
1311 <dt><i>event</i></dt> |
1777 <dt><i>event</i></dt> |
1312 <dd> |
1778 <dd> |
1313 the event object (QFocusEvent) |
1779 the event object (QFocusEvent) |
1314 </dd> |
1780 </dd> |
1315 </dl><a NAME="Shell.focusNextPrevChild" ID="Shell.focusNextPrevChild"></a> |
1781 </dl> |
|
1782 <a NAME="Shell.focusNextPrevChild" ID="Shell.focusNextPrevChild"></a> |
1316 <h4>Shell.focusNextPrevChild</h4> |
1783 <h4>Shell.focusNextPrevChild</h4> |
1317 <b>focusNextPrevChild</b>(<i>nextChild</i>) |
1784 <b>focusNextPrevChild</b>(<i>nextChild</i>) |
|
1785 |
1318 <p> |
1786 <p> |
1319 Public method to stop Tab moving to the next window. |
1787 Public method to stop Tab moving to the next window. |
1320 </p><p> |
1788 </p> |
|
1789 <p> |
1321 While the user is entering a multi-line command, the movement to |
1790 While the user is entering a multi-line command, the movement to |
1322 the next window by the Tab key being pressed is suppressed. |
1791 the next window by the Tab key being pressed is suppressed. |
1323 </p><dl> |
1792 </p> |
|
1793 <dl> |
|
1794 |
1324 <dt><i>nextChild</i></dt> |
1795 <dt><i>nextChild</i></dt> |
1325 <dd> |
1796 <dd> |
1326 next window |
1797 next window |
1327 </dd> |
1798 </dd> |
1328 </dl><dl> |
1799 </dl> |
|
1800 <dl> |
1329 <dt>Returns:</dt> |
1801 <dt>Returns:</dt> |
1330 <dd> |
1802 <dd> |
1331 flag indicating the movement |
1803 flag indicating the movement |
1332 </dd> |
1804 </dd> |
1333 </dl><a NAME="Shell.focusOutEvent" ID="Shell.focusOutEvent"></a> |
1805 </dl> |
|
1806 <a NAME="Shell.focusOutEvent" ID="Shell.focusOutEvent"></a> |
1334 <h4>Shell.focusOutEvent</h4> |
1807 <h4>Shell.focusOutEvent</h4> |
1335 <b>focusOutEvent</b>(<i>event</i>) |
1808 <b>focusOutEvent</b>(<i>event</i>) |
|
1809 |
1336 <p> |
1810 <p> |
1337 Protected method called when the shell loses focus. |
1811 Protected method called when the shell loses focus. |
1338 </p><dl> |
1812 </p> |
|
1813 <dl> |
|
1814 |
1339 <dt><i>event</i></dt> |
1815 <dt><i>event</i></dt> |
1340 <dd> |
1816 <dd> |
1341 the event object (QFocusEvent) |
1817 the event object (QFocusEvent) |
1342 </dd> |
1818 </dd> |
1343 </dl><a NAME="Shell.gestureEvent" ID="Shell.gestureEvent"></a> |
1819 </dl> |
|
1820 <a NAME="Shell.gestureEvent" ID="Shell.gestureEvent"></a> |
1344 <h4>Shell.gestureEvent</h4> |
1821 <h4>Shell.gestureEvent</h4> |
1345 <b>gestureEvent</b>(<i>evt</i>) |
1822 <b>gestureEvent</b>(<i>evt</i>) |
|
1823 |
1346 <p> |
1824 <p> |
1347 Protected method handling gesture events. |
1825 Protected method handling gesture events. |
1348 </p><dl> |
1826 </p> |
|
1827 <dl> |
|
1828 |
1349 <dt><i>evt</i></dt> |
1829 <dt><i>evt</i></dt> |
1350 <dd> |
1830 <dd> |
1351 reference to the gesture event (QGestureEvent |
1831 reference to the gesture event (QGestureEvent |
1352 </dd> |
1832 </dd> |
1353 </dl><a NAME="Shell.getClientType" ID="Shell.getClientType"></a> |
1833 </dl> |
|
1834 <a NAME="Shell.getClientType" ID="Shell.getClientType"></a> |
1354 <h4>Shell.getClientType</h4> |
1835 <h4>Shell.getClientType</h4> |
1355 <b>getClientType</b>(<i></i>) |
1836 <b>getClientType</b>(<i></i>) |
|
1837 |
1356 <p> |
1838 <p> |
1357 Public slot to get the clients type. |
1839 Public slot to get the clients type. |
1358 </p><dl> |
1840 </p> |
|
1841 <dl> |
1359 <dt>Returns:</dt> |
1842 <dt>Returns:</dt> |
1360 <dd> |
1843 <dd> |
1361 client type (string) |
1844 client type (string) |
1362 </dd> |
1845 </dd> |
1363 </dl><a NAME="Shell.getHistory" ID="Shell.getHistory"></a> |
1846 </dl> |
|
1847 <a NAME="Shell.getHistory" ID="Shell.getHistory"></a> |
1364 <h4>Shell.getHistory</h4> |
1848 <h4>Shell.getHistory</h4> |
1365 <b>getHistory</b>(<i>clientType</i>) |
1849 <b>getHistory</b>(<i>clientType</i>) |
|
1850 |
1366 <p> |
1851 <p> |
1367 Public method to get the history for the given client type. |
1852 Public method to get the history for the given client type. |
1368 </p><dl> |
1853 </p> |
|
1854 <dl> |
|
1855 |
1369 <dt><i>clientType</i></dt> |
1856 <dt><i>clientType</i></dt> |
1370 <dd> |
1857 <dd> |
1371 type of the debug client (string). |
1858 type of the debug client (string). |
1372 If it is None, the current history is returned. |
1859 If it is None, the current history is returned. |
1373 </dd> |
1860 </dd> |
1374 </dl><dl> |
1861 </dl> |
|
1862 <dl> |
1375 <dt>Returns:</dt> |
1863 <dt>Returns:</dt> |
1376 <dd> |
1864 <dd> |
1377 reference to the history list (list of strings) |
1865 reference to the history list (list of strings) |
1378 </dd> |
1866 </dd> |
1379 </dl><a NAME="Shell.getHistoryIndex" ID="Shell.getHistoryIndex"></a> |
1867 </dl> |
|
1868 <a NAME="Shell.getHistoryIndex" ID="Shell.getHistoryIndex"></a> |
1380 <h4>Shell.getHistoryIndex</h4> |
1869 <h4>Shell.getHistoryIndex</h4> |
1381 <b>getHistoryIndex</b>(<i></i>) |
1870 <b>getHistoryIndex</b>(<i></i>) |
|
1871 |
1382 <p> |
1872 <p> |
1383 Public method to get the current value of the history index. |
1873 Public method to get the current value of the history index. |
1384 </p><dl> |
1874 </p> |
|
1875 <dl> |
1385 <dt>Returns:</dt> |
1876 <dt>Returns:</dt> |
1386 <dd> |
1877 <dd> |
1387 history index |
1878 history index |
1388 </dd> |
1879 </dd> |
1389 </dl><dl> |
1880 </dl> |
|
1881 <dl> |
1390 <dt>Return Type:</dt> |
1882 <dt>Return Type:</dt> |
1391 <dd> |
1883 <dd> |
1392 int |
1884 int |
1393 </dd> |
1885 </dd> |
1394 </dl><a NAME="Shell.handlePreferencesChanged" ID="Shell.handlePreferencesChanged"></a> |
1886 </dl> |
|
1887 <a NAME="Shell.handlePreferencesChanged" ID="Shell.handlePreferencesChanged"></a> |
1395 <h4>Shell.handlePreferencesChanged</h4> |
1888 <h4>Shell.handlePreferencesChanged</h4> |
1396 <b>handlePreferencesChanged</b>(<i></i>) |
1889 <b>handlePreferencesChanged</b>(<i></i>) |
|
1890 |
1397 <p> |
1891 <p> |
1398 Public slot to handle the preferencesChanged signal. |
1892 Public slot to handle the preferencesChanged signal. |
1399 </p><a NAME="Shell.historyStyle" ID="Shell.historyStyle"></a> |
1893 </p> |
|
1894 <a NAME="Shell.historyStyle" ID="Shell.historyStyle"></a> |
1400 <h4>Shell.historyStyle</h4> |
1895 <h4>Shell.historyStyle</h4> |
1401 <b>historyStyle</b>(<i></i>) |
1896 <b>historyStyle</b>(<i></i>) |
|
1897 |
1402 <p> |
1898 <p> |
1403 Public method to get the shell history style. |
1899 Public method to get the shell history style. |
1404 </p><dl> |
1900 </p> |
|
1901 <dl> |
1405 <dt>Returns:</dt> |
1902 <dt>Returns:</dt> |
1406 <dd> |
1903 <dd> |
1407 shell history style |
1904 shell history style |
1408 </dd> |
1905 </dd> |
1409 </dl><dl> |
1906 </dl> |
|
1907 <dl> |
1410 <dt>Return Type:</dt> |
1908 <dt>Return Type:</dt> |
1411 <dd> |
1909 <dd> |
1412 ShellHistoryStyle |
1910 ShellHistoryStyle |
1413 </dd> |
1911 </dd> |
1414 </dl><a NAME="Shell.insert" ID="Shell.insert"></a> |
1912 </dl> |
|
1913 <a NAME="Shell.insert" ID="Shell.insert"></a> |
1415 <h4>Shell.insert</h4> |
1914 <h4>Shell.insert</h4> |
1416 <b>insert</b>(<i>txt</i>) |
1915 <b>insert</b>(<i>txt</i>) |
|
1916 |
1417 <p> |
1917 <p> |
1418 Public slot to insert text at the current cursor position. |
1918 Public slot to insert text at the current cursor position. |
1419 </p><p> |
1919 </p> |
|
1920 <p> |
1420 The cursor is advanced to the end of the inserted text. |
1921 The cursor is advanced to the end of the inserted text. |
1421 </p><dl> |
1922 </p> |
|
1923 <dl> |
|
1924 |
1422 <dt><i>txt</i></dt> |
1925 <dt><i>txt</i></dt> |
1423 <dd> |
1926 <dd> |
1424 text to be inserted (string) |
1927 text to be inserted (string) |
1425 </dd> |
1928 </dd> |
1426 </dl><a NAME="Shell.isHistoryEnabled" ID="Shell.isHistoryEnabled"></a> |
1929 </dl> |
|
1930 <a NAME="Shell.isHistoryEnabled" ID="Shell.isHistoryEnabled"></a> |
1427 <h4>Shell.isHistoryEnabled</h4> |
1931 <h4>Shell.isHistoryEnabled</h4> |
1428 <b>isHistoryEnabled</b>(<i></i>) |
1932 <b>isHistoryEnabled</b>(<i></i>) |
|
1933 |
1429 <p> |
1934 <p> |
1430 Public method to check, if the history is enabled. |
1935 Public method to check, if the history is enabled. |
1431 </p><dl> |
1936 </p> |
|
1937 <dl> |
1432 <dt>Returns:</dt> |
1938 <dt>Returns:</dt> |
1433 <dd> |
1939 <dd> |
1434 flag indicating if history is enabled |
1940 flag indicating if history is enabled |
1435 </dd> |
1941 </dd> |
1436 </dl><dl> |
1942 </dl> |
|
1943 <dl> |
1437 <dt>Return Type:</dt> |
1944 <dt>Return Type:</dt> |
1438 <dd> |
1945 <dd> |
1439 bool |
1946 bool |
1440 </dd> |
1947 </dd> |
1441 </dl><a NAME="Shell.keyPressEvent" ID="Shell.keyPressEvent"></a> |
1948 </dl> |
|
1949 <a NAME="Shell.keyPressEvent" ID="Shell.keyPressEvent"></a> |
1442 <h4>Shell.keyPressEvent</h4> |
1950 <h4>Shell.keyPressEvent</h4> |
1443 <b>keyPressEvent</b>(<i>ev</i>) |
1951 <b>keyPressEvent</b>(<i>ev</i>) |
|
1952 |
1444 <p> |
1953 <p> |
1445 Protected method to handle the user input a key at a time. |
1954 Protected method to handle the user input a key at a time. |
1446 </p><dl> |
1955 </p> |
|
1956 <dl> |
|
1957 |
1447 <dt><i>ev</i></dt> |
1958 <dt><i>ev</i></dt> |
1448 <dd> |
1959 <dd> |
1449 key event (QKeyEvent) |
1960 key event (QKeyEvent) |
1450 </dd> |
1961 </dd> |
1451 </dl><a NAME="Shell.loadHistory" ID="Shell.loadHistory"></a> |
1962 </dl> |
|
1963 <a NAME="Shell.loadHistory" ID="Shell.loadHistory"></a> |
1452 <h4>Shell.loadHistory</h4> |
1964 <h4>Shell.loadHistory</h4> |
1453 <b>loadHistory</b>(<i>clientType</i>) |
1965 <b>loadHistory</b>(<i>clientType</i>) |
|
1966 |
1454 <p> |
1967 <p> |
1455 Public method to load the history for the given client type. |
1968 Public method to load the history for the given client type. |
1456 </p><dl> |
1969 </p> |
|
1970 <dl> |
|
1971 |
1457 <dt><i>clientType</i></dt> |
1972 <dt><i>clientType</i></dt> |
1458 <dd> |
1973 <dd> |
1459 type of the debug client (string) |
1974 type of the debug client (string) |
1460 </dd> |
1975 </dd> |
1461 </dl><a NAME="Shell.mousePressEvent" ID="Shell.mousePressEvent"></a> |
1976 </dl> |
|
1977 <a NAME="Shell.mousePressEvent" ID="Shell.mousePressEvent"></a> |
1462 <h4>Shell.mousePressEvent</h4> |
1978 <h4>Shell.mousePressEvent</h4> |
1463 <b>mousePressEvent</b>(<i>event</i>) |
1979 <b>mousePressEvent</b>(<i>event</i>) |
|
1980 |
1464 <p> |
1981 <p> |
1465 Protected method to handle the mouse press event. |
1982 Protected method to handle the mouse press event. |
1466 </p><dl> |
1983 </p> |
|
1984 <dl> |
|
1985 |
1467 <dt><i>event</i></dt> |
1986 <dt><i>event</i></dt> |
1468 <dd> |
1987 <dd> |
1469 the mouse press event (QMouseEvent) |
1988 the mouse press event (QMouseEvent) |
1470 </dd> |
1989 </dd> |
1471 </dl><a NAME="Shell.paste" ID="Shell.paste"></a> |
1990 </dl> |
|
1991 <a NAME="Shell.paste" ID="Shell.paste"></a> |
1472 <h4>Shell.paste</h4> |
1992 <h4>Shell.paste</h4> |
1473 <b>paste</b>(<i></i>) |
1993 <b>paste</b>(<i></i>) |
|
1994 |
1474 <p> |
1995 <p> |
1475 Public slot to handle the paste action. |
1996 Public slot to handle the paste action. |
1476 </p><a NAME="Shell.reloadHistory" ID="Shell.reloadHistory"></a> |
1997 </p> |
|
1998 <a NAME="Shell.reloadHistory" ID="Shell.reloadHistory"></a> |
1477 <h4>Shell.reloadHistory</h4> |
1999 <h4>Shell.reloadHistory</h4> |
1478 <b>reloadHistory</b>(<i></i>) |
2000 <b>reloadHistory</b>(<i></i>) |
|
2001 |
1479 <p> |
2002 <p> |
1480 Public method to reload the history of the currently selected client |
2003 Public method to reload the history of the currently selected client |
1481 type. |
2004 type. |
1482 </p><a NAME="Shell.saveHistory" ID="Shell.saveHistory"></a> |
2005 </p> |
|
2006 <a NAME="Shell.saveHistory" ID="Shell.saveHistory"></a> |
1483 <h4>Shell.saveHistory</h4> |
2007 <h4>Shell.saveHistory</h4> |
1484 <b>saveHistory</b>(<i>clientType</i>) |
2008 <b>saveHistory</b>(<i>clientType</i>) |
|
2009 |
1485 <p> |
2010 <p> |
1486 Public method to save the history for the given client type. |
2011 Public method to save the history for the given client type. |
1487 </p><dl> |
2012 </p> |
|
2013 <dl> |
|
2014 |
1488 <dt><i>clientType</i></dt> |
2015 <dt><i>clientType</i></dt> |
1489 <dd> |
2016 <dd> |
1490 type of the debug client (string) |
2017 type of the debug client (string) |
1491 </dd> |
2018 </dd> |
1492 </dl><a NAME="Shell.searchNext" ID="Shell.searchNext"></a> |
2019 </dl> |
|
2020 <a NAME="Shell.searchNext" ID="Shell.searchNext"></a> |
1493 <h4>Shell.searchNext</h4> |
2021 <h4>Shell.searchNext</h4> |
1494 <b>searchNext</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
2022 <b>searchNext</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
|
2023 |
1495 <p> |
2024 <p> |
1496 Public method to search the next occurrence of the given text. |
2025 Public method to search the next occurrence of the given text. |
1497 </p><dl> |
2026 </p> |
|
2027 <dl> |
|
2028 |
1498 <dt><i>txt</i> (str)</dt> |
2029 <dt><i>txt</i> (str)</dt> |
1499 <dd> |
2030 <dd> |
1500 text to search for |
2031 text to search for |
1501 </dd><dt><i>caseSensitive</i> (bool)</dt> |
2032 </dd> |
|
2033 <dt><i>caseSensitive</i> (bool)</dt> |
1502 <dd> |
2034 <dd> |
1503 flag indicating to perform a case sensitive |
2035 flag indicating to perform a case sensitive |
1504 search |
2036 search |
1505 </dd><dt><i>wholeWord</i> (bool)</dt> |
2037 </dd> |
|
2038 <dt><i>wholeWord</i> (bool)</dt> |
1506 <dd> |
2039 <dd> |
1507 flag indicating to search for whole words |
2040 flag indicating to search for whole words |
1508 only |
2041 only |
1509 </dd><dt><i>regexp</i> (bool)</dt> |
2042 </dd> |
|
2043 <dt><i>regexp</i> (bool)</dt> |
1510 <dd> |
2044 <dd> |
1511 flag indicating a regular expression search |
2045 flag indicating a regular expression search |
1512 </dd> |
2046 </dd> |
1513 </dl><a NAME="Shell.searchPrev" ID="Shell.searchPrev"></a> |
2047 </dl> |
|
2048 <a NAME="Shell.searchPrev" ID="Shell.searchPrev"></a> |
1514 <h4>Shell.searchPrev</h4> |
2049 <h4>Shell.searchPrev</h4> |
1515 <b>searchPrev</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
2050 <b>searchPrev</b>(<i>txt, caseSensitive, wholeWord, regexp</i>) |
|
2051 |
1516 <p> |
2052 <p> |
1517 Public method to search the previous occurrence of the given text. |
2053 Public method to search the previous occurrence of the given text. |
1518 </p><dl> |
2054 </p> |
|
2055 <dl> |
|
2056 |
1519 <dt><i>txt</i> (str)</dt> |
2057 <dt><i>txt</i> (str)</dt> |
1520 <dd> |
2058 <dd> |
1521 text to search for |
2059 text to search for |
1522 </dd><dt><i>caseSensitive</i> (bool)</dt> |
2060 </dd> |
|
2061 <dt><i>caseSensitive</i> (bool)</dt> |
1523 <dd> |
2062 <dd> |
1524 flag indicating to perform a case sensitive |
2063 flag indicating to perform a case sensitive |
1525 search |
2064 search |
1526 </dd><dt><i>wholeWord</i> (bool)</dt> |
2065 </dd> |
|
2066 <dt><i>wholeWord</i> (bool)</dt> |
1527 <dd> |
2067 <dd> |
1528 flag indicating to search for whole words |
2068 flag indicating to search for whole words |
1529 only |
2069 only |
1530 </dd><dt><i>regexp</i> (bool)</dt> |
2070 </dd> |
|
2071 <dt><i>regexp</i> (bool)</dt> |
1531 <dd> |
2072 <dd> |
1532 flag indicating a regular expression search |
2073 flag indicating a regular expression search |
1533 </dd> |
2074 </dd> |
1534 </dl><a NAME="Shell.selectHistory" ID="Shell.selectHistory"></a> |
2075 </dl> |
|
2076 <a NAME="Shell.selectHistory" ID="Shell.selectHistory"></a> |
1535 <h4>Shell.selectHistory</h4> |
2077 <h4>Shell.selectHistory</h4> |
1536 <b>selectHistory</b>(<i></i>) |
2078 <b>selectHistory</b>(<i></i>) |
|
2079 |
1537 <p> |
2080 <p> |
1538 Public slot to select a history entry to execute. |
2081 Public slot to select a history entry to execute. |
1539 </p><a NAME="Shell.setDebuggerUI" ID="Shell.setDebuggerUI"></a> |
2082 </p> |
|
2083 <a NAME="Shell.setDebuggerUI" ID="Shell.setDebuggerUI"></a> |
1540 <h4>Shell.setDebuggerUI</h4> |
2084 <h4>Shell.setDebuggerUI</h4> |
1541 <b>setDebuggerUI</b>(<i>ui</i>) |
2085 <b>setDebuggerUI</b>(<i>ui</i>) |
|
2086 |
1542 <p> |
2087 <p> |
1543 Public method to set the debugger UI. |
2088 Public method to set the debugger UI. |
1544 </p><dl> |
2089 </p> |
|
2090 <dl> |
|
2091 |
1545 <dt><i>ui</i></dt> |
2092 <dt><i>ui</i></dt> |
1546 <dd> |
2093 <dd> |
1547 reference to the debugger UI object (DebugUI) |
2094 reference to the debugger UI object (DebugUI) |
1548 </dd> |
2095 </dd> |
1549 </dl><a NAME="Shell.showHistory" ID="Shell.showHistory"></a> |
2096 </dl> |
|
2097 <a NAME="Shell.showHistory" ID="Shell.showHistory"></a> |
1550 <h4>Shell.showHistory</h4> |
2098 <h4>Shell.showHistory</h4> |
1551 <b>showHistory</b>(<i></i>) |
2099 <b>showHistory</b>(<i></i>) |
|
2100 |
1552 <p> |
2101 <p> |
1553 Public slot to show the shell history dialog. |
2102 Public slot to show the shell history dialog. |
1554 </p><a NAME="Shell.wheelEvent" ID="Shell.wheelEvent"></a> |
2103 </p> |
|
2104 <a NAME="Shell.wheelEvent" ID="Shell.wheelEvent"></a> |
1555 <h4>Shell.wheelEvent</h4> |
2105 <h4>Shell.wheelEvent</h4> |
1556 <b>wheelEvent</b>(<i>evt</i>) |
2106 <b>wheelEvent</b>(<i>evt</i>) |
|
2107 |
1557 <p> |
2108 <p> |
1558 Protected method to handle wheel events. |
2109 Protected method to handle wheel events. |
1559 </p><dl> |
2110 </p> |
|
2111 <dl> |
|
2112 |
1560 <dt><i>evt</i></dt> |
2113 <dt><i>evt</i></dt> |
1561 <dd> |
2114 <dd> |
1562 reference to the wheel event (QWheelEvent) |
2115 reference to the wheel event (QWheelEvent) |
1563 </dd> |
2116 </dd> |
1564 </dl> |
2117 </dl> |
1565 <div align="right"><a href="#top">Up</a></div> |
2118 <div align="right"><a href="#top">Up</a></div> |
1566 <hr /><hr /> |
2119 <hr /> |
|
2120 <hr /> |
1567 <a NAME="ShellAssembly" ID="ShellAssembly"></a> |
2121 <a NAME="ShellAssembly" ID="ShellAssembly"></a> |
1568 <h2>ShellAssembly</h2> |
2122 <h2>ShellAssembly</h2> |
|
2123 |
1569 <p> |
2124 <p> |
1570 Class implementing the containing widget for the shell. |
2125 Class implementing the containing widget for the shell. |
1571 </p> |
2126 </p> |
1572 <h3>Derived from</h3> |
2127 <h3>Derived from</h3> |
1573 QWidget |
2128 QWidget |
1574 <h3>Class Attributes</h3> |
2129 <h3>Class Attributes</h3> |
|
2130 |
1575 <table> |
2131 <table> |
1576 <tr><td>None</td></tr> |
2132 <tr><td>None</td></tr> |
1577 </table> |
2133 </table> |
1578 <h3>Class Methods</h3> |
2134 <h3>Class Methods</h3> |
|
2135 |
1579 <table> |
2136 <table> |
1580 <tr><td>None</td></tr> |
2137 <tr><td>None</td></tr> |
1581 </table> |
2138 </table> |
1582 <h3>Methods</h3> |
2139 <h3>Methods</h3> |
|
2140 |
1583 <table> |
2141 <table> |
|
2142 |
1584 <tr> |
2143 <tr> |
1585 <td><a href="#ShellAssembly.__init__">ShellAssembly</a></td> |
2144 <td><a href="#ShellAssembly.__init__">ShellAssembly</a></td> |
1586 <td>Constructor</td> |
2145 <td>Constructor</td> |
1587 </tr><tr> |
2146 </tr> |
|
2147 <tr> |
1588 <td><a href="#ShellAssembly.shell">shell</a></td> |
2148 <td><a href="#ShellAssembly.shell">shell</a></td> |
1589 <td>Public method to get a reference to the shell widget.</td> |
2149 <td>Public method to get a reference to the shell widget.</td> |
1590 </tr><tr> |
2150 </tr> |
|
2151 <tr> |
1591 <td><a href="#ShellAssembly.showFind">showFind</a></td> |
2152 <td><a href="#ShellAssembly.showFind">showFind</a></td> |
1592 <td>Public method to display the search widget.</td> |
2153 <td>Public method to display the search widget.</td> |
1593 </tr> |
2154 </tr> |
1594 </table> |
2155 </table> |
1595 <h3>Static Methods</h3> |
2156 <h3>Static Methods</h3> |
|
2157 |
1596 <table> |
2158 <table> |
1597 <tr><td>None</td></tr> |
2159 <tr><td>None</td></tr> |
1598 </table> |
2160 </table> |
|
2161 |
1599 <a NAME="ShellAssembly.__init__" ID="ShellAssembly.__init__"></a> |
2162 <a NAME="ShellAssembly.__init__" ID="ShellAssembly.__init__"></a> |
1600 <h4>ShellAssembly (Constructor)</h4> |
2163 <h4>ShellAssembly (Constructor)</h4> |
1601 <b>ShellAssembly</b>(<i>dbs, vm, project, horizontal=True, parent=None</i>) |
2164 <b>ShellAssembly</b>(<i>dbs, vm, project, horizontal=True, parent=None</i>) |
|
2165 |
1602 <p> |
2166 <p> |
1603 Constructor |
2167 Constructor |
1604 </p><dl> |
2168 </p> |
|
2169 <dl> |
|
2170 |
1605 <dt><i>dbs</i> (DebugServer)</dt> |
2171 <dt><i>dbs</i> (DebugServer)</dt> |
1606 <dd> |
2172 <dd> |
1607 reference to the debug server object |
2173 reference to the debug server object |
1608 </dd><dt><i>vm</i> (ViewManager)</dt> |
2174 </dd> |
|
2175 <dt><i>vm</i> (ViewManager)</dt> |
1609 <dd> |
2176 <dd> |
1610 reference to the viewmanager object |
2177 reference to the viewmanager object |
1611 </dd><dt><i>project</i> (Project)</dt> |
2178 </dd> |
|
2179 <dt><i>project</i> (Project)</dt> |
1612 <dd> |
2180 <dd> |
1613 reference to the project object |
2181 reference to the project object |
1614 </dd><dt><i>horizontal</i> (bool)</dt> |
2182 </dd> |
|
2183 <dt><i>horizontal</i> (bool)</dt> |
1615 <dd> |
2184 <dd> |
1616 flag indicating a horizontal layout |
2185 flag indicating a horizontal layout |
1617 </dd><dt><i>parent</i> (QWidget)</dt> |
2186 </dd> |
|
2187 <dt><i>parent</i> (QWidget)</dt> |
1618 <dd> |
2188 <dd> |
1619 parent widget |
2189 parent widget |
1620 </dd> |
2190 </dd> |
1621 </dl><a NAME="ShellAssembly.shell" ID="ShellAssembly.shell"></a> |
2191 </dl> |
|
2192 <a NAME="ShellAssembly.shell" ID="ShellAssembly.shell"></a> |
1622 <h4>ShellAssembly.shell</h4> |
2193 <h4>ShellAssembly.shell</h4> |
1623 <b>shell</b>(<i></i>) |
2194 <b>shell</b>(<i></i>) |
|
2195 |
1624 <p> |
2196 <p> |
1625 Public method to get a reference to the shell widget. |
2197 Public method to get a reference to the shell widget. |
1626 </p><dl> |
2198 </p> |
|
2199 <dl> |
1627 <dt>Returns:</dt> |
2200 <dt>Returns:</dt> |
1628 <dd> |
2201 <dd> |
1629 reference to the shell widget (Shell) |
2202 reference to the shell widget (Shell) |
1630 </dd> |
2203 </dd> |
1631 </dl><a NAME="ShellAssembly.showFind" ID="ShellAssembly.showFind"></a> |
2204 </dl> |
|
2205 <a NAME="ShellAssembly.showFind" ID="ShellAssembly.showFind"></a> |
1632 <h4>ShellAssembly.showFind</h4> |
2206 <h4>ShellAssembly.showFind</h4> |
1633 <b>showFind</b>(<i>txt=""</i>) |
2207 <b>showFind</b>(<i>txt=""</i>) |
|
2208 |
1634 <p> |
2209 <p> |
1635 Public method to display the search widget. |
2210 Public method to display the search widget. |
1636 </p><dl> |
2211 </p> |
|
2212 <dl> |
|
2213 |
1637 <dt><i>txt</i></dt> |
2214 <dt><i>txt</i></dt> |
1638 <dd> |
2215 <dd> |
1639 text to be shown in the combo (string) |
2216 text to be shown in the combo (string) |
1640 </dd> |
2217 </dd> |
1641 </dl> |
2218 </dl> |
1642 <div align="right"><a href="#top">Up</a></div> |
2219 <div align="right"><a href="#top">Up</a></div> |
1643 <hr /><hr /> |
2220 <hr /> |
|
2221 <hr /> |
1644 <a NAME="ShellHistoryStyle" ID="ShellHistoryStyle"></a> |
2222 <a NAME="ShellHistoryStyle" ID="ShellHistoryStyle"></a> |
1645 <h2>ShellHistoryStyle</h2> |
2223 <h2>ShellHistoryStyle</h2> |
|
2224 |
1646 <p> |
2225 <p> |
1647 Class defining the shell history styles. |
2226 Class defining the shell history styles. |
1648 </p> |
2227 </p> |
1649 <h3>Derived from</h3> |
2228 <h3>Derived from</h3> |
1650 Enum |
2229 Enum |
1651 <h3>Class Attributes</h3> |
2230 <h3>Class Attributes</h3> |
|
2231 |
1652 <table> |
2232 <table> |
1653 <tr><td>Disabled</td></tr><tr><td>LinuxStyle</td></tr><tr><td>WindowsStyle</td></tr> |
2233 <tr><td>Disabled</td></tr><tr><td>LinuxStyle</td></tr><tr><td>WindowsStyle</td></tr> |
1654 </table> |
2234 </table> |
1655 <h3>Class Methods</h3> |
2235 <h3>Class Methods</h3> |
|
2236 |
1656 <table> |
2237 <table> |
1657 <tr><td>None</td></tr> |
2238 <tr><td>None</td></tr> |
1658 </table> |
2239 </table> |
1659 <h3>Methods</h3> |
2240 <h3>Methods</h3> |
|
2241 |
1660 <table> |
2242 <table> |
1661 <tr><td>None</td></tr> |
2243 <tr><td>None</td></tr> |
1662 </table> |
2244 </table> |
1663 <h3>Static Methods</h3> |
2245 <h3>Static Methods</h3> |
|
2246 |
1664 <table> |
2247 <table> |
1665 <tr><td>None</td></tr> |
2248 <tr><td>None</td></tr> |
1666 </table> |
2249 </table> |
1667 |
2250 |
1668 <div align="right"><a href="#top">Up</a></div> |
2251 <div align="right"><a href="#top">Up</a></div> |