56 </table> |
56 </table> |
57 <h3>Methods</h3> |
57 <h3>Methods</h3> |
58 <table> |
58 <table> |
59 <tr> |
59 <tr> |
60 <td><a href="#Shell.__init__">Shell</a></td> |
60 <td><a href="#Shell.__init__">Shell</a></td> |
61 <td>Constructor</td> |
61 <td>Constructor</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#Shell.__QScintillaAutoCompletionCommand">__QScintillaAutoCompletionCommand</a></td> |
63 <td><a href="#Shell.__QScintillaAutoCompletionCommand">__QScintillaAutoCompletionCommand</a></td> |
64 <td>Private method to handle a command for autocompletion only.</td> |
64 <td>Private method to handle a command for autocompletion only.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#Shell.__QScintillaCharLeft">__QScintillaCharLeft</a></td> |
66 <td><a href="#Shell.__QScintillaCharLeft">__QScintillaCharLeft</a></td> |
67 <td>Private method to handle the Cursor Left command.</td> |
67 <td>Private method to handle the Cursor Left command.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#Shell.__QScintillaCharLeftExtend">__QScintillaCharLeftExtend</a></td> |
69 <td><a href="#Shell.__QScintillaCharLeftExtend">__QScintillaCharLeftExtend</a></td> |
70 <td>Private method to handle the Extend Selection Left command.</td> |
70 <td>Private method to handle the Extend Selection Left command.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#Shell.__QScintillaCharRight">__QScintillaCharRight</a></td> |
72 <td><a href="#Shell.__QScintillaCharRight">__QScintillaCharRight</a></td> |
73 <td>Private method to handle the Cursor Right command.</td> |
73 <td>Private method to handle the Cursor Right command.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#Shell.__QScintillaDelete">__QScintillaDelete</a></td> |
75 <td><a href="#Shell.__QScintillaDelete">__QScintillaDelete</a></td> |
76 <td>Private method to handle the delete command.</td> |
76 <td>Private method to handle the delete command.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#Shell.__QScintillaDeleteBack">__QScintillaDeleteBack</a></td> |
78 <td><a href="#Shell.__QScintillaDeleteBack">__QScintillaDeleteBack</a></td> |
79 <td>Private method to handle the Backspace key.</td> |
79 <td>Private method to handle the Backspace key.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#Shell.__QScintillaDeleteLineLeft">__QScintillaDeleteLineLeft</a></td> |
81 <td><a href="#Shell.__QScintillaDeleteLineLeft">__QScintillaDeleteLineLeft</a></td> |
82 <td>Private method to handle the Delete Line Left command.</td> |
82 <td>Private method to handle the Delete Line Left command.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#Shell.__QScintillaDeleteLineRight">__QScintillaDeleteLineRight</a></td> |
84 <td><a href="#Shell.__QScintillaDeleteLineRight">__QScintillaDeleteLineRight</a></td> |
85 <td>Private method to handle the Delete Line Right command.</td> |
85 <td>Private method to handle the Delete Line Right command.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#Shell.__QScintillaDeleteWordLeft">__QScintillaDeleteWordLeft</a></td> |
87 <td><a href="#Shell.__QScintillaDeleteWordLeft">__QScintillaDeleteWordLeft</a></td> |
88 <td>Private method to handle the Delete Word Left command.</td> |
88 <td>Private method to handle the Delete Word Left command.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#Shell.__QScintillaDeleteWordRight">__QScintillaDeleteWordRight</a></td> |
90 <td><a href="#Shell.__QScintillaDeleteWordRight">__QScintillaDeleteWordRight</a></td> |
91 <td>Private method to handle the Delete Word Right command.</td> |
91 <td>Private method to handle the Delete Word Right command.</td> |
92 </tr><tr> |
92 </tr><tr> |
93 <td><a href="#Shell.__QScintillaLeftCommand">__QScintillaLeftCommand</a></td> |
93 <td><a href="#Shell.__QScintillaLeftCommand">__QScintillaLeftCommand</a></td> |
94 <td>Private method to handle a QScintilla command working to the left.</td> |
94 <td>Private method to handle a QScintilla command working to the left.</td> |
95 </tr><tr> |
95 </tr><tr> |
96 <td><a href="#Shell.__QScintillaLeftDeleteCommand">__QScintillaLeftDeleteCommand</a></td> |
96 <td><a href="#Shell.__QScintillaLeftDeleteCommand">__QScintillaLeftDeleteCommand</a></td> |
97 <td>Private method to handle a QScintilla delete command working to the left.</td> |
97 <td>Private method to handle a QScintilla delete command working to the left.</td> |
98 </tr><tr> |
98 </tr><tr> |
99 <td><a href="#Shell.__QScintillaLineDown">__QScintillaLineDown</a></td> |
99 <td><a href="#Shell.__QScintillaLineDown">__QScintillaLineDown</a></td> |
100 <td>Private method to handle the Down key.</td> |
100 <td>Private method to handle the Down key.</td> |
101 </tr><tr> |
101 </tr><tr> |
102 <td><a href="#Shell.__QScintillaLineEnd">__QScintillaLineEnd</a></td> |
102 <td><a href="#Shell.__QScintillaLineEnd">__QScintillaLineEnd</a></td> |
103 <td>Private method to handle the End key.</td> |
103 <td>Private method to handle the End key.</td> |
104 </tr><tr> |
104 </tr><tr> |
105 <td><a href="#Shell.__QScintillaLineUp">__QScintillaLineUp</a></td> |
105 <td><a href="#Shell.__QScintillaLineUp">__QScintillaLineUp</a></td> |
106 <td>Private method to handle the Up key.</td> |
106 <td>Private method to handle the Up key.</td> |
107 </tr><tr> |
107 </tr><tr> |
108 <td><a href="#Shell.__QScintillaNewline">__QScintillaNewline</a></td> |
108 <td><a href="#Shell.__QScintillaNewline">__QScintillaNewline</a></td> |
109 <td>Private method to handle the Return key.</td> |
109 <td>Private method to handle the Return key.</td> |
110 </tr><tr> |
110 </tr><tr> |
111 <td><a href="#Shell.__QScintillaRightCommand">__QScintillaRightCommand</a></td> |
111 <td><a href="#Shell.__QScintillaRightCommand">__QScintillaRightCommand</a></td> |
112 <td>Private method to handle a QScintilla command working to the right.</td> |
112 <td>Private method to handle a QScintilla command working to the right.</td> |
113 </tr><tr> |
113 </tr><tr> |
114 <td><a href="#Shell.__QScintillaTab">__QScintillaTab</a></td> |
114 <td><a href="#Shell.__QScintillaTab">__QScintillaTab</a></td> |
115 <td>Private method to handle the Tab key.</td> |
115 <td>Private method to handle the Tab key.</td> |
116 </tr><tr> |
116 </tr><tr> |
117 <td><a href="#Shell.__QScintillaVCHome">__QScintillaVCHome</a></td> |
117 <td><a href="#Shell.__QScintillaVCHome">__QScintillaVCHome</a></td> |
118 <td>Private method to handle the Home key.</td> |
118 <td>Private method to handle the Home key.</td> |
119 </tr><tr> |
119 </tr><tr> |
120 <td><a href="#Shell.__QScintillaVCHomeExtend">__QScintillaVCHomeExtend</a></td> |
120 <td><a href="#Shell.__QScintillaVCHomeExtend">__QScintillaVCHomeExtend</a></td> |
121 <td>Private method to handle the Extend Selection to start of line command.</td> |
121 <td>Private method to handle the Extend Selection to start of line command.</td> |
122 </tr><tr> |
122 </tr><tr> |
123 <td><a href="#Shell.__QScintillaWordLeft">__QScintillaWordLeft</a></td> |
123 <td><a href="#Shell.__QScintillaWordLeft">__QScintillaWordLeft</a></td> |
124 <td>Private method to handle the Cursor Word Left command.</td> |
124 <td>Private method to handle the Cursor Word Left command.</td> |
125 </tr><tr> |
125 </tr><tr> |
126 <td><a href="#Shell.__QScintillaWordLeftExtend">__QScintillaWordLeftExtend</a></td> |
126 <td><a href="#Shell.__QScintillaWordLeftExtend">__QScintillaWordLeftExtend</a></td> |
127 <td>Private method to handle the Extend Selection Left one word command.</td> |
127 <td>Private method to handle the Extend Selection Left one word command.</td> |
128 </tr><tr> |
128 </tr><tr> |
129 <td><a href="#Shell.__QScintillaWordRight">__QScintillaWordRight</a></td> |
129 <td><a href="#Shell.__QScintillaWordRight">__QScintillaWordRight</a></td> |
130 <td>Private method to handle the Cursor Word Right command.</td> |
130 <td>Private method to handle the Cursor Word Right command.</td> |
131 </tr><tr> |
131 </tr><tr> |
132 <td><a href="#Shell.__bindLexer">__bindLexer</a></td> |
132 <td><a href="#Shell.__bindLexer">__bindLexer</a></td> |
133 <td>Private slot to set the lexer.</td> |
133 <td>Private slot to set the lexer.</td> |
134 </tr><tr> |
134 </tr><tr> |
135 <td><a href="#Shell.__clearCurrentLine">__clearCurrentLine</a></td> |
135 <td><a href="#Shell.__clearCurrentLine">__clearCurrentLine</a></td> |
136 <td>Private method to clear the line containing the cursor.</td> |
136 <td>Private method to clear the line containing the cursor.</td> |
137 </tr><tr> |
137 </tr><tr> |
138 <td><a href="#Shell.__clearHistory">__clearHistory</a></td> |
138 <td><a href="#Shell.__clearHistory">__clearHistory</a></td> |
139 <td>Private slot to clear the current history.</td> |
139 <td>Private slot to clear the current history.</td> |
140 </tr><tr> |
140 </tr><tr> |
141 <td><a href="#Shell.__clientCapabilities">__clientCapabilities</a></td> |
141 <td><a href="#Shell.__clientCapabilities">__clientCapabilities</a></td> |
142 <td>Private slot to handle the reporting of the clients capabilities.</td> |
142 <td>Private slot to handle the reporting of the clients capabilities.</td> |
143 </tr><tr> |
143 </tr><tr> |
144 <td><a href="#Shell.__clientError">__clientError</a></td> |
144 <td><a href="#Shell.__clientError">__clientError</a></td> |
145 <td>Private method to handle an error in the client.</td> |
145 <td>Private method to handle an error in the client.</td> |
146 </tr><tr> |
146 </tr><tr> |
147 <td><a href="#Shell.__clientStatement">__clientStatement</a></td> |
147 <td><a href="#Shell.__clientStatement">__clientStatement</a></td> |
148 <td>Private method to handle the response from the debugger client.</td> |
148 <td>Private method to handle the response from the debugger client.</td> |
149 </tr><tr> |
149 </tr><tr> |
150 <td><a href="#Shell.__completionListSelected">__completionListSelected</a></td> |
150 <td><a href="#Shell.__completionListSelected">__completionListSelected</a></td> |
151 <td>Private slot to handle the selection from the completion list.</td> |
151 <td>Private slot to handle the selection from the completion list.</td> |
152 </tr><tr> |
152 </tr><tr> |
153 <td><a href="#Shell.__configure">__configure</a></td> |
153 <td><a href="#Shell.__configure">__configure</a></td> |
154 <td>Private method to open the configuration dialog.</td> |
154 <td>Private method to open the configuration dialog.</td> |
155 </tr><tr> |
155 </tr><tr> |
156 <td><a href="#Shell.__executeCommand">__executeCommand</a></td> |
156 <td><a href="#Shell.__executeCommand">__executeCommand</a></td> |
157 <td>Private slot to execute a command.</td> |
157 <td>Private slot to execute a command.</td> |
158 </tr><tr> |
158 </tr><tr> |
159 <td><a href="#Shell.__getBanner">__getBanner</a></td> |
159 <td><a href="#Shell.__getBanner">__getBanner</a></td> |
160 <td>Private method to get the banner for the remote interpreter.</td> |
160 <td>Private method to get the banner for the remote interpreter.</td> |
161 </tr><tr> |
161 </tr><tr> |
162 <td><a href="#Shell.__getEndPos">__getEndPos</a></td> |
162 <td><a href="#Shell.__getEndPos">__getEndPos</a></td> |
163 <td>Private method to return the line and column of the last character.</td> |
163 <td>Private method to return the line and column of the last character.</td> |
164 </tr><tr> |
164 </tr><tr> |
165 <td><a href="#Shell.__initialise">__initialise</a></td> |
165 <td><a href="#Shell.__initialise">__initialise</a></td> |
166 <td>Private method to get ready for a new remote interpreter.</td> |
166 <td>Private method to get ready for a new remote interpreter.</td> |
167 </tr><tr> |
167 </tr><tr> |
168 <td><a href="#Shell.__insertHistory">__insertHistory</a></td> |
168 <td><a href="#Shell.__insertHistory">__insertHistory</a></td> |
169 <td>Private method to insert a command selected from the history.</td> |
169 <td>Private method to insert a command selected from the history.</td> |
170 </tr><tr> |
170 </tr><tr> |
171 <td><a href="#Shell.__insertText">__insertText</a></td> |
171 <td><a href="#Shell.__insertText">__insertText</a></td> |
172 <td>Private method to insert some text at the current cursor position.</td> |
172 <td>Private method to insert some text at the current cursor position.</td> |
173 </tr><tr> |
173 </tr><tr> |
174 <td><a href="#Shell.__insertTextAtEnd">__insertTextAtEnd</a></td> |
174 <td><a href="#Shell.__insertTextAtEnd">__insertTextAtEnd</a></td> |
175 <td>Private method to insert some text at the end of the command line.</td> |
175 <td>Private method to insert some text at the end of the command line.</td> |
176 </tr><tr> |
176 </tr><tr> |
177 <td><a href="#Shell.__insertTextNoEcho">__insertTextNoEcho</a></td> |
177 <td><a href="#Shell.__insertTextNoEcho">__insertTextNoEcho</a></td> |
178 <td>Private method to insert some text at the end of the buffer without echoing it.</td> |
178 <td>Private method to insert some text at the end of the buffer without echoing it.</td> |
179 </tr><tr> |
179 </tr><tr> |
180 <td><a href="#Shell.__isCursorOnLastLine">__isCursorOnLastLine</a></td> |
180 <td><a href="#Shell.__isCursorOnLastLine">__isCursorOnLastLine</a></td> |
181 <td>Private method to check, if the cursor is on the last line.</td> |
181 <td>Private method to check, if the cursor is on the last line.</td> |
182 </tr><tr> |
182 </tr><tr> |
183 <td><a href="#Shell.__middleMouseButton">__middleMouseButton</a></td> |
183 <td><a href="#Shell.__middleMouseButton">__middleMouseButton</a></td> |
184 <td>Private method to handle the middle mouse button press.</td> |
184 <td>Private method to handle the middle mouse button press.</td> |
185 </tr><tr> |
185 </tr><tr> |
186 <td><a href="#Shell.__raw_input">__raw_input</a></td> |
186 <td><a href="#Shell.__raw_input">__raw_input</a></td> |
187 <td>Private method to handle raw input.</td> |
187 <td>Private method to handle raw input.</td> |
188 </tr><tr> |
188 </tr><tr> |
189 <td><a href="#Shell.__reset">__reset</a></td> |
189 <td><a href="#Shell.__reset">__reset</a></td> |
190 <td>Private slot to handle the 'reset' context menu entry.</td> |
190 <td>Private slot to handle the 'reset' context menu entry.</td> |
191 </tr><tr> |
191 </tr><tr> |
192 <td><a href="#Shell.__resetAndClear">__resetAndClear</a></td> |
192 <td><a href="#Shell.__resetAndClear">__resetAndClear</a></td> |
193 <td>Private slot to handle the 'reset and clear' context menu entry.</td> |
193 <td>Private slot to handle the 'reset and clear' context menu entry.</td> |
194 </tr><tr> |
194 </tr><tr> |
195 <td><a href="#Shell.__rsearchHistory">__rsearchHistory</a></td> |
195 <td><a href="#Shell.__rsearchHistory">__rsearchHistory</a></td> |
196 <td>Private method used to reverse search the history.</td> |
196 <td>Private method used to reverse search the history.</td> |
197 </tr><tr> |
197 </tr><tr> |
198 <td><a href="#Shell.__searchHistory">__searchHistory</a></td> |
198 <td><a href="#Shell.__searchHistory">__searchHistory</a></td> |
199 <td>Private method used to search the history.</td> |
199 <td>Private method used to search the history.</td> |
200 </tr><tr> |
200 </tr><tr> |
201 <td><a href="#Shell.__selectHistory">__selectHistory</a></td> |
201 <td><a href="#Shell.__selectHistory">__selectHistory</a></td> |
202 <td>Private slot to select a history entry to execute.</td> |
202 <td>Private slot to select a history entry to execute.</td> |
203 </tr><tr> |
203 </tr><tr> |
204 <td><a href="#Shell.__setAutoCompletion">__setAutoCompletion</a></td> |
204 <td><a href="#Shell.__setAutoCompletion">__setAutoCompletion</a></td> |
205 <td>Private method to configure the autocompletion function.</td> |
205 <td>Private method to configure the autocompletion function.</td> |
206 </tr><tr> |
206 </tr><tr> |
207 <td><a href="#Shell.__setCallTips">__setCallTips</a></td> |
207 <td><a href="#Shell.__setCallTips">__setCallTips</a></td> |
208 <td>Private method to configure the calltips function.</td> |
208 <td>Private method to configure the calltips function.</td> |
209 </tr><tr> |
209 </tr><tr> |
210 <td><a href="#Shell.__setMargin0">__setMargin0</a></td> |
210 <td><a href="#Shell.__setMargin0">__setMargin0</a></td> |
211 <td>Private method to configure margin 0.</td> |
211 <td>Private method to configure margin 0.</td> |
212 </tr><tr> |
212 </tr><tr> |
213 <td><a href="#Shell.__setMonospaced">__setMonospaced</a></td> |
213 <td><a href="#Shell.__setMonospaced">__setMonospaced</a></td> |
214 <td>Private method to set/reset a monospaced font.</td> |
214 <td>Private method to set/reset a monospaced font.</td> |
215 </tr><tr> |
215 </tr><tr> |
216 <td><a href="#Shell.__setTextDisplay">__setTextDisplay</a></td> |
216 <td><a href="#Shell.__setTextDisplay">__setTextDisplay</a></td> |
217 <td>Private method to configure the text display.</td> |
217 <td>Private method to configure the text display.</td> |
218 </tr><tr> |
218 </tr><tr> |
219 <td><a href="#Shell.__showCompletions">__showCompletions</a></td> |
219 <td><a href="#Shell.__showCompletions">__showCompletions</a></td> |
220 <td>Private method to display the possible completions.</td> |
220 <td>Private method to display the possible completions.</td> |
221 </tr><tr> |
221 </tr><tr> |
222 <td><a href="#Shell.__showHistory">__showHistory</a></td> |
222 <td><a href="#Shell.__showHistory">__showHistory</a></td> |
223 <td>Private slot to show the shell history dialog.</td> |
223 <td>Private slot to show the shell history dialog.</td> |
224 </tr><tr> |
224 </tr><tr> |
225 <td><a href="#Shell.__startDebugClient">__startDebugClient</a></td> |
225 <td><a href="#Shell.__startDebugClient">__startDebugClient</a></td> |
226 <td>Private slot to start a debug client accoding to the action triggered.</td> |
226 <td>Private slot to start a debug client accoding to the action triggered.</td> |
227 </tr><tr> |
227 </tr><tr> |
228 <td><a href="#Shell.__useHistory">__useHistory</a></td> |
228 <td><a href="#Shell.__useHistory">__useHistory</a></td> |
229 <td>Private method to display a command from the history.</td> |
229 <td>Private method to display a command from the history.</td> |
230 </tr><tr> |
230 </tr><tr> |
231 <td><a href="#Shell.__write">__write</a></td> |
231 <td><a href="#Shell.__write">__write</a></td> |
232 <td>Private method to display some text.</td> |
232 <td>Private method to display some text.</td> |
233 </tr><tr> |
233 </tr><tr> |
234 <td><a href="#Shell.__writeBanner">__writeBanner</a></td> |
234 <td><a href="#Shell.__writeBanner">__writeBanner</a></td> |
235 <td>Private method to write a banner with info from the debug client.</td> |
235 <td>Private method to write a banner with info from the debug client.</td> |
236 </tr><tr> |
236 </tr><tr> |
237 <td><a href="#Shell.__writePrompt">__writePrompt</a></td> |
237 <td><a href="#Shell.__writePrompt">__writePrompt</a></td> |
238 <td>Private method to write the prompt.</td> |
238 <td>Private method to write the prompt.</td> |
239 </tr><tr> |
239 </tr><tr> |
240 <td><a href="#Shell.__writeStdErr">__writeStdErr</a></td> |
240 <td><a href="#Shell.__writeStdErr">__writeStdErr</a></td> |
241 <td>Private method to display some text with StdErr label.</td> |
241 <td>Private method to display some text with StdErr label.</td> |
242 </tr><tr> |
242 </tr><tr> |
243 <td><a href="#Shell.__writeStdOut">__writeStdOut</a></td> |
243 <td><a href="#Shell.__writeStdOut">__writeStdOut</a></td> |
244 <td>Private method to display some text with StdOut label.</td> |
244 <td>Private method to display some text with StdOut label.</td> |
245 </tr><tr> |
245 </tr><tr> |
246 <td><a href="#Shell.clear">clear</a></td> |
246 <td><a href="#Shell.clear">clear</a></td> |
247 <td>Public slot to clear the display.</td> |
247 <td>Public slot to clear the display.</td> |
248 </tr><tr> |
248 </tr><tr> |
249 <td><a href="#Shell.closeShell">closeShell</a></td> |
249 <td><a href="#Shell.closeShell">closeShell</a></td> |
250 <td>Public method to shutdown the shell.</td> |
250 <td>Public method to shutdown the shell.</td> |
251 </tr><tr> |
251 </tr><tr> |
252 <td><a href="#Shell.contextMenuEvent">contextMenuEvent</a></td> |
252 <td><a href="#Shell.contextMenuEvent">contextMenuEvent</a></td> |
253 <td>Reimplemented to show our own context menu.</td> |
253 <td>Reimplemented to show our own context menu.</td> |
254 </tr><tr> |
254 </tr><tr> |
255 <td><a href="#Shell.dragEnterEvent">dragEnterEvent</a></td> |
255 <td><a href="#Shell.dragEnterEvent">dragEnterEvent</a></td> |
256 <td>Protected method to handle the drag enter event.</td> |
256 <td>Protected method to handle the drag enter event.</td> |
257 </tr><tr> |
257 </tr><tr> |
258 <td><a href="#Shell.dragLeaveEvent">dragLeaveEvent</a></td> |
258 <td><a href="#Shell.dragLeaveEvent">dragLeaveEvent</a></td> |
259 <td>Protected method to handle the drag leave event.</td> |
259 <td>Protected method to handle the drag leave event.</td> |
260 </tr><tr> |
260 </tr><tr> |
261 <td><a href="#Shell.dragMoveEvent">dragMoveEvent</a></td> |
261 <td><a href="#Shell.dragMoveEvent">dragMoveEvent</a></td> |
262 <td>Protected method to handle the drag move event.</td> |
262 <td>Protected method to handle the drag move event.</td> |
263 </tr><tr> |
263 </tr><tr> |
264 <td><a href="#Shell.dropEvent">dropEvent</a></td> |
264 <td><a href="#Shell.dropEvent">dropEvent</a></td> |
265 <td>Protected method to handle the drop event.</td> |
265 <td>Protected method to handle the drop event.</td> |
266 </tr><tr> |
266 </tr><tr> |
267 <td><a href="#Shell.editorCommand">editorCommand</a></td> |
267 <td><a href="#Shell.editorCommand">editorCommand</a></td> |
268 <td>Public method to perform an editor command.</td> |
268 <td>Public method to perform an editor command.</td> |
269 </tr><tr> |
269 </tr><tr> |
270 <td><a href="#Shell.executeLines">executeLines</a></td> |
270 <td><a href="#Shell.executeLines">executeLines</a></td> |
271 <td>Public method to execute a set of lines as multiple commands.</td> |
271 <td>Public method to execute a set of lines as multiple commands.</td> |
272 </tr><tr> |
272 </tr><tr> |
273 <td><a href="#Shell.focusInEvent">focusInEvent</a></td> |
273 <td><a href="#Shell.focusInEvent">focusInEvent</a></td> |
274 <td>Public method called when the shell receives focus.</td> |
274 <td>Public method called when the shell receives focus.</td> |
275 </tr><tr> |
275 </tr><tr> |
276 <td><a href="#Shell.focusNextPrevChild">focusNextPrevChild</a></td> |
276 <td><a href="#Shell.focusNextPrevChild">focusNextPrevChild</a></td> |
277 <td>Reimplemented to stop Tab moving to the next window.</td> |
277 <td>Reimplemented to stop Tab moving to the next window.</td> |
278 </tr><tr> |
278 </tr><tr> |
279 <td><a href="#Shell.focusOutEvent">focusOutEvent</a></td> |
279 <td><a href="#Shell.focusOutEvent">focusOutEvent</a></td> |
280 <td>Public method called when the shell loses focus.</td> |
280 <td>Public method called when the shell loses focus.</td> |
281 </tr><tr> |
281 </tr><tr> |
282 <td><a href="#Shell.getClientType">getClientType</a></td> |
282 <td><a href="#Shell.getClientType">getClientType</a></td> |
283 <td>Public slot to get the clients type.</td> |
283 <td>Public slot to get the clients type.</td> |
284 </tr><tr> |
284 </tr><tr> |
285 <td><a href="#Shell.getHistory">getHistory</a></td> |
285 <td><a href="#Shell.getHistory">getHistory</a></td> |
286 <td>Public method to get the history for the given client type.</td> |
286 <td>Public method to get the history for the given client type.</td> |
287 </tr><tr> |
287 </tr><tr> |
288 <td><a href="#Shell.handlePreferencesChanged">handlePreferencesChanged</a></td> |
288 <td><a href="#Shell.handlePreferencesChanged">handlePreferencesChanged</a></td> |
289 <td>Public slot to handle the preferencesChanged signal.</td> |
289 <td>Public slot to handle the preferencesChanged signal.</td> |
290 </tr><tr> |
290 </tr><tr> |
291 <td><a href="#Shell.insert">insert</a></td> |
291 <td><a href="#Shell.insert">insert</a></td> |
292 <td>Public slot to insert text at the current cursor position.</td> |
292 <td>Public slot to insert text at the current cursor position.</td> |
293 </tr><tr> |
293 </tr><tr> |
294 <td><a href="#Shell.keyPressEvent">keyPressEvent</a></td> |
294 <td><a href="#Shell.keyPressEvent">keyPressEvent</a></td> |
295 <td>Re-implemented to handle the user input a key at a time.</td> |
295 <td>Re-implemented to handle the user input a key at a time.</td> |
296 </tr><tr> |
296 </tr><tr> |
297 <td><a href="#Shell.loadHistory">loadHistory</a></td> |
297 <td><a href="#Shell.loadHistory">loadHistory</a></td> |
298 <td>Public method to load the history for the given client type.</td> |
298 <td>Public method to load the history for the given client type.</td> |
299 </tr><tr> |
299 </tr><tr> |
300 <td><a href="#Shell.mousePressEvent">mousePressEvent</a></td> |
300 <td><a href="#Shell.mousePressEvent">mousePressEvent</a></td> |
301 <td>Protected method to handle the mouse press event.</td> |
301 <td>Protected method to handle the mouse press event.</td> |
302 </tr><tr> |
302 </tr><tr> |
303 <td><a href="#Shell.paste">paste</a></td> |
303 <td><a href="#Shell.paste">paste</a></td> |
304 <td>Reimplemented slot to handle the paste action.</td> |
304 <td>Reimplemented slot to handle the paste action.</td> |
305 </tr><tr> |
305 </tr><tr> |
306 <td><a href="#Shell.reloadHistory">reloadHistory</a></td> |
306 <td><a href="#Shell.reloadHistory">reloadHistory</a></td> |
307 <td>Public method to reload the history of the currently selected client type.</td> |
307 <td>Public method to reload the history of the currently selected client type.</td> |
308 </tr><tr> |
308 </tr><tr> |
309 <td><a href="#Shell.saveHistory">saveHistory</a></td> |
309 <td><a href="#Shell.saveHistory">saveHistory</a></td> |
310 <td>Public method to save the history for the given client type.</td> |
310 <td>Public method to save the history for the given client type.</td> |
311 </tr><tr> |
311 </tr><tr> |
312 <td><a href="#Shell.setDebuggerUI">setDebuggerUI</a></td> |
312 <td><a href="#Shell.setDebuggerUI">setDebuggerUI</a></td> |
313 <td>Public method to set the debugger UI.</td> |
313 <td>Public method to set the debugger UI.</td> |
314 </tr> |
314 </tr> |
315 </table> |
315 </table> |
316 <a NAME="Shell.__init__" ID="Shell.__init__"></a> |
316 <a NAME="Shell.__init__" ID="Shell.__init__"></a> |
317 <h4>Shell (Constructor)</h4> |
317 <h4>Shell (Constructor)</h4> |
318 <b>Shell</b>(<i>dbs, vm, parent = None</i>) |
318 <b>Shell</b>(<i>dbs, vm, parent = None</i>) |
319 <p> |
319 <p> |
320 Constructor |
320 Constructor |
321 </p><dl> |
321 </p><dl> |
322 <dt><i>dbs</i></dt> |
322 <dt><i>dbs</i></dt> |
323 <dd> |
323 <dd> |
324 reference to the debug server object |
324 reference to the debug server object |
325 </dd><dt><i>vm</i></dt> |
325 </dd><dt><i>vm</i></dt> |
326 <dd> |
326 <dd> |
327 reference to the viewmanager object |
327 reference to the viewmanager object |
328 </dd><dt><i>parent</i></dt> |
328 </dd><dt><i>parent</i></dt> |
329 <dd> |
329 <dd> |
330 parent widget (QWidget) |
330 parent widget (QWidget) |
331 </dd> |
331 </dd> |
332 </dl><a NAME="Shell.__QScintillaAutoCompletionCommand" ID="Shell.__QScintillaAutoCompletionCommand"></a> |
332 </dl><a NAME="Shell.__QScintillaAutoCompletionCommand" ID="Shell.__QScintillaAutoCompletionCommand"></a> |
333 <h4>Shell.__QScintillaAutoCompletionCommand</h4> |
333 <h4>Shell.__QScintillaAutoCompletionCommand</h4> |
334 <b>__QScintillaAutoCompletionCommand</b>(<i>cmd</i>) |
334 <b>__QScintillaAutoCompletionCommand</b>(<i>cmd</i>) |
335 <p> |
335 <p> |
336 Private method to handle a command for autocompletion only. |
336 Private method to handle a command for autocompletion only. |
337 </p><dl> |
337 </p><dl> |
338 <dt><i>cmd</i></dt> |
338 <dt><i>cmd</i></dt> |
339 <dd> |
339 <dd> |
340 QScintilla command |
340 QScintilla command |
341 </dd> |
341 </dd> |
342 </dl><a NAME="Shell.__QScintillaCharLeft" ID="Shell.__QScintillaCharLeft"></a> |
342 </dl><a NAME="Shell.__QScintillaCharLeft" ID="Shell.__QScintillaCharLeft"></a> |
343 <h4>Shell.__QScintillaCharLeft</h4> |
343 <h4>Shell.__QScintillaCharLeft</h4> |
344 <b>__QScintillaCharLeft</b>(<i></i>) |
344 <b>__QScintillaCharLeft</b>(<i></i>) |
345 <p> |
345 <p> |
346 Private method to handle the Cursor Left command. |
346 Private method to handle the Cursor Left command. |
347 </p><a NAME="Shell.__QScintillaCharLeftExtend" ID="Shell.__QScintillaCharLeftExtend"></a> |
347 </p><a NAME="Shell.__QScintillaCharLeftExtend" ID="Shell.__QScintillaCharLeftExtend"></a> |
348 <h4>Shell.__QScintillaCharLeftExtend</h4> |
348 <h4>Shell.__QScintillaCharLeftExtend</h4> |
349 <b>__QScintillaCharLeftExtend</b>(<i></i>) |
349 <b>__QScintillaCharLeftExtend</b>(<i></i>) |
350 <p> |
350 <p> |
351 Private method to handle the Extend Selection Left command. |
351 Private method to handle the Extend Selection Left command. |
352 </p><a NAME="Shell.__QScintillaCharRight" ID="Shell.__QScintillaCharRight"></a> |
352 </p><a NAME="Shell.__QScintillaCharRight" ID="Shell.__QScintillaCharRight"></a> |
353 <h4>Shell.__QScintillaCharRight</h4> |
353 <h4>Shell.__QScintillaCharRight</h4> |
354 <b>__QScintillaCharRight</b>(<i></i>) |
354 <b>__QScintillaCharRight</b>(<i></i>) |
355 <p> |
355 <p> |
356 Private method to handle the Cursor Right command. |
356 Private method to handle the Cursor Right command. |
357 </p><a NAME="Shell.__QScintillaDelete" ID="Shell.__QScintillaDelete"></a> |
357 </p><a NAME="Shell.__QScintillaDelete" ID="Shell.__QScintillaDelete"></a> |
358 <h4>Shell.__QScintillaDelete</h4> |
358 <h4>Shell.__QScintillaDelete</h4> |
359 <b>__QScintillaDelete</b>(<i></i>) |
359 <b>__QScintillaDelete</b>(<i></i>) |
360 <p> |
360 <p> |
361 Private method to handle the delete command. |
361 Private method to handle the delete command. |
362 </p><a NAME="Shell.__QScintillaDeleteBack" ID="Shell.__QScintillaDeleteBack"></a> |
362 </p><a NAME="Shell.__QScintillaDeleteBack" ID="Shell.__QScintillaDeleteBack"></a> |
363 <h4>Shell.__QScintillaDeleteBack</h4> |
363 <h4>Shell.__QScintillaDeleteBack</h4> |
364 <b>__QScintillaDeleteBack</b>(<i></i>) |
364 <b>__QScintillaDeleteBack</b>(<i></i>) |
365 <p> |
365 <p> |
366 Private method to handle the Backspace key. |
366 Private method to handle the Backspace key. |
367 </p><a NAME="Shell.__QScintillaDeleteLineLeft" ID="Shell.__QScintillaDeleteLineLeft"></a> |
367 </p><a NAME="Shell.__QScintillaDeleteLineLeft" ID="Shell.__QScintillaDeleteLineLeft"></a> |
368 <h4>Shell.__QScintillaDeleteLineLeft</h4> |
368 <h4>Shell.__QScintillaDeleteLineLeft</h4> |
369 <b>__QScintillaDeleteLineLeft</b>(<i></i>) |
369 <b>__QScintillaDeleteLineLeft</b>(<i></i>) |
370 <p> |
370 <p> |
371 Private method to handle the Delete Line Left command. |
371 Private method to handle the Delete Line Left command. |
372 </p><a NAME="Shell.__QScintillaDeleteLineRight" ID="Shell.__QScintillaDeleteLineRight"></a> |
372 </p><a NAME="Shell.__QScintillaDeleteLineRight" ID="Shell.__QScintillaDeleteLineRight"></a> |
373 <h4>Shell.__QScintillaDeleteLineRight</h4> |
373 <h4>Shell.__QScintillaDeleteLineRight</h4> |
374 <b>__QScintillaDeleteLineRight</b>(<i></i>) |
374 <b>__QScintillaDeleteLineRight</b>(<i></i>) |
375 <p> |
375 <p> |
376 Private method to handle the Delete Line Right command. |
376 Private method to handle the Delete Line Right command. |
377 </p><a NAME="Shell.__QScintillaDeleteWordLeft" ID="Shell.__QScintillaDeleteWordLeft"></a> |
377 </p><a NAME="Shell.__QScintillaDeleteWordLeft" ID="Shell.__QScintillaDeleteWordLeft"></a> |
378 <h4>Shell.__QScintillaDeleteWordLeft</h4> |
378 <h4>Shell.__QScintillaDeleteWordLeft</h4> |
379 <b>__QScintillaDeleteWordLeft</b>(<i></i>) |
379 <b>__QScintillaDeleteWordLeft</b>(<i></i>) |
380 <p> |
380 <p> |
381 Private method to handle the Delete Word Left command. |
381 Private method to handle the Delete Word Left command. |
382 </p><a NAME="Shell.__QScintillaDeleteWordRight" ID="Shell.__QScintillaDeleteWordRight"></a> |
382 </p><a NAME="Shell.__QScintillaDeleteWordRight" ID="Shell.__QScintillaDeleteWordRight"></a> |
383 <h4>Shell.__QScintillaDeleteWordRight</h4> |
383 <h4>Shell.__QScintillaDeleteWordRight</h4> |
384 <b>__QScintillaDeleteWordRight</b>(<i></i>) |
384 <b>__QScintillaDeleteWordRight</b>(<i></i>) |
385 <p> |
385 <p> |
386 Private method to handle the Delete Word Right command. |
386 Private method to handle the Delete Word Right command. |
387 </p><a NAME="Shell.__QScintillaLeftCommand" ID="Shell.__QScintillaLeftCommand"></a> |
387 </p><a NAME="Shell.__QScintillaLeftCommand" ID="Shell.__QScintillaLeftCommand"></a> |
388 <h4>Shell.__QScintillaLeftCommand</h4> |
388 <h4>Shell.__QScintillaLeftCommand</h4> |
389 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed = False</i>) |
389 <b>__QScintillaLeftCommand</b>(<i>method, allLinesAllowed = False</i>) |
390 <p> |
390 <p> |
391 Private method to handle a QScintilla command working to the left. |
391 Private method to handle a QScintilla command working to the left. |
392 </p><dl> |
392 </p><dl> |
393 <dt><i>method</i></dt> |
393 <dt><i>method</i></dt> |
394 <dd> |
394 <dd> |
395 shell method to execute |
395 shell method to execute |
396 </dd><dt><i>allLinesAllowed</i></dt> |
396 </dd><dt><i>allLinesAllowed</i></dt> |
397 <dd> |
397 <dd> |
398 flag indicating that the command may be executed |
398 flag indicating that the command may be executed |
399 on any line (boolean) |
399 on any line (boolean) |
400 </dd> |
400 </dd> |
401 </dl><a NAME="Shell.__QScintillaLeftDeleteCommand" ID="Shell.__QScintillaLeftDeleteCommand"></a> |
401 </dl><a NAME="Shell.__QScintillaLeftDeleteCommand" ID="Shell.__QScintillaLeftDeleteCommand"></a> |
402 <h4>Shell.__QScintillaLeftDeleteCommand</h4> |
402 <h4>Shell.__QScintillaLeftDeleteCommand</h4> |
403 <b>__QScintillaLeftDeleteCommand</b>(<i>method</i>) |
403 <b>__QScintillaLeftDeleteCommand</b>(<i>method</i>) |
404 <p> |
404 <p> |
405 Private method to handle a QScintilla delete command working to the left. |
405 Private method to handle a QScintilla delete command working to the left. |
406 </p><dl> |
406 </p><dl> |
407 <dt><i>method</i></dt> |
407 <dt><i>method</i></dt> |
408 <dd> |
408 <dd> |
409 shell method to execute |
409 shell method to execute |
410 </dd> |
410 </dd> |
411 </dl><a NAME="Shell.__QScintillaLineDown" ID="Shell.__QScintillaLineDown"></a> |
411 </dl><a NAME="Shell.__QScintillaLineDown" ID="Shell.__QScintillaLineDown"></a> |
412 <h4>Shell.__QScintillaLineDown</h4> |
412 <h4>Shell.__QScintillaLineDown</h4> |
413 <b>__QScintillaLineDown</b>(<i>cmd</i>) |
413 <b>__QScintillaLineDown</b>(<i>cmd</i>) |
414 <p> |
414 <p> |
415 Private method to handle the Down key. |
415 Private method to handle the Down key. |
416 </p><dl> |
416 </p><dl> |
417 <dt><i>cmd</i></dt> |
417 <dt><i>cmd</i></dt> |
418 <dd> |
418 <dd> |
419 QScintilla command |
419 QScintilla command |
420 </dd> |
420 </dd> |
421 </dl><a NAME="Shell.__QScintillaLineEnd" ID="Shell.__QScintillaLineEnd"></a> |
421 </dl><a NAME="Shell.__QScintillaLineEnd" ID="Shell.__QScintillaLineEnd"></a> |
422 <h4>Shell.__QScintillaLineEnd</h4> |
422 <h4>Shell.__QScintillaLineEnd</h4> |
423 <b>__QScintillaLineEnd</b>(<i>cmd</i>) |
423 <b>__QScintillaLineEnd</b>(<i>cmd</i>) |
424 <p> |
424 <p> |
425 Private method to handle the End key. |
425 Private method to handle the End key. |
426 </p><dl> |
426 </p><dl> |
427 <dt><i>cmd</i></dt> |
427 <dt><i>cmd</i></dt> |
428 <dd> |
428 <dd> |
429 QScintilla command |
429 QScintilla command |
430 </dd> |
430 </dd> |
431 </dl><a NAME="Shell.__QScintillaLineUp" ID="Shell.__QScintillaLineUp"></a> |
431 </dl><a NAME="Shell.__QScintillaLineUp" ID="Shell.__QScintillaLineUp"></a> |
432 <h4>Shell.__QScintillaLineUp</h4> |
432 <h4>Shell.__QScintillaLineUp</h4> |
433 <b>__QScintillaLineUp</b>(<i>cmd</i>) |
433 <b>__QScintillaLineUp</b>(<i>cmd</i>) |
434 <p> |
434 <p> |
435 Private method to handle the Up key. |
435 Private method to handle the Up key. |
436 </p><dl> |
436 </p><dl> |
437 <dt><i>cmd</i></dt> |
437 <dt><i>cmd</i></dt> |
438 <dd> |
438 <dd> |
439 QScintilla command |
439 QScintilla command |
440 </dd> |
440 </dd> |
441 </dl><a NAME="Shell.__QScintillaNewline" ID="Shell.__QScintillaNewline"></a> |
441 </dl><a NAME="Shell.__QScintillaNewline" ID="Shell.__QScintillaNewline"></a> |
442 <h4>Shell.__QScintillaNewline</h4> |
442 <h4>Shell.__QScintillaNewline</h4> |
443 <b>__QScintillaNewline</b>(<i>cmd</i>) |
443 <b>__QScintillaNewline</b>(<i>cmd</i>) |
444 <p> |
444 <p> |
445 Private method to handle the Return key. |
445 Private method to handle the Return key. |
446 </p><dl> |
446 </p><dl> |
447 <dt><i>cmd</i></dt> |
447 <dt><i>cmd</i></dt> |
448 <dd> |
448 <dd> |
449 QScintilla command |
449 QScintilla command |
450 </dd> |
450 </dd> |
451 </dl><a NAME="Shell.__QScintillaRightCommand" ID="Shell.__QScintillaRightCommand"></a> |
451 </dl><a NAME="Shell.__QScintillaRightCommand" ID="Shell.__QScintillaRightCommand"></a> |
452 <h4>Shell.__QScintillaRightCommand</h4> |
452 <h4>Shell.__QScintillaRightCommand</h4> |
453 <b>__QScintillaRightCommand</b>(<i>method</i>) |
453 <b>__QScintillaRightCommand</b>(<i>method</i>) |
454 <p> |
454 <p> |
455 Private method to handle a QScintilla command working to the right. |
455 Private method to handle a QScintilla command working to the right. |
456 </p><dl> |
456 </p><dl> |
457 <dt><i>method</i></dt> |
457 <dt><i>method</i></dt> |
458 <dd> |
458 <dd> |
459 shell method to execute |
459 shell method to execute |
460 </dd> |
460 </dd> |
461 </dl><a NAME="Shell.__QScintillaTab" ID="Shell.__QScintillaTab"></a> |
461 </dl><a NAME="Shell.__QScintillaTab" ID="Shell.__QScintillaTab"></a> |
462 <h4>Shell.__QScintillaTab</h4> |
462 <h4>Shell.__QScintillaTab</h4> |
463 <b>__QScintillaTab</b>(<i>cmd</i>) |
463 <b>__QScintillaTab</b>(<i>cmd</i>) |
464 <p> |
464 <p> |
465 Private method to handle the Tab key. |
465 Private method to handle the Tab key. |
466 </p><dl> |
466 </p><dl> |
467 <dt><i>cmd</i></dt> |
467 <dt><i>cmd</i></dt> |
468 <dd> |
468 <dd> |
469 QScintilla command |
469 QScintilla command |
470 </dd> |
470 </dd> |
471 </dl><a NAME="Shell.__QScintillaVCHome" ID="Shell.__QScintillaVCHome"></a> |
471 </dl><a NAME="Shell.__QScintillaVCHome" ID="Shell.__QScintillaVCHome"></a> |
472 <h4>Shell.__QScintillaVCHome</h4> |
472 <h4>Shell.__QScintillaVCHome</h4> |
473 <b>__QScintillaVCHome</b>(<i>cmd</i>) |
473 <b>__QScintillaVCHome</b>(<i>cmd</i>) |
474 <p> |
474 <p> |
475 Private method to handle the Home key. |
475 Private method to handle the Home key. |
476 </p><dl> |
476 </p><dl> |
477 <dt><i>cmd</i></dt> |
477 <dt><i>cmd</i></dt> |
478 <dd> |
478 <dd> |
479 QScintilla command |
479 QScintilla command |
480 </dd> |
480 </dd> |
481 </dl><a NAME="Shell.__QScintillaVCHomeExtend" ID="Shell.__QScintillaVCHomeExtend"></a> |
481 </dl><a NAME="Shell.__QScintillaVCHomeExtend" ID="Shell.__QScintillaVCHomeExtend"></a> |
482 <h4>Shell.__QScintillaVCHomeExtend</h4> |
482 <h4>Shell.__QScintillaVCHomeExtend</h4> |
483 <b>__QScintillaVCHomeExtend</b>(<i></i>) |
483 <b>__QScintillaVCHomeExtend</b>(<i></i>) |
484 <p> |
484 <p> |
485 Private method to handle the Extend Selection to start of line command. |
485 Private method to handle the Extend Selection to start of line command. |
486 </p><a NAME="Shell.__QScintillaWordLeft" ID="Shell.__QScintillaWordLeft"></a> |
486 </p><a NAME="Shell.__QScintillaWordLeft" ID="Shell.__QScintillaWordLeft"></a> |
487 <h4>Shell.__QScintillaWordLeft</h4> |
487 <h4>Shell.__QScintillaWordLeft</h4> |
488 <b>__QScintillaWordLeft</b>(<i></i>) |
488 <b>__QScintillaWordLeft</b>(<i></i>) |
489 <p> |
489 <p> |
490 Private method to handle the Cursor Word Left command. |
490 Private method to handle the Cursor Word Left command. |
491 </p><a NAME="Shell.__QScintillaWordLeftExtend" ID="Shell.__QScintillaWordLeftExtend"></a> |
491 </p><a NAME="Shell.__QScintillaWordLeftExtend" ID="Shell.__QScintillaWordLeftExtend"></a> |
492 <h4>Shell.__QScintillaWordLeftExtend</h4> |
492 <h4>Shell.__QScintillaWordLeftExtend</h4> |
493 <b>__QScintillaWordLeftExtend</b>(<i></i>) |
493 <b>__QScintillaWordLeftExtend</b>(<i></i>) |
494 <p> |
494 <p> |
495 Private method to handle the Extend Selection Left one word command. |
495 Private method to handle the Extend Selection Left one word command. |
496 </p><a NAME="Shell.__QScintillaWordRight" ID="Shell.__QScintillaWordRight"></a> |
496 </p><a NAME="Shell.__QScintillaWordRight" ID="Shell.__QScintillaWordRight"></a> |
497 <h4>Shell.__QScintillaWordRight</h4> |
497 <h4>Shell.__QScintillaWordRight</h4> |
498 <b>__QScintillaWordRight</b>(<i></i>) |
498 <b>__QScintillaWordRight</b>(<i></i>) |
499 <p> |
499 <p> |
500 Private method to handle the Cursor Word Right command. |
500 Private method to handle the Cursor Word Right command. |
501 </p><a NAME="Shell.__bindLexer" ID="Shell.__bindLexer"></a> |
501 </p><a NAME="Shell.__bindLexer" ID="Shell.__bindLexer"></a> |
502 <h4>Shell.__bindLexer</h4> |
502 <h4>Shell.__bindLexer</h4> |
503 <b>__bindLexer</b>(<i>language = 'Python'</i>) |
503 <b>__bindLexer</b>(<i>language = 'Python'</i>) |
504 <p> |
504 <p> |
505 Private slot to set the lexer. |
505 Private slot to set the lexer. |
506 </p><dl> |
506 </p><dl> |
507 <dt><i>language</i></dt> |
507 <dt><i>language</i></dt> |
508 <dd> |
508 <dd> |
509 lexer language to set (string) |
509 lexer language to set (string) |
510 </dd> |
510 </dd> |
511 </dl><a NAME="Shell.__clearCurrentLine" ID="Shell.__clearCurrentLine"></a> |
511 </dl><a NAME="Shell.__clearCurrentLine" ID="Shell.__clearCurrentLine"></a> |
512 <h4>Shell.__clearCurrentLine</h4> |
512 <h4>Shell.__clearCurrentLine</h4> |
513 <b>__clearCurrentLine</b>(<i></i>) |
513 <b>__clearCurrentLine</b>(<i></i>) |
514 <p> |
514 <p> |
515 Private method to clear the line containing the cursor. |
515 Private method to clear the line containing the cursor. |
516 </p><a NAME="Shell.__clearHistory" ID="Shell.__clearHistory"></a> |
516 </p><a NAME="Shell.__clearHistory" ID="Shell.__clearHistory"></a> |
517 <h4>Shell.__clearHistory</h4> |
517 <h4>Shell.__clearHistory</h4> |
518 <b>__clearHistory</b>(<i></i>) |
518 <b>__clearHistory</b>(<i></i>) |
519 <p> |
519 <p> |
520 Private slot to clear the current history. |
520 Private slot to clear the current history. |
521 </p><a NAME="Shell.__clientCapabilities" ID="Shell.__clientCapabilities"></a> |
521 </p><a NAME="Shell.__clientCapabilities" ID="Shell.__clientCapabilities"></a> |
522 <h4>Shell.__clientCapabilities</h4> |
522 <h4>Shell.__clientCapabilities</h4> |
523 <b>__clientCapabilities</b>(<i>cap, clType</i>) |
523 <b>__clientCapabilities</b>(<i>cap, clType</i>) |
524 <p> |
524 <p> |
525 Private slot to handle the reporting of the clients capabilities. |
525 Private slot to handle the reporting of the clients capabilities. |
526 </p><dl> |
526 </p><dl> |
527 <dt><i>cap</i></dt> |
527 <dt><i>cap</i></dt> |
528 <dd> |
528 <dd> |
529 client capabilities (integer) |
529 client capabilities (integer) |
530 </dd><dt><i>clType</i></dt> |
530 </dd><dt><i>clType</i></dt> |
531 <dd> |
531 <dd> |
532 type of the debug client (string) |
532 type of the debug client (string) |
533 </dd> |
533 </dd> |
534 </dl><a NAME="Shell.__clientError" ID="Shell.__clientError"></a> |
534 </dl><a NAME="Shell.__clientError" ID="Shell.__clientError"></a> |
535 <h4>Shell.__clientError</h4> |
535 <h4>Shell.__clientError</h4> |
536 <b>__clientError</b>(<i></i>) |
536 <b>__clientError</b>(<i></i>) |
537 <p> |
537 <p> |
538 Private method to handle an error in the client. |
538 Private method to handle an error in the client. |
539 </p><a NAME="Shell.__clientStatement" ID="Shell.__clientStatement"></a> |
539 </p><a NAME="Shell.__clientStatement" ID="Shell.__clientStatement"></a> |
540 <h4>Shell.__clientStatement</h4> |
540 <h4>Shell.__clientStatement</h4> |
541 <b>__clientStatement</b>(<i>more</i>) |
541 <b>__clientStatement</b>(<i>more</i>) |
542 <p> |
542 <p> |
543 Private method to handle the response from the debugger client. |
543 Private method to handle the response from the debugger client. |
544 </p><dl> |
544 </p><dl> |
545 <dt><i>more</i></dt> |
545 <dt><i>more</i></dt> |
546 <dd> |
546 <dd> |
547 flag indicating that more user input is required (boolean) |
547 flag indicating that more user input is required (boolean) |
548 </dd> |
548 </dd> |
549 </dl><a NAME="Shell.__completionListSelected" ID="Shell.__completionListSelected"></a> |
549 </dl><a NAME="Shell.__completionListSelected" ID="Shell.__completionListSelected"></a> |
550 <h4>Shell.__completionListSelected</h4> |
550 <h4>Shell.__completionListSelected</h4> |
551 <b>__completionListSelected</b>(<i>id, txt</i>) |
551 <b>__completionListSelected</b>(<i>id, txt</i>) |
552 <p> |
552 <p> |
553 Private slot to handle the selection from the completion list. |
553 Private slot to handle the selection from the completion list. |
554 </p><dl> |
554 </p><dl> |
555 <dt><i>id</i></dt> |
555 <dt><i>id</i></dt> |
556 <dd> |
556 <dd> |
557 the ID of the user list (should be 1) (integer) |
557 the ID of the user list (should be 1) (integer) |
558 </dd><dt><i>txt</i></dt> |
558 </dd><dt><i>txt</i></dt> |
559 <dd> |
559 <dd> |
560 the selected text (string) |
560 the selected text (string) |
561 </dd> |
561 </dd> |
562 </dl><a NAME="Shell.__configure" ID="Shell.__configure"></a> |
562 </dl><a NAME="Shell.__configure" ID="Shell.__configure"></a> |
563 <h4>Shell.__configure</h4> |
563 <h4>Shell.__configure</h4> |
564 <b>__configure</b>(<i></i>) |
564 <b>__configure</b>(<i></i>) |
565 <p> |
565 <p> |
566 Private method to open the configuration dialog. |
566 Private method to open the configuration dialog. |
567 </p><a NAME="Shell.__executeCommand" ID="Shell.__executeCommand"></a> |
567 </p><a NAME="Shell.__executeCommand" ID="Shell.__executeCommand"></a> |
568 <h4>Shell.__executeCommand</h4> |
568 <h4>Shell.__executeCommand</h4> |
569 <b>__executeCommand</b>(<i>cmd</i>) |
569 <b>__executeCommand</b>(<i>cmd</i>) |
570 <p> |
570 <p> |
571 Private slot to execute a command. |
571 Private slot to execute a command. |
572 </p><dl> |
572 </p><dl> |
573 <dt><i>cmd</i></dt> |
573 <dt><i>cmd</i></dt> |
574 <dd> |
574 <dd> |
575 command to be executed by debug client (string) |
575 command to be executed by debug client (string) |
576 </dd> |
576 </dd> |
577 </dl><a NAME="Shell.__getBanner" ID="Shell.__getBanner"></a> |
577 </dl><a NAME="Shell.__getBanner" ID="Shell.__getBanner"></a> |
578 <h4>Shell.__getBanner</h4> |
578 <h4>Shell.__getBanner</h4> |
579 <b>__getBanner</b>(<i></i>) |
579 <b>__getBanner</b>(<i></i>) |
580 <p> |
580 <p> |
581 Private method to get the banner for the remote interpreter. |
581 Private method to get the banner for the remote interpreter. |
582 </p><p> |
582 </p><p> |
583 It requests the interpreter version and platform running on the |
583 It requests the interpreter version and platform running on the |
584 debug client side. |
584 debug client side. |
585 </p><a NAME="Shell.__getEndPos" ID="Shell.__getEndPos"></a> |
585 </p><a NAME="Shell.__getEndPos" ID="Shell.__getEndPos"></a> |
586 <h4>Shell.__getEndPos</h4> |
586 <h4>Shell.__getEndPos</h4> |
587 <b>__getEndPos</b>(<i></i>) |
587 <b>__getEndPos</b>(<i></i>) |
588 <p> |
588 <p> |
589 Private method to return the line and column of the last character. |
589 Private method to return the line and column of the last character. |
590 </p><dl> |
590 </p><dl> |
591 <dt>Returns:</dt> |
591 <dt>Returns:</dt> |
592 <dd> |
592 <dd> |
593 tuple of two values (int, int) giving the line and column |
593 tuple of two values (int, int) giving the line and column |
594 </dd> |
594 </dd> |
595 </dl><a NAME="Shell.__initialise" ID="Shell.__initialise"></a> |
595 </dl><a NAME="Shell.__initialise" ID="Shell.__initialise"></a> |
596 <h4>Shell.__initialise</h4> |
596 <h4>Shell.__initialise</h4> |
597 <b>__initialise</b>(<i></i>) |
597 <b>__initialise</b>(<i></i>) |
598 <p> |
598 <p> |
599 Private method to get ready for a new remote interpreter. |
599 Private method to get ready for a new remote interpreter. |
600 </p><a NAME="Shell.__insertHistory" ID="Shell.__insertHistory"></a> |
600 </p><a NAME="Shell.__insertHistory" ID="Shell.__insertHistory"></a> |
601 <h4>Shell.__insertHistory</h4> |
601 <h4>Shell.__insertHistory</h4> |
602 <b>__insertHistory</b>(<i>cmd</i>) |
602 <b>__insertHistory</b>(<i>cmd</i>) |
603 <p> |
603 <p> |
604 Private method to insert a command selected from the history. |
604 Private method to insert a command selected from the history. |
605 </p><dl> |
605 </p><dl> |
606 <dt><i>cmd</i></dt> |
606 <dt><i>cmd</i></dt> |
607 <dd> |
607 <dd> |
608 history entry to be inserted (string) |
608 history entry to be inserted (string) |
609 </dd> |
609 </dd> |
610 </dl><a NAME="Shell.__insertText" ID="Shell.__insertText"></a> |
610 </dl><a NAME="Shell.__insertText" ID="Shell.__insertText"></a> |
611 <h4>Shell.__insertText</h4> |
611 <h4>Shell.__insertText</h4> |
612 <b>__insertText</b>(<i>s</i>) |
612 <b>__insertText</b>(<i>s</i>) |
613 <p> |
613 <p> |
614 Private method to insert some text at the current cursor position. |
614 Private method to insert some text at the current cursor position. |
615 </p><dl> |
615 </p><dl> |
616 <dt><i>s</i></dt> |
616 <dt><i>s</i></dt> |
617 <dd> |
617 <dd> |
618 text to be inserted (string) |
618 text to be inserted (string) |
619 </dd> |
619 </dd> |
620 </dl><a NAME="Shell.__insertTextAtEnd" ID="Shell.__insertTextAtEnd"></a> |
620 </dl><a NAME="Shell.__insertTextAtEnd" ID="Shell.__insertTextAtEnd"></a> |
621 <h4>Shell.__insertTextAtEnd</h4> |
621 <h4>Shell.__insertTextAtEnd</h4> |
622 <b>__insertTextAtEnd</b>(<i>s</i>) |
622 <b>__insertTextAtEnd</b>(<i>s</i>) |
623 <p> |
623 <p> |
624 Private method to insert some text at the end of the command line. |
624 Private method to insert some text at the end of the command line. |
625 </p><dl> |
625 </p><dl> |
626 <dt><i>s</i></dt> |
626 <dt><i>s</i></dt> |
627 <dd> |
627 <dd> |
628 text to be inserted (string) |
628 text to be inserted (string) |
629 </dd> |
629 </dd> |
630 </dl><a NAME="Shell.__insertTextNoEcho" ID="Shell.__insertTextNoEcho"></a> |
630 </dl><a NAME="Shell.__insertTextNoEcho" ID="Shell.__insertTextNoEcho"></a> |
631 <h4>Shell.__insertTextNoEcho</h4> |
631 <h4>Shell.__insertTextNoEcho</h4> |
632 <b>__insertTextNoEcho</b>(<i>s</i>) |
632 <b>__insertTextNoEcho</b>(<i>s</i>) |
633 <p> |
633 <p> |
634 Private method to insert some text at the end of the buffer without echoing it. |
634 Private method to insert some text at the end of the buffer without echoing it. |
635 </p><dl> |
635 </p><dl> |
636 <dt><i>s</i></dt> |
636 <dt><i>s</i></dt> |
637 <dd> |
637 <dd> |
638 text to be inserted (string) |
638 text to be inserted (string) |
639 </dd> |
639 </dd> |
640 </dl><a NAME="Shell.__isCursorOnLastLine" ID="Shell.__isCursorOnLastLine"></a> |
640 </dl><a NAME="Shell.__isCursorOnLastLine" ID="Shell.__isCursorOnLastLine"></a> |
641 <h4>Shell.__isCursorOnLastLine</h4> |
641 <h4>Shell.__isCursorOnLastLine</h4> |
642 <b>__isCursorOnLastLine</b>(<i></i>) |
642 <b>__isCursorOnLastLine</b>(<i></i>) |
643 <p> |
643 <p> |
644 Private method to check, if the cursor is on the last line. |
644 Private method to check, if the cursor is on the last line. |
645 </p><a NAME="Shell.__middleMouseButton" ID="Shell.__middleMouseButton"></a> |
645 </p><a NAME="Shell.__middleMouseButton" ID="Shell.__middleMouseButton"></a> |
646 <h4>Shell.__middleMouseButton</h4> |
646 <h4>Shell.__middleMouseButton</h4> |
647 <b>__middleMouseButton</b>(<i></i>) |
647 <b>__middleMouseButton</b>(<i></i>) |
648 <p> |
648 <p> |
649 Private method to handle the middle mouse button press. |
649 Private method to handle the middle mouse button press. |
650 </p><a NAME="Shell.__raw_input" ID="Shell.__raw_input"></a> |
650 </p><a NAME="Shell.__raw_input" ID="Shell.__raw_input"></a> |
651 <h4>Shell.__raw_input</h4> |
651 <h4>Shell.__raw_input</h4> |
652 <b>__raw_input</b>(<i>s, echo</i>) |
652 <b>__raw_input</b>(<i>s, echo</i>) |
653 <p> |
653 <p> |
654 Private method to handle raw input. |
654 Private method to handle raw input. |
655 </p><dl> |
655 </p><dl> |
656 <dt><i>s</i></dt> |
656 <dt><i>s</i></dt> |
657 <dd> |
657 <dd> |
658 prompt to be displayed (string) |
658 prompt to be displayed (string) |
659 </dd><dt><i>echo</i></dt> |
659 </dd><dt><i>echo</i></dt> |
660 <dd> |
660 <dd> |
661 Flag indicating echoing of the input (boolean) |
661 Flag indicating echoing of the input (boolean) |
662 </dd> |
662 </dd> |
663 </dl><a NAME="Shell.__reset" ID="Shell.__reset"></a> |
663 </dl><a NAME="Shell.__reset" ID="Shell.__reset"></a> |
664 <h4>Shell.__reset</h4> |
664 <h4>Shell.__reset</h4> |
665 <b>__reset</b>(<i></i>) |
665 <b>__reset</b>(<i></i>) |
666 <p> |
666 <p> |
667 Private slot to handle the 'reset' context menu entry. |
667 Private slot to handle the 'reset' context menu entry. |
668 </p><a NAME="Shell.__resetAndClear" ID="Shell.__resetAndClear"></a> |
668 </p><a NAME="Shell.__resetAndClear" ID="Shell.__resetAndClear"></a> |
669 <h4>Shell.__resetAndClear</h4> |
669 <h4>Shell.__resetAndClear</h4> |
670 <b>__resetAndClear</b>(<i></i>) |
670 <b>__resetAndClear</b>(<i></i>) |
671 <p> |
671 <p> |
672 Private slot to handle the 'reset and clear' context menu entry. |
672 Private slot to handle the 'reset and clear' context menu entry. |
673 </p><a NAME="Shell.__rsearchHistory" ID="Shell.__rsearchHistory"></a> |
673 </p><a NAME="Shell.__rsearchHistory" ID="Shell.__rsearchHistory"></a> |
674 <h4>Shell.__rsearchHistory</h4> |
674 <h4>Shell.__rsearchHistory</h4> |
675 <b>__rsearchHistory</b>(<i>txt, startIdx = -1</i>) |
675 <b>__rsearchHistory</b>(<i>txt, startIdx = -1</i>) |
676 <p> |
676 <p> |
677 Private method used to reverse search the history. |
677 Private method used to reverse search the history. |
678 </p><dl> |
678 </p><dl> |
679 <dt><i>txt</i></dt> |
679 <dt><i>txt</i></dt> |
680 <dd> |
680 <dd> |
681 text to match at the beginning (string) |
681 text to match at the beginning (string) |
682 </dd><dt><i>startIdx</i></dt> |
682 </dd><dt><i>startIdx</i></dt> |
683 <dd> |
683 <dd> |
684 index to start search from (integer) |
684 index to start search from (integer) |
685 </dd> |
685 </dd> |
686 </dl><dl> |
686 </dl><dl> |
687 <dt>Returns:</dt> |
687 <dt>Returns:</dt> |
688 <dd> |
688 <dd> |
689 index of found entry (integer) |
689 index of found entry (integer) |
690 </dd> |
690 </dd> |
691 </dl><a NAME="Shell.__searchHistory" ID="Shell.__searchHistory"></a> |
691 </dl><a NAME="Shell.__searchHistory" ID="Shell.__searchHistory"></a> |
692 <h4>Shell.__searchHistory</h4> |
692 <h4>Shell.__searchHistory</h4> |
693 <b>__searchHistory</b>(<i>txt, startIdx = -1</i>) |
693 <b>__searchHistory</b>(<i>txt, startIdx = -1</i>) |
694 <p> |
694 <p> |
695 Private method used to search the history. |
695 Private method used to search the history. |
696 </p><dl> |
696 </p><dl> |
697 <dt><i>txt</i></dt> |
697 <dt><i>txt</i></dt> |
698 <dd> |
698 <dd> |
699 text to match at the beginning (string) |
699 text to match at the beginning (string) |
700 </dd><dt><i>startIdx</i></dt> |
700 </dd><dt><i>startIdx</i></dt> |
701 <dd> |
701 <dd> |
702 index to start search from (integer) |
702 index to start search from (integer) |
703 </dd> |
703 </dd> |
704 </dl><dl> |
704 </dl><dl> |
705 <dt>Returns:</dt> |
705 <dt>Returns:</dt> |
706 <dd> |
706 <dd> |
707 index of found entry (integer) |
707 index of found entry (integer) |
708 </dd> |
708 </dd> |
709 </dl><a NAME="Shell.__selectHistory" ID="Shell.__selectHistory"></a> |
709 </dl><a NAME="Shell.__selectHistory" ID="Shell.__selectHistory"></a> |
710 <h4>Shell.__selectHistory</h4> |
710 <h4>Shell.__selectHistory</h4> |
711 <b>__selectHistory</b>(<i></i>) |
711 <b>__selectHistory</b>(<i></i>) |
712 <p> |
712 <p> |
713 Private slot to select a history entry to execute. |
713 Private slot to select a history entry to execute. |
714 </p><a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a> |
714 </p><a NAME="Shell.__setAutoCompletion" ID="Shell.__setAutoCompletion"></a> |
715 <h4>Shell.__setAutoCompletion</h4> |
715 <h4>Shell.__setAutoCompletion</h4> |
716 <b>__setAutoCompletion</b>(<i>language = 'Python'</i>) |
716 <b>__setAutoCompletion</b>(<i>language = 'Python'</i>) |
717 <p> |
717 <p> |
718 Private method to configure the autocompletion function. |
718 Private method to configure the autocompletion function. |
719 </p><dl> |
719 </p><dl> |
720 <dt><i>language</i></dt> |
720 <dt><i>language</i></dt> |
721 <dd> |
721 <dd> |
722 of the autocompletion set to set (string) |
722 of the autocompletion set to set (string) |
723 </dd> |
723 </dd> |
724 </dl><a NAME="Shell.__setCallTips" ID="Shell.__setCallTips"></a> |
724 </dl><a NAME="Shell.__setCallTips" ID="Shell.__setCallTips"></a> |
725 <h4>Shell.__setCallTips</h4> |
725 <h4>Shell.__setCallTips</h4> |
726 <b>__setCallTips</b>(<i>language = 'Python'</i>) |
726 <b>__setCallTips</b>(<i>language = 'Python'</i>) |
727 <p> |
727 <p> |
728 Private method to configure the calltips function. |
728 Private method to configure the calltips function. |
729 </p><dl> |
729 </p><dl> |
730 <dt><i>language</i></dt> |
730 <dt><i>language</i></dt> |
731 <dd> |
731 <dd> |
732 of the calltips set to set (string) |
732 of the calltips set to set (string) |
733 </dd> |
733 </dd> |
734 </dl><a NAME="Shell.__setMargin0" ID="Shell.__setMargin0"></a> |
734 </dl><a NAME="Shell.__setMargin0" ID="Shell.__setMargin0"></a> |
735 <h4>Shell.__setMargin0</h4> |
735 <h4>Shell.__setMargin0</h4> |
736 <b>__setMargin0</b>(<i></i>) |
736 <b>__setMargin0</b>(<i></i>) |
737 <p> |
737 <p> |
738 Private method to configure margin 0. |
738 Private method to configure margin 0. |
739 </p><a NAME="Shell.__setMonospaced" ID="Shell.__setMonospaced"></a> |
739 </p><a NAME="Shell.__setMonospaced" ID="Shell.__setMonospaced"></a> |
740 <h4>Shell.__setMonospaced</h4> |
740 <h4>Shell.__setMonospaced</h4> |
741 <b>__setMonospaced</b>(<i>on</i>) |
741 <b>__setMonospaced</b>(<i>on</i>) |
742 <p> |
742 <p> |
743 Private method to set/reset a monospaced font. |
743 Private method to set/reset a monospaced font. |
744 </p><dl> |
744 </p><dl> |
745 <dt><i>on</i></dt> |
745 <dt><i>on</i></dt> |
746 <dd> |
746 <dd> |
747 flag to indicate usage of a monospace font (boolean) |
747 flag to indicate usage of a monospace font (boolean) |
748 </dd> |
748 </dd> |
749 </dl><a NAME="Shell.__setTextDisplay" ID="Shell.__setTextDisplay"></a> |
749 </dl><a NAME="Shell.__setTextDisplay" ID="Shell.__setTextDisplay"></a> |
750 <h4>Shell.__setTextDisplay</h4> |
750 <h4>Shell.__setTextDisplay</h4> |
751 <b>__setTextDisplay</b>(<i></i>) |
751 <b>__setTextDisplay</b>(<i></i>) |
752 <p> |
752 <p> |
753 Private method to configure the text display. |
753 Private method to configure the text display. |
754 </p><a NAME="Shell.__showCompletions" ID="Shell.__showCompletions"></a> |
754 </p><a NAME="Shell.__showCompletions" ID="Shell.__showCompletions"></a> |
755 <h4>Shell.__showCompletions</h4> |
755 <h4>Shell.__showCompletions</h4> |
756 <b>__showCompletions</b>(<i>completions, text</i>) |
756 <b>__showCompletions</b>(<i>completions, text</i>) |
757 <p> |
757 <p> |
758 Private method to display the possible completions. |
758 Private method to display the possible completions. |
759 </p><dl> |
759 </p><dl> |
760 <dt><i>completions</i></dt> |
760 <dt><i>completions</i></dt> |
761 <dd> |
761 <dd> |
762 list of possible completions (list of strings) |
762 list of possible completions (list of strings) |
763 </dd><dt><i>text</i></dt> |
763 </dd><dt><i>text</i></dt> |
764 <dd> |
764 <dd> |
765 text that is about to be completed (string) |
765 text that is about to be completed (string) |
766 </dd> |
766 </dd> |
767 </dl><a NAME="Shell.__showHistory" ID="Shell.__showHistory"></a> |
767 </dl><a NAME="Shell.__showHistory" ID="Shell.__showHistory"></a> |
768 <h4>Shell.__showHistory</h4> |
768 <h4>Shell.__showHistory</h4> |
769 <b>__showHistory</b>(<i></i>) |
769 <b>__showHistory</b>(<i></i>) |
770 <p> |
770 <p> |
771 Private slot to show the shell history dialog. |
771 Private slot to show the shell history dialog. |
772 </p><a NAME="Shell.__startDebugClient" ID="Shell.__startDebugClient"></a> |
772 </p><a NAME="Shell.__startDebugClient" ID="Shell.__startDebugClient"></a> |
773 <h4>Shell.__startDebugClient</h4> |
773 <h4>Shell.__startDebugClient</h4> |
774 <b>__startDebugClient</b>(<i>action</i>) |
774 <b>__startDebugClient</b>(<i>action</i>) |
775 <p> |
775 <p> |
776 Private slot to start a debug client accoding to the action triggered. |
776 Private slot to start a debug client accoding to the action triggered. |
777 </p><dl> |
777 </p><dl> |
778 <dt><i>action</i></dt> |
778 <dt><i>action</i></dt> |
779 <dd> |
779 <dd> |
780 context menu action that was triggered (QAction) |
780 context menu action that was triggered (QAction) |
781 </dd> |
781 </dd> |
782 </dl><a NAME="Shell.__useHistory" ID="Shell.__useHistory"></a> |
782 </dl><a NAME="Shell.__useHistory" ID="Shell.__useHistory"></a> |
783 <h4>Shell.__useHistory</h4> |
783 <h4>Shell.__useHistory</h4> |
784 <b>__useHistory</b>(<i></i>) |
784 <b>__useHistory</b>(<i></i>) |
785 <p> |
785 <p> |
786 Private method to display a command from the history. |
786 Private method to display a command from the history. |
787 </p><a NAME="Shell.__write" ID="Shell.__write"></a> |
787 </p><a NAME="Shell.__write" ID="Shell.__write"></a> |
788 <h4>Shell.__write</h4> |
788 <h4>Shell.__write</h4> |
789 <b>__write</b>(<i>s</i>) |
789 <b>__write</b>(<i>s</i>) |
790 <p> |
790 <p> |
791 Private method to display some text. |
791 Private method to display some text. |
792 </p><dl> |
792 </p><dl> |
793 <dt><i>s</i></dt> |
793 <dt><i>s</i></dt> |
794 <dd> |
794 <dd> |
795 text to be displayed (string) |
795 text to be displayed (string) |
796 </dd> |
796 </dd> |
797 </dl><a NAME="Shell.__writeBanner" ID="Shell.__writeBanner"></a> |
797 </dl><a NAME="Shell.__writeBanner" ID="Shell.__writeBanner"></a> |
798 <h4>Shell.__writeBanner</h4> |
798 <h4>Shell.__writeBanner</h4> |
799 <b>__writeBanner</b>(<i>version, platform, dbgclient</i>) |
799 <b>__writeBanner</b>(<i>version, platform, dbgclient</i>) |
800 <p> |
800 <p> |
801 Private method to write a banner with info from the debug client. |
801 Private method to write a banner with info from the debug client. |
802 </p><dl> |
802 </p><dl> |
803 <dt><i>version</i></dt> |
803 <dt><i>version</i></dt> |
804 <dd> |
804 <dd> |
805 interpreter version string (string) |
805 interpreter version string (string) |
806 </dd><dt><i>platform</i></dt> |
806 </dd><dt><i>platform</i></dt> |
807 <dd> |
807 <dd> |
808 platform of the remote interpreter (string) |
808 platform of the remote interpreter (string) |
809 </dd><dt><i>dbgclient</i></dt> |
809 </dd><dt><i>dbgclient</i></dt> |
810 <dd> |
810 <dd> |
811 debug client variant used (string) |
811 debug client variant used (string) |
812 </dd> |
812 </dd> |
813 </dl><a NAME="Shell.__writePrompt" ID="Shell.__writePrompt"></a> |
813 </dl><a NAME="Shell.__writePrompt" ID="Shell.__writePrompt"></a> |
814 <h4>Shell.__writePrompt</h4> |
814 <h4>Shell.__writePrompt</h4> |
815 <b>__writePrompt</b>(<i></i>) |
815 <b>__writePrompt</b>(<i></i>) |
816 <p> |
816 <p> |
817 Private method to write the prompt. |
817 Private method to write the prompt. |
818 </p><a NAME="Shell.__writeStdErr" ID="Shell.__writeStdErr"></a> |
818 </p><a NAME="Shell.__writeStdErr" ID="Shell.__writeStdErr"></a> |
819 <h4>Shell.__writeStdErr</h4> |
819 <h4>Shell.__writeStdErr</h4> |
820 <b>__writeStdErr</b>(<i>s</i>) |
820 <b>__writeStdErr</b>(<i>s</i>) |
821 <p> |
821 <p> |
822 Private method to display some text with StdErr label. |
822 Private method to display some text with StdErr label. |
823 </p><dl> |
823 </p><dl> |
824 <dt><i>s</i></dt> |
824 <dt><i>s</i></dt> |
825 <dd> |
825 <dd> |
826 text to be displayed (string) |
826 text to be displayed (string) |
827 </dd> |
827 </dd> |
828 </dl><a NAME="Shell.__writeStdOut" ID="Shell.__writeStdOut"></a> |
828 </dl><a NAME="Shell.__writeStdOut" ID="Shell.__writeStdOut"></a> |
829 <h4>Shell.__writeStdOut</h4> |
829 <h4>Shell.__writeStdOut</h4> |
830 <b>__writeStdOut</b>(<i>s</i>) |
830 <b>__writeStdOut</b>(<i>s</i>) |
831 <p> |
831 <p> |
832 Private method to display some text with StdOut label. |
832 Private method to display some text with StdOut label. |
833 </p><dl> |
833 </p><dl> |
834 <dt><i>s</i></dt> |
834 <dt><i>s</i></dt> |
835 <dd> |
835 <dd> |
836 text to be displayed (string) |
836 text to be displayed (string) |
837 </dd> |
837 </dd> |
838 </dl><a NAME="Shell.clear" ID="Shell.clear"></a> |
838 </dl><a NAME="Shell.clear" ID="Shell.clear"></a> |
839 <h4>Shell.clear</h4> |
839 <h4>Shell.clear</h4> |
840 <b>clear</b>(<i></i>) |
840 <b>clear</b>(<i></i>) |
841 <p> |
841 <p> |
842 Public slot to clear the display. |
842 Public slot to clear the display. |
843 </p><a NAME="Shell.closeShell" ID="Shell.closeShell"></a> |
843 </p><a NAME="Shell.closeShell" ID="Shell.closeShell"></a> |
844 <h4>Shell.closeShell</h4> |
844 <h4>Shell.closeShell</h4> |
845 <b>closeShell</b>(<i></i>) |
845 <b>closeShell</b>(<i></i>) |
846 <p> |
846 <p> |
847 Public method to shutdown the shell. |
847 Public method to shutdown the shell. |
848 </p><a NAME="Shell.contextMenuEvent" ID="Shell.contextMenuEvent"></a> |
848 </p><a NAME="Shell.contextMenuEvent" ID="Shell.contextMenuEvent"></a> |
849 <h4>Shell.contextMenuEvent</h4> |
849 <h4>Shell.contextMenuEvent</h4> |
850 <b>contextMenuEvent</b>(<i>ev</i>) |
850 <b>contextMenuEvent</b>(<i>ev</i>) |
851 <p> |
851 <p> |
852 Reimplemented to show our own context menu. |
852 Reimplemented to show our own context menu. |
853 </p><dl> |
853 </p><dl> |
854 <dt><i>ev</i></dt> |
854 <dt><i>ev</i></dt> |
855 <dd> |
855 <dd> |
856 context menu event (QContextMenuEvent) |
856 context menu event (QContextMenuEvent) |
857 </dd> |
857 </dd> |
858 </dl><a NAME="Shell.dragEnterEvent" ID="Shell.dragEnterEvent"></a> |
858 </dl><a NAME="Shell.dragEnterEvent" ID="Shell.dragEnterEvent"></a> |
859 <h4>Shell.dragEnterEvent</h4> |
859 <h4>Shell.dragEnterEvent</h4> |
860 <b>dragEnterEvent</b>(<i>event</i>) |
860 <b>dragEnterEvent</b>(<i>event</i>) |
861 <p> |
861 <p> |
862 Protected method to handle the drag enter event. |
862 Protected method to handle the drag enter event. |
863 </p><dl> |
863 </p><dl> |
864 <dt><i>event</i></dt> |
864 <dt><i>event</i></dt> |
865 <dd> |
865 <dd> |
866 the drag enter event (QDragEnterEvent) |
866 the drag enter event (QDragEnterEvent) |
867 </dd> |
867 </dd> |
868 </dl><a NAME="Shell.dragLeaveEvent" ID="Shell.dragLeaveEvent"></a> |
868 </dl><a NAME="Shell.dragLeaveEvent" ID="Shell.dragLeaveEvent"></a> |
869 <h4>Shell.dragLeaveEvent</h4> |
869 <h4>Shell.dragLeaveEvent</h4> |
870 <b>dragLeaveEvent</b>(<i>event</i>) |
870 <b>dragLeaveEvent</b>(<i>event</i>) |
871 <p> |
871 <p> |
872 Protected method to handle the drag leave event. |
872 Protected method to handle the drag leave event. |
873 </p><dl> |
873 </p><dl> |
874 <dt><i>event</i></dt> |
874 <dt><i>event</i></dt> |
875 <dd> |
875 <dd> |
876 the drag leave event (QDragLeaveEvent) |
876 the drag leave event (QDragLeaveEvent) |
877 </dd> |
877 </dd> |
878 </dl><a NAME="Shell.dragMoveEvent" ID="Shell.dragMoveEvent"></a> |
878 </dl><a NAME="Shell.dragMoveEvent" ID="Shell.dragMoveEvent"></a> |
879 <h4>Shell.dragMoveEvent</h4> |
879 <h4>Shell.dragMoveEvent</h4> |
880 <b>dragMoveEvent</b>(<i>event</i>) |
880 <b>dragMoveEvent</b>(<i>event</i>) |
881 <p> |
881 <p> |
882 Protected method to handle the drag move event. |
882 Protected method to handle the drag move event. |
883 </p><dl> |
883 </p><dl> |
884 <dt><i>event</i></dt> |
884 <dt><i>event</i></dt> |
885 <dd> |
885 <dd> |
886 the drag move event (QDragMoveEvent) |
886 the drag move event (QDragMoveEvent) |
887 </dd> |
887 </dd> |
888 </dl><a NAME="Shell.dropEvent" ID="Shell.dropEvent"></a> |
888 </dl><a NAME="Shell.dropEvent" ID="Shell.dropEvent"></a> |
889 <h4>Shell.dropEvent</h4> |
889 <h4>Shell.dropEvent</h4> |
890 <b>dropEvent</b>(<i>event</i>) |
890 <b>dropEvent</b>(<i>event</i>) |
891 <p> |
891 <p> |
892 Protected method to handle the drop event. |
892 Protected method to handle the drop event. |
893 </p><dl> |
893 </p><dl> |
894 <dt><i>event</i></dt> |
894 <dt><i>event</i></dt> |
895 <dd> |
895 <dd> |
896 the drop event (QDropEvent) |
896 the drop event (QDropEvent) |
897 </dd> |
897 </dd> |
898 </dl><a NAME="Shell.editorCommand" ID="Shell.editorCommand"></a> |
898 </dl><a NAME="Shell.editorCommand" ID="Shell.editorCommand"></a> |
899 <h4>Shell.editorCommand</h4> |
899 <h4>Shell.editorCommand</h4> |
900 <b>editorCommand</b>(<i>cmd</i>) |
900 <b>editorCommand</b>(<i>cmd</i>) |
901 <p> |
901 <p> |
902 Public method to perform an editor command. |
902 Public method to perform an editor command. |
903 </p><dl> |
903 </p><dl> |
904 <dt><i>cmd</i></dt> |
904 <dt><i>cmd</i></dt> |
905 <dd> |
905 <dd> |
906 the scintilla command to be performed |
906 the scintilla command to be performed |
907 </dd> |
907 </dd> |
908 </dl><a NAME="Shell.executeLines" ID="Shell.executeLines"></a> |
908 </dl><a NAME="Shell.executeLines" ID="Shell.executeLines"></a> |
909 <h4>Shell.executeLines</h4> |
909 <h4>Shell.executeLines</h4> |
910 <b>executeLines</b>(<i>lines</i>) |
910 <b>executeLines</b>(<i>lines</i>) |
911 <p> |
911 <p> |
912 Public method to execute a set of lines as multiple commands. |
912 Public method to execute a set of lines as multiple commands. |
913 </p><dl> |
913 </p><dl> |
914 <dt><i>lines</i></dt> |
914 <dt><i>lines</i></dt> |
915 <dd> |
915 <dd> |
916 multiple lines of text to be executed as single |
916 multiple lines of text to be executed as single |
917 commands (string) |
917 commands (string) |
918 </dd> |
918 </dd> |
919 </dl><a NAME="Shell.focusInEvent" ID="Shell.focusInEvent"></a> |
919 </dl><a NAME="Shell.focusInEvent" ID="Shell.focusInEvent"></a> |
920 <h4>Shell.focusInEvent</h4> |
920 <h4>Shell.focusInEvent</h4> |
921 <b>focusInEvent</b>(<i>event</i>) |
921 <b>focusInEvent</b>(<i>event</i>) |
922 <p> |
922 <p> |
923 Public method called when the shell receives focus. |
923 Public method called when the shell receives focus. |
924 </p><dl> |
924 </p><dl> |
925 <dt><i>event</i></dt> |
925 <dt><i>event</i></dt> |
926 <dd> |
926 <dd> |
927 the event object (QFocusEvent) |
927 the event object (QFocusEvent) |
928 </dd> |
928 </dd> |
929 </dl><a NAME="Shell.focusNextPrevChild" ID="Shell.focusNextPrevChild"></a> |
929 </dl><a NAME="Shell.focusNextPrevChild" ID="Shell.focusNextPrevChild"></a> |
930 <h4>Shell.focusNextPrevChild</h4> |
930 <h4>Shell.focusNextPrevChild</h4> |
931 <b>focusNextPrevChild</b>(<i>next</i>) |
931 <b>focusNextPrevChild</b>(<i>next</i>) |
932 <p> |
932 <p> |
933 Reimplemented to stop Tab moving to the next window. |
933 Reimplemented to stop Tab moving to the next window. |
934 </p><p> |
934 </p><p> |
935 While the user is entering a multi-line command, the movement to |
935 While the user is entering a multi-line command, the movement to |
936 the next window by the Tab key being pressed is suppressed. |
936 the next window by the Tab key being pressed is suppressed. |
937 </p><dl> |
937 </p><dl> |
938 <dt><i>next</i></dt> |
938 <dt><i>next</i></dt> |
939 <dd> |
939 <dd> |
940 next window |
940 next window |
941 </dd> |
941 </dd> |
942 </dl><dl> |
942 </dl><dl> |
943 <dt>Returns:</dt> |
943 <dt>Returns:</dt> |
944 <dd> |
944 <dd> |
945 flag indicating the movement |
945 flag indicating the movement |
946 </dd> |
946 </dd> |
947 </dl><a NAME="Shell.focusOutEvent" ID="Shell.focusOutEvent"></a> |
947 </dl><a NAME="Shell.focusOutEvent" ID="Shell.focusOutEvent"></a> |
948 <h4>Shell.focusOutEvent</h4> |
948 <h4>Shell.focusOutEvent</h4> |
949 <b>focusOutEvent</b>(<i>event</i>) |
949 <b>focusOutEvent</b>(<i>event</i>) |
950 <p> |
950 <p> |
951 Public method called when the shell loses focus. |
951 Public method called when the shell loses focus. |
952 </p><dl> |
952 </p><dl> |
953 <dt><i>event</i></dt> |
953 <dt><i>event</i></dt> |
954 <dd> |
954 <dd> |
955 the event object (QFocusEvent) |
955 the event object (QFocusEvent) |
956 </dd> |
956 </dd> |
957 </dl><a NAME="Shell.getClientType" ID="Shell.getClientType"></a> |
957 </dl><a NAME="Shell.getClientType" ID="Shell.getClientType"></a> |
958 <h4>Shell.getClientType</h4> |
958 <h4>Shell.getClientType</h4> |
959 <b>getClientType</b>(<i></i>) |
959 <b>getClientType</b>(<i></i>) |
960 <p> |
960 <p> |
961 Public slot to get the clients type. |
961 Public slot to get the clients type. |
962 </p><dl> |
962 </p><dl> |
963 <dt>Returns:</dt> |
963 <dt>Returns:</dt> |
964 <dd> |
964 <dd> |
965 client type (string) |
965 client type (string) |
966 </dd> |
966 </dd> |
967 </dl><a NAME="Shell.getHistory" ID="Shell.getHistory"></a> |
967 </dl><a NAME="Shell.getHistory" ID="Shell.getHistory"></a> |
968 <h4>Shell.getHistory</h4> |
968 <h4>Shell.getHistory</h4> |
969 <b>getHistory</b>(<i>clientType</i>) |
969 <b>getHistory</b>(<i>clientType</i>) |
970 <p> |
970 <p> |
971 Public method to get the history for the given client type. |
971 Public method to get the history for the given client type. |
972 </p><dl> |
972 </p><dl> |
973 <dt><i>clientType</i></dt> |
973 <dt><i>clientType</i></dt> |
974 <dd> |
974 <dd> |
975 type of the debug client (string). |
975 type of the debug client (string). |
976 If it is None, the current history is returned. |
976 If it is None, the current history is returned. |
977 </dd> |
977 </dd> |
978 </dl><dl> |
978 </dl><dl> |
979 <dt>Returns:</dt> |
979 <dt>Returns:</dt> |
980 <dd> |
980 <dd> |
981 reference to the history list (list of strings) |
981 reference to the history list (list of strings) |
982 </dd> |
982 </dd> |
983 </dl><a NAME="Shell.handlePreferencesChanged" ID="Shell.handlePreferencesChanged"></a> |
983 </dl><a NAME="Shell.handlePreferencesChanged" ID="Shell.handlePreferencesChanged"></a> |
984 <h4>Shell.handlePreferencesChanged</h4> |
984 <h4>Shell.handlePreferencesChanged</h4> |
985 <b>handlePreferencesChanged</b>(<i></i>) |
985 <b>handlePreferencesChanged</b>(<i></i>) |
986 <p> |
986 <p> |
987 Public slot to handle the preferencesChanged signal. |
987 Public slot to handle the preferencesChanged signal. |
988 </p><a NAME="Shell.insert" ID="Shell.insert"></a> |
988 </p><a NAME="Shell.insert" ID="Shell.insert"></a> |
989 <h4>Shell.insert</h4> |
989 <h4>Shell.insert</h4> |
990 <b>insert</b>(<i>txt</i>) |
990 <b>insert</b>(<i>txt</i>) |
991 <p> |
991 <p> |
992 Public slot to insert text at the current cursor position. |
992 Public slot to insert text at the current cursor position. |
993 </p><p> |
993 </p><p> |
994 The cursor is advanced to the end of the inserted text. |
994 The cursor is advanced to the end of the inserted text. |
995 </p><dl> |
995 </p><dl> |
996 <dt><i>txt</i></dt> |
996 <dt><i>txt</i></dt> |
997 <dd> |
997 <dd> |
998 text to be inserted (string) |
998 text to be inserted (string) |
999 </dd> |
999 </dd> |
1000 </dl><a NAME="Shell.keyPressEvent" ID="Shell.keyPressEvent"></a> |
1000 </dl><a NAME="Shell.keyPressEvent" ID="Shell.keyPressEvent"></a> |
1001 <h4>Shell.keyPressEvent</h4> |
1001 <h4>Shell.keyPressEvent</h4> |
1002 <b>keyPressEvent</b>(<i>ev</i>) |
1002 <b>keyPressEvent</b>(<i>ev</i>) |
1003 <p> |
1003 <p> |
1004 Re-implemented to handle the user input a key at a time. |
1004 Re-implemented to handle the user input a key at a time. |
1005 </p><dl> |
1005 </p><dl> |
1006 <dt><i>ev</i></dt> |
1006 <dt><i>ev</i></dt> |
1007 <dd> |
1007 <dd> |
1008 key event (QKeyEvent) |
1008 key event (QKeyEvent) |
1009 </dd> |
1009 </dd> |
1010 </dl><a NAME="Shell.loadHistory" ID="Shell.loadHistory"></a> |
1010 </dl><a NAME="Shell.loadHistory" ID="Shell.loadHistory"></a> |
1011 <h4>Shell.loadHistory</h4> |
1011 <h4>Shell.loadHistory</h4> |
1012 <b>loadHistory</b>(<i>clientType</i>) |
1012 <b>loadHistory</b>(<i>clientType</i>) |
1013 <p> |
1013 <p> |
1014 Public method to load the history for the given client type. |
1014 Public method to load the history for the given client type. |
1015 </p><dl> |
1015 </p><dl> |
1016 <dt><i>clientType</i></dt> |
1016 <dt><i>clientType</i></dt> |
1017 <dd> |
1017 <dd> |
1018 type of the debug client (string) |
1018 type of the debug client (string) |
1019 </dd> |
1019 </dd> |
1020 </dl><a NAME="Shell.mousePressEvent" ID="Shell.mousePressEvent"></a> |
1020 </dl><a NAME="Shell.mousePressEvent" ID="Shell.mousePressEvent"></a> |
1021 <h4>Shell.mousePressEvent</h4> |
1021 <h4>Shell.mousePressEvent</h4> |
1022 <b>mousePressEvent</b>(<i>event</i>) |
1022 <b>mousePressEvent</b>(<i>event</i>) |
1023 <p> |
1023 <p> |
1024 Protected method to handle the mouse press event. |
1024 Protected method to handle the mouse press event. |
1025 </p><dl> |
1025 </p><dl> |
1026 <dt><i>event</i></dt> |
1026 <dt><i>event</i></dt> |
1027 <dd> |
1027 <dd> |
1028 the mouse press event (QMouseEvent) |
1028 the mouse press event (QMouseEvent) |
1029 </dd> |
1029 </dd> |
1030 </dl><a NAME="Shell.paste" ID="Shell.paste"></a> |
1030 </dl><a NAME="Shell.paste" ID="Shell.paste"></a> |
1031 <h4>Shell.paste</h4> |
1031 <h4>Shell.paste</h4> |
1032 <b>paste</b>(<i></i>) |
1032 <b>paste</b>(<i></i>) |
1033 <p> |
1033 <p> |
1034 Reimplemented slot to handle the paste action. |
1034 Reimplemented slot to handle the paste action. |
1035 </p><a NAME="Shell.reloadHistory" ID="Shell.reloadHistory"></a> |
1035 </p><a NAME="Shell.reloadHistory" ID="Shell.reloadHistory"></a> |
1036 <h4>Shell.reloadHistory</h4> |
1036 <h4>Shell.reloadHistory</h4> |
1037 <b>reloadHistory</b>(<i></i>) |
1037 <b>reloadHistory</b>(<i></i>) |
1038 <p> |
1038 <p> |
1039 Public method to reload the history of the currently selected client type. |
1039 Public method to reload the history of the currently selected client type. |
1040 </p><a NAME="Shell.saveHistory" ID="Shell.saveHistory"></a> |
1040 </p><a NAME="Shell.saveHistory" ID="Shell.saveHistory"></a> |
1041 <h4>Shell.saveHistory</h4> |
1041 <h4>Shell.saveHistory</h4> |
1042 <b>saveHistory</b>(<i>clientType</i>) |
1042 <b>saveHistory</b>(<i>clientType</i>) |
1043 <p> |
1043 <p> |
1044 Public method to save the history for the given client type. |
1044 Public method to save the history for the given client type. |
1045 </p><dl> |
1045 </p><dl> |
1046 <dt><i>clientType</i></dt> |
1046 <dt><i>clientType</i></dt> |
1047 <dd> |
1047 <dd> |
1048 type of the debug client (string) |
1048 type of the debug client (string) |
1049 </dd> |
1049 </dd> |
1050 </dl><a NAME="Shell.setDebuggerUI" ID="Shell.setDebuggerUI"></a> |
1050 </dl><a NAME="Shell.setDebuggerUI" ID="Shell.setDebuggerUI"></a> |
1051 <h4>Shell.setDebuggerUI</h4> |
1051 <h4>Shell.setDebuggerUI</h4> |
1052 <b>setDebuggerUI</b>(<i>ui</i>) |
1052 <b>setDebuggerUI</b>(<i>ui</i>) |
1053 <p> |
1053 <p> |
1054 Public method to set the debugger UI. |
1054 Public method to set the debugger UI. |
1055 </p><dl> |
1055 </p><dl> |
1056 <dt><i>ui</i></dt> |
1056 <dt><i>ui</i></dt> |
1057 <dd> |
1057 <dd> |
1058 reference to the debugger UI object (DebugUI) |
1058 reference to the debugger UI object (DebugUI) |
1059 </dd> |
1059 </dd> |
1060 </dl> |
1060 </dl> |
1061 <div align="right"><a href="#top">Up</a></div> |
1061 <div align="right"><a href="#top">Up</a></div> |
1062 <hr /> |
1062 <hr /> |
1063 </body></html> |
1063 </body></html> |